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 int
get_AccessLevel()
AccessLevelI_C_UOM
getC_UOM()
int
getC_UOM_ID()
Get UOM.I_M_PriceList_Version
getM_PriceList_Version()
int
getM_PriceList_Version_ID()
Get Price List Version.I_M_Product
getM_Product()
int
getM_Product_ID()
Get Product.I_M_Warehouse
getM_Warehouse()
int
getM_Warehouse_ID()
Get Warehouse.BigDecimal
getMargin()
Get Margin %.String
getName()
Get Name.BigDecimal
getPriceLimit()
Get Limit Price.BigDecimal
getPriceList()
Get List Price.BigDecimal
getPriceStd()
Get Standard Price.BigDecimal
getQtyAvailable()
Get Available Quantity.BigDecimal
getQtyOnHand()
Get On Hand Quantity.BigDecimal
getQtyOrdered()
Get Ordered Quantity.BigDecimal
getQtyReserved()
Get Reserved Quantity.String
getSKU()
Get SKU.String
getUOMSymbol()
Get Symbol.String
getUPC()
Get UPC/EAN.String
getValue()
Get Search Key.String
getWarehouseName()
Get Warehouse.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isInstanceAttribute()
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
setName(String Name)
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
setSKU(String SKU)
Set SKU.void
setUOMSymbol(String UOMSymbol)
Set Symbol.void
setUPC(String UPC)
Set UPC/EAN.void
setValue(String Value)
Set Search Key.void
setWarehouseName(String WarehouseName)
Set Warehouse.String
toString()
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_AccessLevel
in 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_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
public void setMargin(BigDecimal Margin)
Set Margin %.- Specified by:
setMargin
in interfaceI_RV_WarehousePrice
- Parameters:
Margin
- Margin for a product as a percentage
-
getMargin
public BigDecimal getMargin()
Get Margin %.- Specified by:
getMargin
in 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_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
public I_M_Product getM_Product() throws RuntimeException
- 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
public I_M_Warehouse getM_Warehouse() throws RuntimeException
- 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
public void setName(String Name)
Set Name.- Specified by:
setName
in interfaceI_RV_WarehousePrice
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
public String getName()
Get Name.- Specified by:
getName
in interfaceI_RV_WarehousePrice
- Returns:
- Alphanumeric identifier of the entity
-
setPriceLimit
public void setPriceLimit(BigDecimal PriceLimit)
Set Limit Price.- Specified by:
setPriceLimit
in interfaceI_RV_WarehousePrice
- Parameters:
PriceLimit
- Lowest price for a product
-
getPriceLimit
public BigDecimal getPriceLimit()
Get Limit Price.- Specified by:
getPriceLimit
in interfaceI_RV_WarehousePrice
- Returns:
- Lowest price for a product
-
setPriceList
public void setPriceList(BigDecimal PriceList)
Set List Price.- Specified by:
setPriceList
in interfaceI_RV_WarehousePrice
- Parameters:
PriceList
- List Price
-
getPriceList
public BigDecimal getPriceList()
Get List Price.- Specified by:
getPriceList
in interfaceI_RV_WarehousePrice
- Returns:
- List Price
-
setPriceStd
public void setPriceStd(BigDecimal PriceStd)
Set Standard Price.- Specified by:
setPriceStd
in interfaceI_RV_WarehousePrice
- Parameters:
PriceStd
- Standard Price
-
getPriceStd
public BigDecimal getPriceStd()
Get Standard Price.- Specified by:
getPriceStd
in interfaceI_RV_WarehousePrice
- Returns:
- Standard Price
-
setQtyAvailable
public void setQtyAvailable(BigDecimal QtyAvailable)
Set Available Quantity.- Specified by:
setQtyAvailable
in interfaceI_RV_WarehousePrice
- Parameters:
QtyAvailable
- Available Quantity (On Hand - Reserved)
-
getQtyAvailable
public BigDecimal getQtyAvailable()
Get Available Quantity.- Specified by:
getQtyAvailable
in interfaceI_RV_WarehousePrice
- Returns:
- Available Quantity (On Hand - Reserved)
-
setQtyOnHand
public void setQtyOnHand(BigDecimal QtyOnHand)
Set On Hand Quantity.- Specified by:
setQtyOnHand
in interfaceI_RV_WarehousePrice
- Parameters:
QtyOnHand
- On Hand Quantity
-
getQtyOnHand
public BigDecimal getQtyOnHand()
Get On Hand Quantity.- Specified by:
getQtyOnHand
in interfaceI_RV_WarehousePrice
- Returns:
- On Hand Quantity
-
setQtyOrdered
public void setQtyOrdered(BigDecimal QtyOrdered)
Set Ordered Quantity.- Specified by:
setQtyOrdered
in interfaceI_RV_WarehousePrice
- Parameters:
QtyOrdered
- Ordered Quantity
-
getQtyOrdered
public BigDecimal getQtyOrdered()
Get Ordered Quantity.- Specified by:
getQtyOrdered
in interfaceI_RV_WarehousePrice
- Returns:
- Ordered Quantity
-
setQtyReserved
public void setQtyReserved(BigDecimal QtyReserved)
Set Reserved Quantity.- Specified by:
setQtyReserved
in interfaceI_RV_WarehousePrice
- Parameters:
QtyReserved
- Reserved Quantity
-
getQtyReserved
public BigDecimal getQtyReserved()
Get Reserved Quantity.- Specified by:
getQtyReserved
in interfaceI_RV_WarehousePrice
- Returns:
- Reserved Quantity
-
setSKU
public void setSKU(String SKU)
Set SKU.- Specified by:
setSKU
in interfaceI_RV_WarehousePrice
- Parameters:
SKU
- Stock Keeping Unit
-
getSKU
public String getSKU()
Get SKU.- Specified by:
getSKU
in interfaceI_RV_WarehousePrice
- Returns:
- Stock Keeping Unit
-
setUOMSymbol
public void setUOMSymbol(String UOMSymbol)
Set Symbol.- Specified by:
setUOMSymbol
in interfaceI_RV_WarehousePrice
- Parameters:
UOMSymbol
- Symbol for a Unit of Measure
-
getUOMSymbol
public String getUOMSymbol()
Get Symbol.- Specified by:
getUOMSymbol
in interfaceI_RV_WarehousePrice
- Returns:
- Symbol for a Unit of Measure
-
setUPC
public void setUPC(String UPC)
Set UPC/EAN.- Specified by:
setUPC
in 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:
getUPC
in 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:
setValue
in 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:
getValue
in 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:
setWarehouseName
in interfaceI_RV_WarehousePrice
- Parameters:
WarehouseName
- Warehouse Name
-
getWarehouseName
public String getWarehouseName()
Get Warehouse.- Specified by:
getWarehouseName
in interfaceI_RV_WarehousePrice
- Returns:
- Warehouse Name
-
-