|
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_AllocationLine
org.compiere.model.MAllocationLine
public class MAllocationLine
Allocation Line 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 |
| Constructor Summary | |
|---|---|
MAllocationLine(MAllocationHdr parent)
Parent Constructor |
|
MAllocationLine(MAllocationHdr parent,
BigDecimal Amount,
BigDecimal DiscountAmt,
BigDecimal WriteOffAmt,
BigDecimal OverUnderAmt)
Parent Constructor |
|
MAllocationLine(Properties ctx,
int C_AllocationLine_ID,
String trxName)
Standard Constructor |
|
MAllocationLine(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
beforeDelete()
Before Delete |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
Timestamp |
getDateTrx()
Get Parent Trx Date |
MInvoice |
getInvoice()
Get Invoice |
MAllocationHdr |
getParent()
Get Parent |
protected int |
processIt(boolean reverse)
Process Allocation (does not update line) |
void |
setDocInfo(int C_BPartner_ID,
int C_Order_ID,
int C_Invoice_ID)
Set Document Info |
protected void |
setParent(MAllocationHdr parent)
Set Parent |
void |
setPaymentInfo(int C_Payment_ID,
int C_CashLine_ID)
Set Payment Info |
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 MAllocationLine(Properties ctx,
int C_AllocationLine_ID,
String trxName)
ctx - contextC_AllocationLine_ID - idtrxName - name
public MAllocationLine(Properties ctx,
ResultSet rs,
String trxName)
ctx - ctxrs - result settrxName - transactionpublic MAllocationLine(MAllocationHdr parent)
parent - parent
public MAllocationLine(MAllocationHdr parent,
BigDecimal Amount,
BigDecimal DiscountAmt,
BigDecimal WriteOffAmt,
BigDecimal OverUnderAmt)
parent - parentAmount - amountDiscountAmt - optional discountWriteOffAmt - optional write offOverUnderAmt - over/underpayment| Method Detail |
|---|
public MAllocationHdr getParent()
protected void setParent(MAllocationHdr parent)
parent - parentpublic Timestamp getDateTrx()
getDateTrx in interface I_C_AllocationLinegetDateTrx in class X_C_AllocationLine
public void setDocInfo(int C_BPartner_ID,
int C_Order_ID,
int C_Invoice_ID)
C_BPartner_ID - partnerC_Order_ID - orderC_Invoice_ID - invoice
public void setPaymentInfo(int C_Payment_ID,
int C_CashLine_ID)
C_Payment_ID - paymentC_CashLine_ID - cash linepublic MInvoice getInvoice()
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord -
protected boolean beforeDelete()
beforeDelete in class POpublic String toString()
toString in class X_C_AllocationLineprotected int processIt(boolean reverse)
reverse - if true allocation is reversed
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||