|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.PO
org.compiere.model.X_M_PriceList
org.compiere.model.MPriceList
public class MPriceList
Price List Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_M_PriceList |
|---|
BASEPRICELIST_ID_AD_Reference_ID |
| 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, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Fields inherited from interface org.compiere.model.I_M_PriceList |
|---|
accessLevel, COLUMNNAME_BasePriceList_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_Description, COLUMNNAME_EnforcePriceLimit, COLUMNNAME_IsDefault, COLUMNNAME_IsSOPriceList, COLUMNNAME_IsTaxIncluded, COLUMNNAME_M_PriceList_ID, COLUMNNAME_Name, COLUMNNAME_PricePrecision, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MPriceList(Properties ctx,
int M_PriceList_ID,
String trxName)
Standard Constructor |
|
MPriceList(Properties ctx,
ResultSet rs,
String trxName)
Load Cosntructor |
|
| Method Summary | |
|---|---|
static MPriceList |
get(Properties ctx,
int M_PriceList_ID,
String trxName)
Get Price List (cached) |
static MPriceList |
getDefault(Properties ctx,
boolean IsSOPriceList)
Get Default Price List for Client (cached) |
MPriceListVersion |
getPriceListVersion(Timestamp valid)
Get Price List Version |
static int |
getPricePrecision(Properties ctx,
int M_PriceList_ID)
Get Price Precision |
int |
getPricePrecisionInt()
Get Price Precision as int |
int |
getStandardPrecision()
Get Standard Currency Precision |
static int |
getStandardPrecision(Properties ctx,
int M_PriceList_ID)
Get Standard Currency Precision |
void |
setPricePrecision(int PricePrecision)
Set Price Precision |
| Methods inherited from class org.compiere.model.X_M_PriceList |
|---|
get_AccessLevel, getBasePriceList_ID, getC_Currency_ID, getC_Currency, getDescription, getKeyNamePair, getM_PriceList_ID, getName, getPricePrecision, initPO, isDefault, isEnforcePriceLimit, isSOPriceList, isTaxIncluded, setBasePriceList_ID, setC_Currency_ID, setDescription, setEnforcePriceLimit, setIsDefault, setIsSOPriceList, setIsTaxIncluded, setM_PriceList_ID, setName, setPricePrecision, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MPriceList(Properties ctx,
int M_PriceList_ID,
String trxName)
ctx - contextM_PriceList_ID - idtrxName - transaction
public MPriceList(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MPriceList get(Properties ctx,
int M_PriceList_ID,
String trxName)
ctx - contextM_PriceList_ID - idtrxName - transaction
public static MPriceList getDefault(Properties ctx,
boolean IsSOPriceList)
ctx - contextIsSOPriceList - SO or PO
public static int getStandardPrecision(Properties ctx,
int M_PriceList_ID)
ctx - contextM_PriceList_ID - price list
public static int getPricePrecision(Properties ctx,
int M_PriceList_ID)
ctx - contextM_PriceList_ID - price list
public MPriceListVersion getPriceListVersion(Timestamp valid)
valid - date where PLV must be valid or today if null
public int getStandardPrecision()
public void setPricePrecision(int PricePrecision)
PricePrecision - precisionpublic int getPricePrecisionInt()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||