|
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_M_RMA
org.compiere.model.MRMA
public class MRMA
RMA 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 | |
|---|---|
MRMA(Properties ctx,
int M_RMA_ID,
String trxName)
Standard Constructor |
|
MRMA(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
void |
addDescription(String description)
Add to Description |
boolean |
approveIt()
Approve Document |
protected boolean |
beforeSave(boolean newRecord)
Before Save Set BPartner, Currency |
boolean |
closeIt()
Close Document. |
String |
completeIt()
Complete Document |
File |
createPDF()
Create PDF |
File |
createPDF(File file)
Create PDF file |
BigDecimal |
getApprovalAmt()
Get Document Approval Amount |
MRMALine[] |
getChargeLines()
Retrieves all the charge lines that is present on the document |
int |
getDoc_User_ID()
Get Document Owner (Responsible) |
String |
getDocumentInfo()
Get Document Info |
MRMALine[] |
getLines(boolean requery)
Get Lines |
MInvoice |
getOriginalInvoice()
Get the original invoice on which the shipment/receipt defined is based upon. |
MOrder |
getOriginalOrder()
Get the original order on which the shipment/receipt defined is based upon. |
String |
getProcessMsg()
Get Process Message |
MInOut |
getShipment()
Get Shipment |
String |
getSummary()
Get Summary |
BigDecimal |
getTotalAmount()
Get the total amount based on the lines |
boolean |
invalidateIt()
Invalidate Document |
boolean |
isTaxIncluded()
Get whether Tax is included (based on the original order) |
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 |
setM_InOut_ID(int M_InOut_ID)
Set M_InOut_ID |
void |
setProcessed(boolean processed)
Set Processed. |
boolean |
unlockIt()
Unlock Document. |
void |
updateAmount()
Updates the amount on the document |
boolean |
voidIt()
Void Document. |
| Methods inherited from class org.compiere.model.X_M_RMA |
|---|
get_AccessLevel, getAmt, getC_BPartner_ID, getC_BPartner, getC_Currency_ID, getC_Currency, getC_DocType_ID, getC_Order_ID, getC_Order, getDescription, getDocAction, getDocStatus, getDocumentNo, getGenerateTo, getHelp, getInOut_ID, getKeyNamePair, getM_RMA_ID, getM_RMAType_ID, getM_RMAType, getName, getSalesRep_ID, initPO, isApproved, isProcessed, isProcessing, isSOTrx, setAmt, setC_BPartner_ID, setC_Currency_ID, setC_DocType_ID, setC_Order_ID, setDescription, setDocAction, setDocStatus, setDocumentNo, setGenerateTo, setHelp, setInOut_ID, setIsApproved, setIsSOTrx, setM_RMA_ID, setM_RMAType_ID, setName, setProcessing, setSalesRep_ID, toString |
| 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, getC_Currency_ID, getCtx, getDocAction, getDocStatus, getDocumentNo, save, setDocStatus |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MRMA(Properties ctx,
int M_RMA_ID,
String trxName)
ctx - contextM_RMA_ID - idtrxName - transaction
public MRMA(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public MRMALine[] getLines(boolean requery)
requery - requery
public MInOut getShipment()
public MOrder getOriginalOrder()
public MInvoice getOriginalInvoice()
public void setM_InOut_ID(int M_InOut_ID)
M_InOut_ID - idpublic String getDocumentInfo()
getDocumentInfo in interface DocActionpublic File createPDF()
createPDF in interface DocActionpublic File createPDF(File file)
file - output file
protected boolean beforeSave(boolean newRecord)
beforeSave in class POnewRecord - new
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 interface I_M_RMAsetProcessed in class X_M_RMAprocessed - processedpublic void addDescription(String description)
description - textpublic BigDecimal getTotalAmount()
public void updateAmount()
public String getSummary()
getSummary in interface DocActionpublic MRMALine[] getChargeLines()
public boolean isTaxIncluded()
public String getProcessMsg()
getProcessMsg in interface DocActionpublic int getDoc_User_ID()
getDoc_User_ID in interface DocActionpublic BigDecimal getApprovalAmt()
getApprovalAmt in interface DocAction
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||