|
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_M_Inventory
org.compiere.model.MInventory
public class MInventory
Physical Inventory 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 | |
|---|---|
MInventory(Ctx ctx,
int M_Inventory_ID,
String trxName)
Standard Constructor |
|
MInventory(Ctx ctx,
ResultSet rs,
String trxName)
Load Constructor |
|
MInventory(MWarehouse wh)
Warehouse Constructor |
|
| Method Summary | |
|---|---|
void |
addDescription(String description)
Add to Description |
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 MInventory |
get(Ctx ctx,
int M_Inventory_ID)
Get Inventory from Cache |
int |
getC_Currency_ID()
Get Document Currency |
int |
getDoc_User_ID()
Get Document Owner (Responsible) |
String |
getDocumentInfo()
Get Document Info |
MInventoryLine[] |
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 |
boolean |
reverseCorrectIt()
Reverse Correction |
void |
setClientOrg(int AD_Client_ID,
int AD_Org_ID)
Overwrite Client/Org - from Import. |
void |
setProcessed(boolean processed)
Set Processed. |
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, getApprovalAmt, getCtx, getDocAction, getDocStatus, getDocumentNo, save, setDocStatus |
| Constructor Detail |
|---|
public MInventory(Ctx ctx,
int M_Inventory_ID,
String trxName)
ctx - contextM_Inventory_ID - idtrxName - transaction
public MInventory(Ctx ctx,
ResultSet rs,
String trxName)
ctx - contextrs - result settrxName - transactionpublic MInventory(MWarehouse wh)
wh - warehouse| Method Detail |
|---|
public static MInventory get(Ctx ctx,
int M_Inventory_ID)
ctx - contextM_Inventory_ID - id
public MInventoryLine[] getLines(boolean requery)
requery - requery
public void addDescription(String description)
description - text
public void setClientOrg(int AD_Client_ID,
int AD_Org_ID)
setClientOrg in class POAD_Client_ID - clientAD_Org_ID - orgpublic String toString()
toString in class X_M_Inventorypublic 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 void setProcessed(boolean processed)
setProcessed in class X_M_Inventoryprocessed - processedpublic 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
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||