|
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_AllocationHdr
org.compiere.model.MAllocationHdr
public final class MAllocationHdr
Payment Allocation Model. Allocation Trigger update C_BPartner
| 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 |
| Fields inherited from interface org.compiere.model.I_C_AllocationHdr |
|---|
accessLevel, COLUMNNAME_ApprovalAmt, COLUMNNAME_C_AllocationHdr_ID, COLUMNNAME_C_Currency_ID, COLUMNNAME_DateAcct, COLUMNNAME_DateTrx, COLUMNNAME_Description, COLUMNNAME_DocAction, COLUMNNAME_DocStatus, COLUMNNAME_DocumentNo, COLUMNNAME_IsApproved, COLUMNNAME_IsManual, COLUMNNAME_Posted, COLUMNNAME_Processed, COLUMNNAME_Processing, Model, Table_ID, Table_Name |
| Constructor Summary | |
|---|---|
MAllocationHdr(Properties ctx,
boolean IsManual,
Timestamp DateTrx,
int C_Currency_ID,
String description,
String trxName)
Mandatory New Constructor |
|
MAllocationHdr(Properties ctx,
int C_AllocationHdr_ID,
String trxName)
Standard Constructor |
|
MAllocationHdr(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
protected boolean |
afterSave(boolean newRecord,
boolean success)
After Save |
boolean |
approveIt()
Approve Document |
protected boolean |
beforeDelete()
Before Delete. |
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 |
int |
getDoc_User_ID()
Get Document Owner (Responsible) |
String |
getDocumentInfo()
Get Document Info |
MAllocationLine[] |
getLines(boolean requery)
Get Lines |
static MAllocationHdr[] |
getOfCash(Properties ctx,
int C_Cash_ID,
String trxName)
Get Allocations of Cash |
static MAllocationHdr[] |
getOfInvoice(Properties ctx,
int C_Invoice_ID,
String trxName)
Get Allocations of Invoice |
static MAllocationHdr[] |
getOfPayment(Properties ctx,
int C_Payment_ID,
String trxName)
Get Allocations of Payment |
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 |
String |
toString()
String Representation |
boolean |
unlockIt()
Unlock Document. |
boolean |
voidIt()
Void Document. |
| Methods inherited from class org.compiere.model.X_C_AllocationHdr |
|---|
get_AccessLevel, getApprovalAmt, getC_AllocationHdr_ID, getC_Currency_ID, getC_Currency, getDateAcct, getDateTrx, getDescription, getDocAction, getDocStatus, getDocumentNo, getKeyNamePair, initPO, isApproved, isManual, isPosted, isProcessed, isProcessing, setApprovalAmt, setC_AllocationHdr_ID, setC_Currency_ID, setDateAcct, setDateTrx, setDescription, setDocAction, setDocStatus, setDocumentNo, setIsApproved, setIsManual, setPosted, setProcessing |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, 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, getApprovalAmt, getC_Currency_ID, getCtx, getDocAction, getDocStatus, getDocumentNo, save, setDocStatus |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MAllocationHdr(Properties ctx,
int C_AllocationHdr_ID,
String trxName)
ctx - contextC_AllocationHdr_ID - idtrxName - transaction
public MAllocationHdr(Properties ctx,
boolean IsManual,
Timestamp DateTrx,
int C_Currency_ID,
String description,
String trxName)
ctx - contextIsManual - manual trxDateTrx - date (if null today)C_Currency_ID - currencydescription - descriptiontrxName - transaction
public MAllocationHdr(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public static MAllocationHdr[] getOfPayment(Properties ctx,
int C_Payment_ID,
String trxName)
ctx - contextC_Payment_ID - paymenttrxName - transaction
public static MAllocationHdr[] getOfInvoice(Properties ctx,
int C_Invoice_ID,
String trxName)
ctx - contextC_Invoice_ID - paymenttrxName - transaction
public static MAllocationHdr[] getOfCash(Properties ctx,
int C_Cash_ID,
String trxName)
ctx - contextC_Cash_ID - Cash IDtrxName - transaction
public MAllocationLine[] getLines(boolean requery)
requery - if true requery
public void setProcessed(boolean processed)
setProcessed in interface I_C_AllocationHdrsetProcessed in class X_C_AllocationHdrprocessed - Processedprotected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord -
protected boolean beforeDelete()
beforeDelete in class PO
protected boolean afterSave(boolean newRecord,
boolean success)
afterSave in class POnewRecord - success -
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 String toString()
toString in class X_C_AllocationHdrpublic String getDocumentInfo()
getDocumentInfo in interface DocActionpublic File createPDF()
createPDF in interface DocActionpublic File createPDF(File file)
file - output file
public String getSummary()
getSummary in interface DocActionpublic String getProcessMsg()
getProcessMsg in interface DocActionpublic int getDoc_User_ID()
getDoc_User_ID in interface DocAction
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||