|
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_CashLine
org.compiere.model.MCashLine
public class MCashLine
Cash Line Model
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_C_CashLine |
|---|
CASHTYPE_AD_Reference_ID, CASHTYPE_BankAccountTransfer, CASHTYPE_Charge, CASHTYPE_Difference, CASHTYPE_GeneralExpense, CASHTYPE_GeneralReceipts, CASHTYPE_Invoice |
| 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 | |
|---|---|
MCashLine(MCash cash)
Parent Cosntructor |
|
MCashLine(Properties ctx,
int C_CashLine_ID,
String trxName)
Standard Constructor |
|
MCashLine(Properties ctx,
ResultSet rs,
String trxName)
Load 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 |
MCashBook |
getCashBook()
Get CashBook |
MInvoice |
getInvoice()
Get Invoice |
MCash |
getParent()
Get Cash (parent) |
Timestamp |
getStatementDate()
Get Statement Date from header |
void |
setInvoice(MInvoice invoice)
Set Invoice - no discount |
void |
setOrder(MOrder order,
String trxName)
Set Order - no discount |
| 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 MCashLine(Properties ctx,
int C_CashLine_ID,
String trxName)
ctx - contextC_CashLine_ID - idtrxName - transaction
public MCashLine(Properties 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
public void setOrder(MOrder order,
String trxName)
order - ordertrxName - transactionpublic Timestamp getStatementDate()
public MCashLine createReversal()
public MCash getParent()
public MCashBook getCashBook()
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 -
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||