Package org.compiere.process
Class ImportInventory
java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.ImportInventory
- All Implemented Interfaces:
ImportProcess
,ProcessCall
Import Physical Inventory from I_Inventory
- Version:
- $Id: ImportInventory.java,v 1.2 2006/07/30 00:51:01 jjanke Exp $ Contributor: Carlos Ruiz - globalqss - IDEMPIERE-281 Extend Import Inventory to support also internal use Deepak Pansheriya - logilite - IDEMPIERE-2314 Making import inventory process extendible
- Author:
- Jorg Janke
-
Field Summary
Fields inherited from class org.compiere.process.SvrProcess
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound, PROCESS_INFO_CTX_KEY, PROCESS_UI_CTX_KEY, processUI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
doIt()
Perform process.protected int
generateASI
(MProduct product, X_I_Inventory imp) protected void
prepare()
Prepare - e.g., get Parameters.protected void
updateCosting
(X_I_Inventory imp, MProduct product, MInventoryLine line) Methods inherited from class org.compiere.process.SvrProcess
addBufferLog, addLog, addLog, addLog, commit, commitEx, doIt, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getRecord_IDs, getRecord_UU, getRecord_UUs, getTable_ID, isLocked, lockObject, postProcess, rollback, saveProgress, saveStatus, setProcessUI, startProcess, statusUpdate, unlockObject, updateProgress
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.adempiere.process.ImportProcess
get_TrxName, getCtx, getProcessInfo
-
Constructor Details
-
ImportInventory
public ImportInventory()
-
-
Method Details
-
prepare
protected void prepare()Prepare - e.g., get Parameters.- Specified by:
prepare
in classSvrProcess
-
doIt
Perform process.- Specified by:
doIt
in classSvrProcess
- Returns:
- Message
- Throws:
Exception
-
generateASI
-
updateCosting
-
getImportTableName
- Specified by:
getImportTableName
in interfaceImportProcess
- Returns:
- The Name of Import Table (e.g. I_BPartner)
-
getWhereClause
- Specified by:
getWhereClause
in interfaceImportProcess
- Returns:
- SQL WHERE clause to filter records that are candidates for import
-