Package org.compiere.model
Class X_RV_WarehousePrice
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_RV_WarehousePrice
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_Persistent
,I_RV_WarehousePrice
,Evaluatee
- Direct Known Subclasses:
MWarehousePrice
Generated Model for RV_WarehousePrice
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_RV_WarehousePrice
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_C_UOM_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_IsInstanceAttribute, COLUMNNAME_M_PriceList_Version_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_M_Warehouse_ID, COLUMNNAME_Margin, COLUMNNAME_Name, COLUMNNAME_PriceLimit, COLUMNNAME_PriceList, COLUMNNAME_PriceStd, COLUMNNAME_QtyAvailable, COLUMNNAME_QtyOnHand, COLUMNNAME_QtyOrdered, COLUMNNAME_QtyReserved, COLUMNNAME_SKU, COLUMNNAME_UOMSymbol, COLUMNNAME_UPC, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, COLUMNNAME_WarehouseName, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_RV_WarehousePrice
(Properties ctx, int RV_WarehousePrice_ID, String trxName) Standard ConstructorX_RV_WarehousePrice
(Properties ctx, int RV_WarehousePrice_ID, String trxName, String... virtualColumns) Standard ConstructorX_RV_WarehousePrice
(Properties ctx, String RV_WarehousePrice_UU, String trxName) Standard ConstructorX_RV_WarehousePrice
(Properties ctx, String RV_WarehousePrice_UU, String trxName, String... virtualColumns) Standard ConstructorX_RV_WarehousePrice
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelgetC_UOM()
int
Get UOM.int
Get Price List Version.int
Get Product.int
Get Warehouse.Get Margin %.getName()
Get Name.Get Limit Price.Get List Price.Get Standard Price.Get Available Quantity.Get On Hand Quantity.Get Ordered Quantity.Get Reserved Quantity.getSKU()
Get SKU.Get Symbol.getUPC()
Get UPC/EAN.getValue()
Get Search Key.Get Warehouse.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Instance Attribute.void
setC_UOM_ID
(int C_UOM_ID) Set UOM.void
setIsInstanceAttribute
(boolean IsInstanceAttribute) Set Instance Attribute.void
setM_PriceList_Version_ID
(int M_PriceList_Version_ID) Set Price List Version.void
setM_Product_ID
(int M_Product_ID) Set Product.void
setM_Warehouse_ID
(int M_Warehouse_ID) Set Warehouse.void
setMargin
(BigDecimal Margin) Set Margin %.void
Set Name.void
setPriceLimit
(BigDecimal PriceLimit) Set Limit Price.void
setPriceList
(BigDecimal PriceList) Set List Price.void
setPriceStd
(BigDecimal PriceStd) Set Standard Price.void
setQtyAvailable
(BigDecimal QtyAvailable) Set Available Quantity.void
setQtyOnHand
(BigDecimal QtyOnHand) Set On Hand Quantity.void
setQtyOrdered
(BigDecimal QtyOrdered) Set Ordered Quantity.void
setQtyReserved
(BigDecimal QtyReserved) Set Reserved Quantity.void
Set SKU.void
setUOMSymbol
(String UOMSymbol) Set Symbol.void
Set UPC/EAN.void
Set Search Key.void
setWarehouseName
(String WarehouseName) Set Warehouse.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, toInsertSQL, unlock, update_Tree, validForeignKeys
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods inherited from interface org.compiere.model.I_Persistent
save
Methods inherited from interface org.compiere.model.I_RV_WarehousePrice
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Constructor Details
-
X_RV_WarehousePrice
Standard Constructor -
X_RV_WarehousePrice
public X_RV_WarehousePrice(Properties ctx, int RV_WarehousePrice_ID, String trxName, String... virtualColumns) Standard Constructor -
X_RV_WarehousePrice
Standard Constructor -
X_RV_WarehousePrice
public X_RV_WarehousePrice(Properties ctx, String RV_WarehousePrice_UU, String trxName, String... virtualColumns) Standard Constructor -
X_RV_WarehousePrice
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 3 - Client - Org
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getC_UOM
- Specified by:
getC_UOM
in interfaceI_RV_WarehousePrice
- Throws:
RuntimeException
-
setC_UOM_ID
public void setC_UOM_ID(int C_UOM_ID) Set UOM.- Specified by:
setC_UOM_ID
in interfaceI_RV_WarehousePrice
- Parameters:
C_UOM_ID
- Unit of Measure
-
getC_UOM_ID
public int getC_UOM_ID()Get UOM.- Specified by:
getC_UOM_ID
in interfaceI_RV_WarehousePrice
- Returns:
- Unit of Measure
-
setIsInstanceAttribute
public void setIsInstanceAttribute(boolean IsInstanceAttribute) Set Instance Attribute.- Specified by:
setIsInstanceAttribute
in interfaceI_RV_WarehousePrice
- Parameters:
IsInstanceAttribute
- The product attribute is specific to the instance (like Serial No, Lot or Guarantee Date)
-
isInstanceAttribute
public boolean isInstanceAttribute()Get Instance Attribute.- Specified by:
isInstanceAttribute
in interfaceI_RV_WarehousePrice
- Returns:
- The product attribute is specific to the instance (like Serial No, Lot or Guarantee Date)
-
setMargin
Set Margin %.- Specified by:
setMargin
in interfaceI_RV_WarehousePrice
- Parameters:
Margin
- Margin for a product as a percentage
-
getMargin
Get Margin %.- Specified by:
getMargin
in interfaceI_RV_WarehousePrice
- Returns:
- Margin for a product as a percentage
-
getM_PriceList_Version
- Specified by:
getM_PriceList_Version
in interfaceI_RV_WarehousePrice
- Throws:
RuntimeException
-
setM_PriceList_Version_ID
public void setM_PriceList_Version_ID(int M_PriceList_Version_ID) Set Price List Version.- Specified by:
setM_PriceList_Version_ID
in interfaceI_RV_WarehousePrice
- Parameters:
M_PriceList_Version_ID
- Identifies a unique instance of a Price List
-
getM_PriceList_Version_ID
public int getM_PriceList_Version_ID()Get Price List Version.- Specified by:
getM_PriceList_Version_ID
in interfaceI_RV_WarehousePrice
- Returns:
- Identifies a unique instance of a Price List
-
getM_Product
- Specified by:
getM_Product
in interfaceI_RV_WarehousePrice
- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID) Set Product.- Specified by:
setM_Product_ID
in interfaceI_RV_WarehousePrice
- Parameters:
M_Product_ID
- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()Get Product.- Specified by:
getM_Product_ID
in interfaceI_RV_WarehousePrice
- Returns:
- Product, Service, Item
-
getM_Warehouse
- Specified by:
getM_Warehouse
in interfaceI_RV_WarehousePrice
- Throws:
RuntimeException
-
setM_Warehouse_ID
public void setM_Warehouse_ID(int M_Warehouse_ID) Set Warehouse.- Specified by:
setM_Warehouse_ID
in interfaceI_RV_WarehousePrice
- Parameters:
M_Warehouse_ID
- Storage Warehouse and Service Point
-
getM_Warehouse_ID
public int getM_Warehouse_ID()Get Warehouse.- Specified by:
getM_Warehouse_ID
in interfaceI_RV_WarehousePrice
- Returns:
- Storage Warehouse and Service Point
-
setName
Set Name.- Specified by:
setName
in interfaceI_RV_WarehousePrice
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_RV_WarehousePrice
- Returns:
- Alphanumeric identifier of the entity
-
setPriceLimit
Set Limit Price.- Specified by:
setPriceLimit
in interfaceI_RV_WarehousePrice
- Parameters:
PriceLimit
- Lowest price for a product
-
getPriceLimit
Get Limit Price.- Specified by:
getPriceLimit
in interfaceI_RV_WarehousePrice
- Returns:
- Lowest price for a product
-
setPriceList
Set List Price.- Specified by:
setPriceList
in interfaceI_RV_WarehousePrice
- Parameters:
PriceList
- List Price
-
getPriceList
Get List Price.- Specified by:
getPriceList
in interfaceI_RV_WarehousePrice
- Returns:
- List Price
-
setPriceStd
Set Standard Price.- Specified by:
setPriceStd
in interfaceI_RV_WarehousePrice
- Parameters:
PriceStd
- Standard Price
-
getPriceStd
Get Standard Price.- Specified by:
getPriceStd
in interfaceI_RV_WarehousePrice
- Returns:
- Standard Price
-
setQtyAvailable
Set Available Quantity.- Specified by:
setQtyAvailable
in interfaceI_RV_WarehousePrice
- Parameters:
QtyAvailable
- Available Quantity (On Hand - Reserved)
-
getQtyAvailable
Get Available Quantity.- Specified by:
getQtyAvailable
in interfaceI_RV_WarehousePrice
- Returns:
- Available Quantity (On Hand - Reserved)
-
setQtyOnHand
Set On Hand Quantity.- Specified by:
setQtyOnHand
in interfaceI_RV_WarehousePrice
- Parameters:
QtyOnHand
- On Hand Quantity
-
getQtyOnHand
Get On Hand Quantity.- Specified by:
getQtyOnHand
in interfaceI_RV_WarehousePrice
- Returns:
- On Hand Quantity
-
setQtyOrdered
Set Ordered Quantity.- Specified by:
setQtyOrdered
in interfaceI_RV_WarehousePrice
- Parameters:
QtyOrdered
- Ordered Quantity
-
getQtyOrdered
Get Ordered Quantity.- Specified by:
getQtyOrdered
in interfaceI_RV_WarehousePrice
- Returns:
- Ordered Quantity
-
setQtyReserved
Set Reserved Quantity.- Specified by:
setQtyReserved
in interfaceI_RV_WarehousePrice
- Parameters:
QtyReserved
- Reserved Quantity
-
getQtyReserved
Get Reserved Quantity.- Specified by:
getQtyReserved
in interfaceI_RV_WarehousePrice
- Returns:
- Reserved Quantity
-
setSKU
Set SKU.- Specified by:
setSKU
in interfaceI_RV_WarehousePrice
- Parameters:
SKU
- Stock Keeping Unit
-
getSKU
Get SKU.- Specified by:
getSKU
in interfaceI_RV_WarehousePrice
- Returns:
- Stock Keeping Unit
-
setUOMSymbol
Set Symbol.- Specified by:
setUOMSymbol
in interfaceI_RV_WarehousePrice
- Parameters:
UOMSymbol
- Symbol for a Unit of Measure
-
getUOMSymbol
Get Symbol.- Specified by:
getUOMSymbol
in interfaceI_RV_WarehousePrice
- Returns:
- Symbol for a Unit of Measure
-
setUPC
Set UPC/EAN.- Specified by:
setUPC
in interfaceI_RV_WarehousePrice
- Parameters:
UPC
- Bar Code (Universal Product Code or its superset European Article Number)
-
getUPC
Get UPC/EAN.- Specified by:
getUPC
in interfaceI_RV_WarehousePrice
- Returns:
- Bar Code (Universal Product Code or its superset European Article Number)
-
setValue
Set Search Key.- Specified by:
setValue
in interfaceI_RV_WarehousePrice
- Parameters:
Value
- Search key for the record in the format required - must be unique
-
getValue
Get Search Key.- Specified by:
getValue
in interfaceI_RV_WarehousePrice
- Returns:
- Search key for the record in the format required - must be unique
-
setWarehouseName
Set Warehouse.- Specified by:
setWarehouseName
in interfaceI_RV_WarehousePrice
- Parameters:
WarehouseName
- Warehouse Name
-
getWarehouseName
Get Warehouse.- Specified by:
getWarehouseName
in interfaceI_RV_WarehousePrice
- Returns:
- Warehouse Name
-