|
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_Cash
org.compiere.model.MCash
public class MCash
Cash Journal Model
| Field Summary |
|---|
| 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 | |
|---|---|
MCash(Ctx ctx,
int C_Cash_ID,
String trxName)
Standard Constructor |
|
MCash(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MCash(MCashBook cb,
Timestamp today)
Parent Constructor |
|
| Method Summary | |
|---|---|
boolean |
approveIt()
Approve Document |
protected boolean |
beforeSave(boolean newRecord)
Before Save |
boolean |
closeIt()
Close Document. |
String |
completeIt()
Complete Document |
File |
createPDF()
Create PDF |
File |
createPDF(File file)
Create PDF file |
static MCash |
get(Ctx ctx,
int AD_Org_ID,
Timestamp dateAcct,
int C_Currency_ID,
String trxName)
Get Cash Journal for currency, org and date |
static MCash |
get(Ctx ctx,
int C_CashBook_ID,
Timestamp dateAcct,
String trxName)
Get Cash Journal for CashBook and date |
BigDecimal |
getApprovalAmt()
Get Document Approval Amount |
int |
getC_Currency_ID()
Get Currency |
MCashBook |
getCashBook()
Get Cash Book |
int |
getDoc_User_ID()
Get Document Owner (Responsible) |
String |
getDocumentInfo()
Get Document Info |
String |
getDocumentNo()
Get Document No |
MCashLine[] |
getLines(boolean requery)
Get Lines |
String |
getProcessMsg()
Get Process Message |
String |
getSummary()
Get Summary |
boolean |
invalidateIt()
Invalidate Document |
String |
prepareIt()
Prepare Document |
boolean |
processIt(String processAction)
Process document |
boolean |
reActivateIt()
Re-activate |
boolean |
rejectIt()
Reject Approval |
boolean |
reverseAccrualIt()
Reverse Accrual - none |
boolean |
reverseCorrectIt()
Reverse Correction |
void |
setProcessed(boolean processed)
Set Processed |
void |
setStatementDate(String oldStatementDate,
String newStatementDate,
int windowNo)
Set StatementDate - Callout |
void |
setStatementDate(Timestamp statementDate)
Set Statement Date and Acct Date |
String |
toString()
String Representation |
boolean |
unlockIt()
Unlock Document. |
boolean |
voidIt()
Void Document. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.compiere.process.DocAction |
|---|
get_ID, get_Logger, get_Table_ID, get_TrxName, getAD_Client_ID, getAD_Org_ID, getCtx, getDocAction, getDocStatus, save, setDocStatus |
| Constructor Detail |
|---|
public MCash(Ctx ctx,
int C_Cash_ID,
String trxName)
ctx - contextC_Cash_ID - idtrxName - transaction
public MCash(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction
public MCash(MCashBook cb,
Timestamp today)
cb - cash booktoday - date - if null today| Method Detail |
|---|
public static MCash get(Ctx ctx,
int AD_Org_ID,
Timestamp dateAcct,
int C_Currency_ID,
String trxName)
ctx - contextC_Currency_ID - currencyAD_Org_ID - orgdateAcct - datetrxName - transaction
public static MCash get(Ctx ctx,
int C_CashBook_ID,
Timestamp dateAcct,
String trxName)
ctx - contextC_CashBook_ID - cashbookdateAcct - datetrxName - transaction
public MCashLine[] getLines(boolean requery)
requery - requery
public MCashBook getCashBook()
public String getDocumentNo()
getDocumentNo in interface DocActionpublic String getDocumentInfo()
getDocumentInfo in interface DocActionpublic File createPDF()
createPDF in interface DocActionpublic File createPDF(File file)
file - output file
@UICallout
public void setStatementDate(String oldStatementDate,
String newStatementDate,
int windowNo)
throws Exception
oldStatementDate - oldnewStatementDate - newwindowNo - window no
Exceptionpublic void setStatementDate(Timestamp statementDate)
setStatementDate in class X_C_CashstatementDate - Date of the statementprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord -
public boolean processIt(String processAction)
processIt in interface DocActionprocessAction - document action
public boolean unlockIt()
unlockIt in interface DocActionpublic boolean invalidateIt()
invalidateIt in interface DocActionpublic String prepareIt()
prepareIt in interface DocActionpublic boolean approveIt()
approveIt in interface DocActionpublic boolean rejectIt()
rejectIt in interface DocActionpublic String completeIt()
completeIt in interface DocActionpublic boolean voidIt()
voidIt in interface DocActionpublic boolean closeIt()
closeIt in interface DocActionpublic boolean reverseCorrectIt()
reverseCorrectIt in interface DocActionpublic boolean reverseAccrualIt()
reverseAccrualIt in interface DocActionpublic boolean reActivateIt()
reActivateIt in interface DocActionpublic void setProcessed(boolean processed)
setProcessed in class X_C_Cashprocessed - processedpublic String toString()
toString in class X_C_Cashpublic String getSummary()
getSummary in interface DocActionpublic String getProcessMsg()
getProcessMsg in interface DocActionpublic int getDoc_User_ID()
getDoc_User_ID in interface DocActionpublic BigDecimal getApprovalAmt()
getApprovalAmt in interface DocActionpublic int getC_Currency_ID()
getC_Currency_ID in interface DocAction
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||