|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocAction
Document Action Interface
| Field Summary | |
|---|---|
static String |
ACTION_Approve
Approve = AP |
static String |
ACTION_Close
Close = CL |
static String |
ACTION_Complete
Complete = CO |
static String |
ACTION_Invalidate
Invalidate = IN |
static String |
ACTION_None
|
static String |
ACTION_Post
Post = PO |
static String |
ACTION_Prepare
Prepare = PR |
static String |
ACTION_ReActivate
ReActivate = RE |
static String |
ACTION_Reject
Reject = RJ |
static String |
ACTION_ReOpen
ReOpen = OP |
static String |
ACTION_Reverse_Accrual
Reverse - Accrual = RA |
static String |
ACTION_Reverse_Correct
Reverse - Correct = RC |
static String |
ACTION_Unlock
Unlock = XL |
static String |
ACTION_Void
Void = VO |
static String |
ACTION_WaitComplete
Wait Complete = WC |
static int |
AD_REFERENCE_ID
DocAction Ref_List values |
static String |
STATUS_Approved
Approved = AP |
static String |
STATUS_Closed
Closed = CL |
static String |
STATUS_Completed
Completed = CO |
static String |
STATUS_Drafted
Drafted = DR |
static String |
STATUS_InProgress
In Progress = IP |
static String |
STATUS_Invalid
Invalid = IN |
static String |
STATUS_NotApproved
Not Approved = NA |
static String |
STATUS_Reversed
Reversed = RE |
static String |
STATUS_Unknown
Unknown = ?? |
static String |
STATUS_Voided
Voided = VO |
static String |
STATUS_WaitingConfirmation
Waiting Confirmation = WC |
static String |
STATUS_WaitingPayment
Waiting Payment = WP |
| Method Summary | |
|---|---|
boolean |
approveIt()
Approve Document |
boolean |
closeIt()
Close Document |
String |
completeIt()
Complete Document |
File |
createPDF()
Create PDF |
int |
get_ID()
Get ID of record |
CLogger |
get_Logger()
Get Logger |
int |
get_Table_ID()
Get AD_Table_ID |
String |
get_TrxName()
Get Transaction |
int |
getAD_Client_ID()
Get Document Client |
int |
getAD_Org_ID()
Get Document Organization |
BigDecimal |
getApprovalAmt()
Get Document Approval Amount |
int |
getC_Currency_ID()
Get Document Currency |
Properties |
getCtx()
Get Context |
int |
getDoc_User_ID()
Get Document Owner |
String |
getDocAction()
Get Doc Action |
String |
getDocStatus()
Get Doc Status |
String |
getDocumentInfo()
Get Document Info |
String |
getDocumentNo()
Get Document No |
String |
getProcessMsg()
Get Process Message |
String |
getSummary()
Get Summary |
boolean |
invalidateIt()
Invalidate Document |
String |
prepareIt()
Prepare Document |
boolean |
processIt(String action)
Process document |
boolean |
reActivateIt()
Re-activate |
boolean |
rejectIt()
Reject Approval |
boolean |
reverseAccrualIt()
Reverse Accrual |
boolean |
reverseCorrectIt()
Reverse Correction |
boolean |
save()
Save Document |
void |
setDocStatus(String newStatus)
Set Doc Status |
boolean |
unlockIt()
Unlock Document. |
boolean |
voidIt()
Void Document |
| Field Detail |
|---|
static final String ACTION_Complete
static final String ACTION_WaitComplete
static final String ACTION_Approve
static final String ACTION_Reject
static final String ACTION_Post
static final String ACTION_Void
static final String ACTION_Close
static final String ACTION_Reverse_Correct
static final String ACTION_Reverse_Accrual
static final String ACTION_ReActivate
static final String ACTION_None
static final String ACTION_Prepare
static final String ACTION_Unlock
static final String ACTION_Invalidate
static final String ACTION_ReOpen
static final String STATUS_Drafted
static final String STATUS_Completed
static final String STATUS_Approved
static final String STATUS_Invalid
static final String STATUS_NotApproved
static final String STATUS_Voided
static final String STATUS_Reversed
static final String STATUS_Closed
static final String STATUS_Unknown
static final String STATUS_InProgress
static final String STATUS_WaitingPayment
static final String STATUS_WaitingConfirmation
static final int AD_REFERENCE_ID
| Method Detail |
|---|
void setDocStatus(String newStatus)
newStatus - new StatusString getDocStatus()
boolean processIt(String action)
throws Exception
action - document action
Exceptionboolean unlockIt()
boolean invalidateIt()
String prepareIt()
boolean approveIt()
boolean rejectIt()
String completeIt()
boolean voidIt()
boolean closeIt()
boolean reverseCorrectIt()
boolean reverseAccrualIt()
boolean reActivateIt()
String getSummary()
String getDocumentNo()
String getDocumentInfo()
File createPDF()
String getProcessMsg()
int getDoc_User_ID()
int getC_Currency_ID()
BigDecimal getApprovalAmt()
int getAD_Client_ID()
int getAD_Org_ID()
String getDocAction()
boolean save()
Properties getCtx()
int get_ID()
int get_Table_ID()
CLogger get_Logger()
String get_TrxName()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||