|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_C_PaymentTerm
org.compiere.model.MPaymentTerm
public class MPaymentTerm
Payment Term Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_C_PaymentTerm |
|---|
accessLevel, Model, NETDAY_AD_Reference_ID, NETDAY_Friday, NETDAY_Monday, NETDAY_Saturday, NETDAY_Sunday, NETDAY_Thursday, NETDAY_Tuesday, NETDAY_Wednesday, Table_ID, Table_Name, updatedMS |
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MPaymentTerm(Ctx ctx,
int C_PaymentTerm_ID,
String trxName)
Standard Constructor |
|
MPaymentTerm(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
boolean |
apply(int C_Invoice_ID)
Apply Payment Term to Invoice - |
boolean |
apply(MInvoice invoice)
Apply Payment Term to Invoice |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
MPaySchedule[] |
getSchedule(boolean requery)
Get Payment Schedule |
String |
toString()
String Representation |
String |
validate()
Validate Payment Term & Schedule |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MPaymentTerm(Ctx ctx,
int C_PaymentTerm_ID,
String trxName)
ctx - contextC_PaymentTerm_ID - idtrxName - transaction
public MPaymentTerm(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public MPaySchedule[] getSchedule(boolean requery)
requery - if true re-query
public String validate()
public boolean apply(int C_Invoice_ID)
C_Invoice_ID - invoice
public boolean apply(MInvoice invoice)
invoice - invoice
public String toString()
toString in class X_C_PaymentTermprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||