|
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
org.compiere.model.MDiscountSchemaBreak
public class MDiscountSchemaBreak
Discount Break Schema (Model)
| 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 | |
|---|---|
MDiscountSchemaBreak(Properties ctx,
int M_DiscountSchemaBreak_ID,
String trxName)
Standard Constructor |
|
MDiscountSchemaBreak(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
boolean |
applies(BigDecimal Value,
int M_Product_ID,
int M_Product_Category_ID)
Criteria apply |
protected boolean |
beforeSave(boolean newRecord)
Called before Save for Pre-Save Operation |
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 MDiscountSchemaBreak(Properties ctx,
int M_DiscountSchemaBreak_ID,
String trxName)
ctx - contextM_DiscountSchemaBreak_ID - idtrxName - transaction
public MDiscountSchemaBreak(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public boolean applies(BigDecimal Value,
int M_Product_ID,
int M_Product_Category_ID)
Value - amt or qtyM_Product_ID - productM_Product_Category_ID - category
protected boolean beforeSave(boolean newRecord)
PO
beforeSave in class POnewRecord - new record
public String toString()
toString in class X_M_DiscountSchemaBreak
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||