Package org.brerp.base.process
Class ImportInOut
java.lang.Object
org.compiere.process.SvrProcess
org.brerp.base.process.ImportInOut
- All Implemented Interfaces:
ProcessCall
Import Shipment/Receipt from I_InOut
- Version:
- $Id: ImportInOut.java,v 1.0 2010/04/23 14:44:15 muriloht Exp $, $Id: ImportInOut.java,v 1.0 2015/02/18 17:37 gabriels Exp $
- Author:
- Murilo H. Torquato, Gabriel S Schneider
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
doIt()
Perform process.protected int
generateASI
(MProduct product, X_I_InOut imp) Generates Attribute Instance from instruction written by the user.getTagValue
(String sTag, Element eElement) Get Tag Value from Node (XML)parseDocument
(String xml) Parse String to Document XML.protected void
prepare()
Prepare - e.g., get Parameters.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
-
Constructor Details
-
ImportInOut
public ImportInOut()
-
-
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:
- clear Message
- Throws:
Exception
-
generateASI
Generates Attribute Instance from instruction written by the user.- Parameters:
product
-imp
-- Returns:
-
parseDocument
Parse String to Document XML.- Parameters:
xml
-- Returns:
- Throws:
Exception
-
getTagValue
Get Tag Value from Node (XML)- Parameters:
sTag
-eElement
-- Returns:
-