|
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_C_BP_Group
org.compiere.model.MBPGroup
public class MBPGroup
Business Partner Group Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_C_BP_Group |
|---|
M_DISCOUNTSCHEMA_ID_AD_Reference_ID, PO_DISCOUNTSCHEMA_ID_AD_Reference_ID, PO_PRICELIST_ID_AD_Reference_ID, PRIORITYBASE_AD_Reference_ID, PRIORITYBASE_Higher, PRIORITYBASE_Lower, PRIORITYBASE_Same |
| 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 |
| Constructor Summary | |
|---|---|
MBPGroup(Properties ctx,
int C_BP_Group_ID,
String trxName)
Standard Constructor |
|
MBPGroup(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeDelete()
Before Delete |
protected boolean |
beforeSave(boolean newRecord)
Called before Save for Pre-Save Operation |
static MBPGroup |
get(Properties ctx,
int C_BP_Group_ID)
Get MBPGroup from Cache |
BigDecimal |
getCreditWatchPercent()
Get Credit Watch Percent |
BigDecimal |
getCreditWatchRatio()
Get Credit Watch Ratio |
static MBPGroup |
getDefault(Properties ctx)
Get Default MBPGroup |
static MBPGroup |
getOfBPartner(Properties ctx,
int C_BPartner_ID)
Get MBPGroup from Business Partner |
| 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 MBPGroup(Properties ctx,
int C_BP_Group_ID,
String trxName)
ctx - contextC_BP_Group_ID - idtrxName - transaction
public MBPGroup(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MBPGroup get(Properties ctx,
int C_BP_Group_ID)
ctx - contextC_BP_Group_ID - id
public static MBPGroup getDefault(Properties ctx)
ctx - context
public static MBPGroup getOfBPartner(Properties ctx,
int C_BPartner_ID)
ctx - contextC_BPartner_ID - business partner id
public BigDecimal getCreditWatchPercent()
getCreditWatchPercent in interface I_C_BP_GroupgetCreditWatchPercent in class X_C_BP_Grouppublic BigDecimal getCreditWatchRatio()
protected boolean beforeSave(boolean newRecord)
PO
beforeSave in class POnewRecord - new record
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - new recordsuccess - success
protected boolean beforeDelete()
beforeDelete in class PO
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||