|
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_DiscountSchemaBreak
public class X_M_DiscountSchemaBreak
Generated Model for M_DiscountSchemaBreak
| 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, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Fields inherited from interface org.compiere.model.I_M_DiscountSchemaBreak |
|---|
accessLevel, COLUMNNAME_BreakDiscount, COLUMNNAME_BreakValue, COLUMNNAME_IsBPartnerFlatDiscount, COLUMNNAME_M_DiscountSchema_ID, COLUMNNAME_M_DiscountSchemaBreak_ID, COLUMNNAME_M_Product_Category_ID, COLUMNNAME_M_Product_ID, COLUMNNAME_SeqNo, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
X_M_DiscountSchemaBreak(Properties ctx,
int M_DiscountSchemaBreak_ID,
String trxName)
Standard Constructor |
|
X_M_DiscountSchemaBreak(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected int |
get_AccessLevel()
AccessLevel |
BigDecimal |
getBreakDiscount()
Get Break Discount %. |
BigDecimal |
getBreakValue()
Get Break Value. |
KeyNamePair |
getKeyNamePair()
Get Record ID/ColumnName |
int |
getM_DiscountSchema_ID()
Get Discount Schema. |
I_M_DiscountSchema |
getM_DiscountSchema()
|
int |
getM_DiscountSchemaBreak_ID()
Get Discount Schema Break. |
int |
getM_Product_Category_ID()
Get Product Category. |
I_M_Product_Category |
getM_Product_Category()
|
int |
getM_Product_ID()
Get Product. |
I_M_Product |
getM_Product()
|
int |
getSeqNo()
Get Sequence. |
protected POInfo |
initPO(Properties ctx)
Load Meta Data |
boolean |
isBPartnerFlatDiscount()
Get B.Partner Flat Discount. |
void |
setBreakDiscount(BigDecimal BreakDiscount)
Set Break Discount %. |
void |
setBreakValue(BigDecimal BreakValue)
Set Break Value. |
void |
setIsBPartnerFlatDiscount(boolean IsBPartnerFlatDiscount)
Set B.Partner Flat Discount. |
void |
setM_DiscountSchema_ID(int M_DiscountSchema_ID)
Set Discount Schema. |
void |
setM_DiscountSchemaBreak_ID(int M_DiscountSchemaBreak_ID)
Set Discount Schema Break. |
void |
setM_Product_Category_ID(int M_Product_Category_ID)
Set Product Category. |
void |
setM_Product_ID(int M_Product_ID)
Set Product. |
void |
setSeqNo(int SeqNo)
Set Sequence. |
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 |
| Constructor Detail |
|---|
public X_M_DiscountSchemaBreak(Properties ctx,
int M_DiscountSchemaBreak_ID,
String trxName)
public X_M_DiscountSchemaBreak(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 setBreakDiscount(BigDecimal BreakDiscount)
setBreakDiscount in interface I_M_DiscountSchemaBreakBreakDiscount - Trade Discount in Percent for the break levelpublic BigDecimal getBreakDiscount()
getBreakDiscount in interface I_M_DiscountSchemaBreakpublic void setBreakValue(BigDecimal BreakValue)
setBreakValue in interface I_M_DiscountSchemaBreakBreakValue - Low Value of trade discount break levelpublic BigDecimal getBreakValue()
getBreakValue in interface I_M_DiscountSchemaBreakpublic void setIsBPartnerFlatDiscount(boolean IsBPartnerFlatDiscount)
setIsBPartnerFlatDiscount in interface I_M_DiscountSchemaBreakIsBPartnerFlatDiscount - Use flat discount defined on Business Partner Levelpublic boolean isBPartnerFlatDiscount()
isBPartnerFlatDiscount in interface I_M_DiscountSchemaBreakpublic void setM_DiscountSchemaBreak_ID(int M_DiscountSchemaBreak_ID)
setM_DiscountSchemaBreak_ID in interface I_M_DiscountSchemaBreakM_DiscountSchemaBreak_ID - Trade Discount Breakpublic int getM_DiscountSchemaBreak_ID()
getM_DiscountSchemaBreak_ID in interface I_M_DiscountSchemaBreak
public I_M_DiscountSchema getM_DiscountSchema()
throws Exception
getM_DiscountSchema in interface I_M_DiscountSchemaBreakExceptionpublic void setM_DiscountSchema_ID(int M_DiscountSchema_ID)
setM_DiscountSchema_ID in interface I_M_DiscountSchemaBreakM_DiscountSchema_ID - Schema to calculate the trade discount percentagepublic int getM_DiscountSchema_ID()
getM_DiscountSchema_ID in interface I_M_DiscountSchemaBreak
public I_M_Product_Category getM_Product_Category()
throws Exception
getM_Product_Category in interface I_M_DiscountSchemaBreakExceptionpublic void setM_Product_Category_ID(int M_Product_Category_ID)
setM_Product_Category_ID in interface I_M_DiscountSchemaBreakM_Product_Category_ID - Category of a Productpublic int getM_Product_Category_ID()
getM_Product_Category_ID in interface I_M_DiscountSchemaBreak
public I_M_Product getM_Product()
throws Exception
getM_Product in interface I_M_DiscountSchemaBreakExceptionpublic void setM_Product_ID(int M_Product_ID)
setM_Product_ID in interface I_M_DiscountSchemaBreakM_Product_ID - Product, Service, Itempublic int getM_Product_ID()
getM_Product_ID in interface I_M_DiscountSchemaBreakpublic void setSeqNo(int SeqNo)
setSeqNo in interface I_M_DiscountSchemaBreakSeqNo - Method of ordering records; lowest number comes firstpublic int getSeqNo()
getSeqNo in interface I_M_DiscountSchemaBreakpublic KeyNamePair getKeyNamePair()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||