|
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_CashLine
org.compiere.model.MCashLine
public class MCashLine
Cash Line Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_C_CashLine |
|---|
accessLevel, CASHTYPE_AD_Reference_ID, CASHTYPE_BankAccountTransfer, CASHTYPE_Charge, CASHTYPE_Difference, CASHTYPE_GeneralExpense, CASHTYPE_GeneralReceipts, CASHTYPE_Invoice, Model, 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 | |
|---|---|
MCashLine(Ctx ctx,
int C_CashLine_ID,
String trxName)
Standard Constructor |
|
MCashLine(Ctx ctx,
ResultSet rs,
String trxName)
Load Cosntructor |
|
MCashLine(MCash cash)
Parent Cosntructor |
|
| Method Summary | |
|---|---|
void |
addDescription(String description)
Add to Description |
protected boolean |
afterDelete(boolean success)
After Delete |
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
protected boolean |
beforeDelete()
Before Delete |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
MCashLine |
createReversal()
Create Line Reversal |
MBankAccount |
getBankAccount()
Get Bank Account |
int |
getC_CashBook_ID()
Get CashBook |
MCashBook |
getCashBook()
Get CashBook |
MInvoice |
getInvoice()
Get Invoice |
MCash |
getParent()
Get Cash (parent) |
Timestamp |
getStatementDate()
Get Statement Date from header |
void |
setAmount(String oldAmount,
String newAmount,
int windowNo)
Set Amount - Callout |
void |
setC_Invoice_ID(String oldC_Invoice_ID,
String newC_Invoice_ID,
int windowNo)
Set Invoice - Callout |
void |
setDiscountAmt(String oldDiscountAmt,
String newDiscountAmt,
int windowNo)
Set DiscountAmt - Callout |
void |
setInvoice(MInvoice invoice)
Set Invoice - no discount |
void |
setOrder(MOrder order,
String trxName)
Set Order - no discount |
void |
setWriteOffAmt(String oldWriteOffAmt,
String newWriteOffAmt,
int windowNo)
Set WriteOffAmt - Callout |
String |
toString()
String Representation |
| Methods inherited from class org.compiere.model.X_C_CashLine |
|---|
get_AccessLevel, getAmount, getC_BankAccount_ID, getC_Cash_ID, getC_CashLine_ID, getC_Charge_ID, getC_Currency_ID, getC_Invoice_ID, getCashType, getDescription, getDiscountAmt, getKeyNamePair, getLine, getWriteOffAmt, initPO, isCashTypeValid, isGenerated, isProcessed, setAmount, setC_BankAccount_ID, setC_Cash_ID, setC_CashLine_ID, setC_Charge_ID, setC_Currency_ID, setC_Invoice_ID, setCashType, setDescription, setDiscountAmt, setIsGenerated, setLine, setProcessed, setWriteOffAmt |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MCashLine(Ctx ctx,
int C_CashLine_ID,
String trxName)
ctx - contextC_CashLine_ID - idtrxName - transaction
public MCashLine(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MCashLine(MCash cash)
cash - parent| Method Detail |
|---|
public void addDescription(String description)
description - textpublic void setInvoice(MInvoice invoice)
invoice - invoice
@UICallout
public void setC_Invoice_ID(String oldC_Invoice_ID,
String newC_Invoice_ID,
int windowNo)
throws Exception
oldC_Invoice_ID - old BPnewC_Invoice_ID - new BPwindowNo - window no
Exception
public void setOrder(MOrder order,
String trxName)
order - ordertrxName - transaction
@UICallout
public void setAmount(String oldAmount,
String newAmount,
int windowNo)
throws Exception
oldAmount - old valuenewAmount - new valuewindowNo - window
Exception
@UICallout
public void setWriteOffAmt(String oldWriteOffAmt,
String newWriteOffAmt,
int windowNo)
throws Exception
oldWriteOffAmt - old valuenewWriteOffAmt - new valuewindowNo - window
Exception
@UICallout
public void setDiscountAmt(String oldDiscountAmt,
String newDiscountAmt,
int windowNo)
throws Exception
oldDiscountAmt - old valuenewDiscountAmt - new valuewindowNo - window
Exceptionpublic Timestamp getStatementDate()
public MCashLine createReversal()
public MCash getParent()
public MCashBook getCashBook()
public int getC_CashBook_ID()
public MBankAccount getBankAccount()
public MInvoice getInvoice()
protected boolean beforeDelete()
beforeDelete in class POprotected boolean afterDelete(boolean success)
afterDelete in class POsuccess -
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord -
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - success -
public String toString()
toString in class X_C_CashLine
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||