|
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
public class X_M_PriceList
Generated Model for M_PriceList
| Field Summary | |
|---|---|
static int |
BASEPRICELIST_ID_AD_Reference_ID
BasePriceList_ID AD_Reference_ID=166 |
| 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 | |
|---|---|
X_M_PriceList(Properties ctx,
int M_PriceList_ID,
String trxName)
Standard Constructor |
|
X_M_PriceList(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
int |
getBasePriceList_ID()
Get Base Pricelist. |
int |
getC_Currency_ID()
Get Currency. |
I_C_Currency |
getC_Currency()
|
String |
getDescription()
Get Description. |
KeyNamePair |
getKeyNamePair()
Get Record ID/ColumnName |
int |
getM_PriceList_ID()
Get Price List. |
String |
getName()
Get Name. |
BigDecimal |
getPricePrecision()
Get Price Precision. |
protected POInfo |
initPO(Properties ctx)
Load Meta Data |
boolean |
isDefault()
Get Default. |
boolean |
isEnforcePriceLimit()
Get Enforce price limit. |
boolean |
isSOPriceList()
Get Sales Price list. |
boolean |
isTaxIncluded()
Get Price includes Tax. |
void |
setBasePriceList_ID(int BasePriceList_ID)
Set Base Pricelist. |
void |
setC_Currency_ID(int C_Currency_ID)
Set Currency. |
void |
setDescription(String Description)
Set Description. |
void |
setEnforcePriceLimit(boolean EnforcePriceLimit)
Set Enforce price limit. |
void |
setIsDefault(boolean IsDefault)
Set Default. |
void |
setIsSOPriceList(boolean IsSOPriceList)
Set Sales Price list. |
void |
setIsTaxIncluded(boolean IsTaxIncluded)
Set Price includes Tax. |
void |
setM_PriceList_ID(int M_PriceList_ID)
Set Price List. |
void |
setName(String Name)
Set Name. |
void |
setPricePrecision(BigDecimal PricePrecision)
Set Price Precision. |
String |
toString()
String representation |
| 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 |
| Field Detail |
|---|
public static final int BASEPRICELIST_ID_AD_Reference_ID
| Constructor Detail |
|---|
public X_M_PriceList(Properties ctx,
int M_PriceList_ID,
String trxName)
public X_M_PriceList(Properties ctx,
ResultSet rs,
String trxName)
| Method Detail |
|---|
protected int get_AccessLevel()
get_AccessLevel in class POprotected POInfo initPO(Properties ctx)
initPO in class POctx - context
public String toString()
PO
toString in class POpublic void setBasePriceList_ID(int BasePriceList_ID)
setBasePriceList_ID in interface I_M_PriceListBasePriceList_ID - Pricelist to be used, if product not found on this pricelistpublic int getBasePriceList_ID()
getBasePriceList_ID in interface I_M_PriceList
public I_C_Currency getC_Currency()
throws Exception
getC_Currency in interface I_M_PriceListExceptionpublic void setC_Currency_ID(int C_Currency_ID)
setC_Currency_ID in interface I_M_PriceListC_Currency_ID - The Currency for this recordpublic int getC_Currency_ID()
getC_Currency_ID in interface I_M_PriceListpublic void setDescription(String Description)
setDescription in interface I_M_PriceListDescription - Optional short description of the recordpublic String getDescription()
getDescription in interface I_M_PriceListpublic void setEnforcePriceLimit(boolean EnforcePriceLimit)
setEnforcePriceLimit in interface I_M_PriceListEnforcePriceLimit - Do not allow prices below the limit pricepublic boolean isEnforcePriceLimit()
isEnforcePriceLimit in interface I_M_PriceListpublic void setIsDefault(boolean IsDefault)
setIsDefault in interface I_M_PriceListIsDefault - Default valuepublic boolean isDefault()
isDefault in interface I_M_PriceListpublic void setIsSOPriceList(boolean IsSOPriceList)
setIsSOPriceList in interface I_M_PriceListIsSOPriceList - This is a Sales Price Listpublic boolean isSOPriceList()
isSOPriceList in interface I_M_PriceListpublic void setIsTaxIncluded(boolean IsTaxIncluded)
setIsTaxIncluded in interface I_M_PriceListIsTaxIncluded - Tax is included in the pricepublic boolean isTaxIncluded()
isTaxIncluded in interface I_M_PriceListpublic void setM_PriceList_ID(int M_PriceList_ID)
setM_PriceList_ID in interface I_M_PriceListM_PriceList_ID - Unique identifier of a Price Listpublic int getM_PriceList_ID()
getM_PriceList_ID in interface I_M_PriceListpublic void setName(String Name)
setName in interface I_M_PriceListName - Alphanumeric identifier of the entitypublic String getName()
getName in interface I_M_PriceListpublic KeyNamePair getKeyNamePair()
public void setPricePrecision(BigDecimal PricePrecision)
setPricePrecision in interface I_M_PriceListPricePrecision - Precision (number of decimals) for the Pricepublic BigDecimal getPricePrecision()
getPricePrecision in interface I_M_PriceList
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||