|
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_S_TimeExpense
org.compiere.model.MTimeExpense
public class MTimeExpense
Time + Expense 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 | |
|---|---|
MTimeExpense(Properties ctx,
int S_TimeExpense_ID,
String trxName)
Default Constructor |
|
MTimeExpense(Properties ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
| Method Summary | |
|---|---|
void |
addDescription(String description)
Add to Description |
boolean |
approveIt()
Approve Document |
boolean |
closeIt()
Close Document. |
String |
completeIt()
Complete Document |
File |
createPDF()
Create PDF |
File |
createPDF(File file)
Create PDF file |
int |
getC_Currency_ID()
Get Document Currency |
int |
getDoc_User_ID()
Get Document Owner (Responsible) |
String |
getDocumentInfo()
Get Document Info |
MTimeExpenseLine[] |
getLines()
Get Lines Convenience Wrapper |
MTimeExpenseLine[] |
getLines(boolean requery)
Get Lines |
int |
getM_Locator_ID()
Get Default Locator (from Warehouse) |
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. |
boolean |
unlockIt()
Unlock Document. |
boolean |
voidIt()
Void Document. |
| 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, getCtx, getDocAction, getDocStatus, getDocumentNo, save, setDocStatus |
| Methods inherited from interface org.compiere.model.I_Persistent |
|---|
save |
| Constructor Detail |
|---|
public MTimeExpense(Properties ctx,
int S_TimeExpense_ID,
String trxName)
ctx - contextS_TimeExpense_ID - idtrxName - transaction
public MTimeExpense(Properties ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transaction| Method Detail |
|---|
public MTimeExpenseLine[] getLines()
public MTimeExpenseLine[] getLines(boolean requery)
requery - true requeries
public void addDescription(String description)
description - textpublic int getM_Locator_ID()
public void setProcessed(boolean processed)
setProcessed in interface I_S_TimeExpensesetProcessed in class X_S_TimeExpenseprocessed - processedpublic String getDocumentInfo()
getDocumentInfo in interface DocActionpublic File createPDF()
createPDF in interface DocActionpublic File createPDF(File file)
file - output file
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 getSummary()
getSummary in interface DocActionpublic String getProcessMsg()
getProcessMsg in interface DocActionpublic int getDoc_User_ID()
getDoc_User_ID in interface DocActionpublic int getC_Currency_ID()
getC_Currency_ID in interface DocAction
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||