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
public class X_RV_WarehousePrice extends PO implements I_RV_WarehousePrice, I_Persistent
Generated Model for RV_WarehousePrice- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
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, 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
Constructors Constructor Description X_RV_WarehousePrice(Properties ctx, int RV_WarehousePrice_ID, String trxName)Standard ConstructorX_RV_WarehousePrice(Properties ctx, ResultSet rs, String trxName)Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intget_AccessLevel()AccessLevelI_C_UOMgetC_UOM()intgetC_UOM_ID()Get UOM.I_M_PriceList_VersiongetM_PriceList_Version()intgetM_PriceList_Version_ID()Get Price List Version.I_M_ProductgetM_Product()intgetM_Product_ID()Get Product.I_M_WarehousegetM_Warehouse()intgetM_Warehouse_ID()Get Warehouse.BigDecimalgetMargin()Get Margin %.StringgetName()Get Name.BigDecimalgetPriceLimit()Get Limit Price.BigDecimalgetPriceList()Get List Price.BigDecimalgetPriceStd()Get Standard Price.BigDecimalgetQtyAvailable()Get Available Quantity.BigDecimalgetQtyOnHand()Get On Hand Quantity.BigDecimalgetQtyOrdered()Get Ordered Quantity.BigDecimalgetQtyReserved()Get Reserved Quantity.StringgetSKU()Get SKU.StringgetUOMSymbol()Get Symbol.StringgetUPC()Get UPC/EAN.StringgetValue()Get Search Key.StringgetWarehouseName()Get Warehouse.protected POInfoinitPO(Properties ctx)Load Meta DatabooleanisInstanceAttribute()Get Instance Attribute.voidsetC_UOM_ID(int C_UOM_ID)Set UOM.voidsetIsInstanceAttribute(boolean IsInstanceAttribute)Set Instance Attribute.voidsetM_PriceList_Version_ID(int M_PriceList_Version_ID)Set Price List Version.voidsetM_Product_ID(int M_Product_ID)Set Product.voidsetM_Warehouse_ID(int M_Warehouse_ID)Set Warehouse.voidsetMargin(BigDecimal Margin)Set Margin %.voidsetName(String Name)Set Name.voidsetPriceLimit(BigDecimal PriceLimit)Set Limit Price.voidsetPriceList(BigDecimal PriceList)Set List Price.voidsetPriceStd(BigDecimal PriceStd)Set Standard Price.voidsetQtyAvailable(BigDecimal QtyAvailable)Set Available Quantity.voidsetQtyOnHand(BigDecimal QtyOnHand)Set On Hand Quantity.voidsetQtyOrdered(BigDecimal QtyOrdered)Set Ordered Quantity.voidsetQtyReserved(BigDecimal QtyReserved)Set Reserved Quantity.voidsetSKU(String SKU)Set SKU.voidsetUOMSymbol(String UOMSymbol)Set Symbol.voidsetUPC(String UPC)Set UPC/EAN.voidsetValue(String Value)Set Search Key.voidsetWarehouseName(String WarehouseName)Set Warehouse.StringtoString()String representation-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, 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_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, 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, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, 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, 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 Detail
-
X_RV_WarehousePrice
public X_RV_WarehousePrice(Properties ctx, int RV_WarehousePrice_ID, String trxName)
Standard Constructor
-
X_RV_WarehousePrice
public X_RV_WarehousePrice(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevelin classPO- Returns:
- 3 - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getC_UOM
public I_C_UOM getC_UOM() throws RuntimeException
- Specified by:
getC_UOMin interfaceI_RV_WarehousePrice- Throws:
RuntimeException
-
setC_UOM_ID
public void setC_UOM_ID(int C_UOM_ID)
Set UOM.- Specified by:
setC_UOM_IDin interfaceI_RV_WarehousePrice- Parameters:
C_UOM_ID- Unit of Measure
-
getC_UOM_ID
public int getC_UOM_ID()
Get UOM.- Specified by:
getC_UOM_IDin interfaceI_RV_WarehousePrice- Returns:
- Unit of Measure
-
setIsInstanceAttribute
public void setIsInstanceAttribute(boolean IsInstanceAttribute)
Set Instance Attribute.- Specified by:
setIsInstanceAttributein 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:
isInstanceAttributein interfaceI_RV_WarehousePrice- Returns:
- The product attribute is specific to the instance (like Serial No, Lot or Guarantee Date)
-
setMargin
public void setMargin(BigDecimal Margin)
Set Margin %.- Specified by:
setMarginin interfaceI_RV_WarehousePrice- Parameters:
Margin- Margin for a product as a percentage
-
getMargin
public BigDecimal getMargin()
Get Margin %.- Specified by:
getMarginin interfaceI_RV_WarehousePrice- Returns:
- Margin for a product as a percentage
-
getM_PriceList_Version
public I_M_PriceList_Version getM_PriceList_Version() throws RuntimeException
- Specified by:
getM_PriceList_Versionin 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_IDin 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_IDin interfaceI_RV_WarehousePrice- Returns:
- Identifies a unique instance of a Price List
-
getM_Product
public I_M_Product getM_Product() throws RuntimeException
- Specified by:
getM_Productin interfaceI_RV_WarehousePrice- Throws:
RuntimeException
-
setM_Product_ID
public void setM_Product_ID(int M_Product_ID)
Set Product.- Specified by:
setM_Product_IDin interfaceI_RV_WarehousePrice- Parameters:
M_Product_ID- Product, Service, Item
-
getM_Product_ID
public int getM_Product_ID()
Get Product.- Specified by:
getM_Product_IDin interfaceI_RV_WarehousePrice- Returns:
- Product, Service, Item
-
getM_Warehouse
public I_M_Warehouse getM_Warehouse() throws RuntimeException
- Specified by:
getM_Warehousein interfaceI_RV_WarehousePrice- Throws:
RuntimeException
-
setM_Warehouse_ID
public void setM_Warehouse_ID(int M_Warehouse_ID)
Set Warehouse.- Specified by:
setM_Warehouse_IDin 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_IDin interfaceI_RV_WarehousePrice- Returns:
- Storage Warehouse and Service Point
-
setName
public void setName(String Name)
Set Name.- Specified by:
setNamein interfaceI_RV_WarehousePrice- Parameters:
Name- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getNamein interfaceI_RV_WarehousePrice- Returns:
- Alphanumeric identifier of the entity
-
setPriceLimit
public void setPriceLimit(BigDecimal PriceLimit)
Set Limit Price.- Specified by:
setPriceLimitin interfaceI_RV_WarehousePrice- Parameters:
PriceLimit- Lowest price for a product
-
getPriceLimit
public BigDecimal getPriceLimit()
Get Limit Price.- Specified by:
getPriceLimitin interfaceI_RV_WarehousePrice- Returns:
- Lowest price for a product
-
setPriceList
public void setPriceList(BigDecimal PriceList)
Set List Price.- Specified by:
setPriceListin interfaceI_RV_WarehousePrice- Parameters:
PriceList- List Price
-
getPriceList
public BigDecimal getPriceList()
Get List Price.- Specified by:
getPriceListin interfaceI_RV_WarehousePrice- Returns:
- List Price
-
setPriceStd
public void setPriceStd(BigDecimal PriceStd)
Set Standard Price.- Specified by:
setPriceStdin interfaceI_RV_WarehousePrice- Parameters:
PriceStd- Standard Price
-
getPriceStd
public BigDecimal getPriceStd()
Get Standard Price.- Specified by:
getPriceStdin interfaceI_RV_WarehousePrice- Returns:
- Standard Price
-
setQtyAvailable
public void setQtyAvailable(BigDecimal QtyAvailable)
Set Available Quantity.- Specified by:
setQtyAvailablein interfaceI_RV_WarehousePrice- Parameters:
QtyAvailable- Available Quantity (On Hand - Reserved)
-
getQtyAvailable
public BigDecimal getQtyAvailable()
Get Available Quantity.- Specified by:
getQtyAvailablein interfaceI_RV_WarehousePrice- Returns:
- Available Quantity (On Hand - Reserved)
-
setQtyOnHand
public void setQtyOnHand(BigDecimal QtyOnHand)
Set On Hand Quantity.- Specified by:
setQtyOnHandin interfaceI_RV_WarehousePrice- Parameters:
QtyOnHand- On Hand Quantity
-
getQtyOnHand
public BigDecimal getQtyOnHand()
Get On Hand Quantity.- Specified by:
getQtyOnHandin interfaceI_RV_WarehousePrice- Returns:
- On Hand Quantity
-
setQtyOrdered
public void setQtyOrdered(BigDecimal QtyOrdered)
Set Ordered Quantity.- Specified by:
setQtyOrderedin interfaceI_RV_WarehousePrice- Parameters:
QtyOrdered- Ordered Quantity
-
getQtyOrdered
public BigDecimal getQtyOrdered()
Get Ordered Quantity.- Specified by:
getQtyOrderedin interfaceI_RV_WarehousePrice- Returns:
- Ordered Quantity
-
setQtyReserved
public void setQtyReserved(BigDecimal QtyReserved)
Set Reserved Quantity.- Specified by:
setQtyReservedin interfaceI_RV_WarehousePrice- Parameters:
QtyReserved- Reserved Quantity
-
getQtyReserved
public BigDecimal getQtyReserved()
Get Reserved Quantity.- Specified by:
getQtyReservedin interfaceI_RV_WarehousePrice- Returns:
- Reserved Quantity
-
setSKU
public void setSKU(String SKU)
Set SKU.- Specified by:
setSKUin interfaceI_RV_WarehousePrice- Parameters:
SKU- Stock Keeping Unit
-
getSKU
public String getSKU()
Get SKU.- Specified by:
getSKUin interfaceI_RV_WarehousePrice- Returns:
- Stock Keeping Unit
-
setUOMSymbol
public void setUOMSymbol(String UOMSymbol)
Set Symbol.- Specified by:
setUOMSymbolin interfaceI_RV_WarehousePrice- Parameters:
UOMSymbol- Symbol for a Unit of Measure
-
getUOMSymbol
public String getUOMSymbol()
Get Symbol.- Specified by:
getUOMSymbolin interfaceI_RV_WarehousePrice- Returns:
- Symbol for a Unit of Measure
-
setUPC
public void setUPC(String UPC)
Set UPC/EAN.- Specified by:
setUPCin interfaceI_RV_WarehousePrice- Parameters:
UPC- Bar Code (Universal Product Code or its superset European Article Number)
-
getUPC
public String getUPC()
Get UPC/EAN.- Specified by:
getUPCin interfaceI_RV_WarehousePrice- Returns:
- Bar Code (Universal Product Code or its superset European Article Number)
-
setValue
public void setValue(String Value)
Set Search Key.- Specified by:
setValuein interfaceI_RV_WarehousePrice- Parameters:
Value- Search key for the record in the format required - must be unique
-
getValue
public String getValue()
Get Search Key.- Specified by:
getValuein interfaceI_RV_WarehousePrice- Returns:
- Search key for the record in the format required - must be unique
-
setWarehouseName
public void setWarehouseName(String WarehouseName)
Set Warehouse.- Specified by:
setWarehouseNamein interfaceI_RV_WarehousePrice- Parameters:
WarehouseName- Warehouse Name
-
getWarehouseName
public String getWarehouseName()
Get Warehouse.- Specified by:
getWarehouseNamein interfaceI_RV_WarehousePrice- Returns:
- Warehouse Name
-
-