Package org.compiere.process
Class ReplenishReportProduction
java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.ReplenishReportProduction
- All Implemented Interfaces:
ProcessCall
Replenishment Report
- Version:
- $Id: ReplenishReport.java,v 1.2 2006/07/30 00:51:01 jjanke Exp $ Carlos Ruiz globalqss - integrate bug fixing from Chris Farley [ 1619517 ] Replenish report fails when no records in m_storage
- Author:
- Jorg Janke
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected StringBufferReturn Infoprotected intOptional BPartnerprotected intDocument Typeprotected intprotected intWarehouseprotected StringCreate (POO)Purchase Order or (POR)Requisition or (MMM)Movement or (PRD)ProductionFields 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 voidcreateDO()Create Distribution Orderprotected voidCreate Inventory Movementsprotected voidcreatePO()Create PO'sprotected voidCreate Productionprotected voidCreate Requisitionprotected StringdoIt()Perform process.protected voidfillTable(MWarehouse wh) Fill Tableprotected X_T_Replenish[]getReplenish(String where) Get Replenish Recordsprotected voidprepare()Prepare - e.g., get Parameters.protected voidPrepare/Check Replenishment TableMethods 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
-
Field Details
-
p_M_Warehouse_ID
protected int p_M_Warehouse_IDWarehouse -
p_C_BPartner_ID
protected int p_C_BPartner_IDOptional BPartner -
p_ReplenishmentCreate
Create (POO)Purchase Order or (POR)Requisition or (MMM)Movement or (PRD)Production -
p_C_DocType_ID
protected int p_C_DocType_IDDocument Type -
m_info
Return Info -
p_M_Product_Category_ID
protected int p_M_Product_Category_ID -
isKanban
-
-
Constructor Details
-
ReplenishReportProduction
public ReplenishReportProduction()
-
-
Method Details
-
prepare
protected void prepare()Prepare - e.g., get Parameters.- Specified by:
preparein classSvrProcess- See Also:
-
doIt
Perform process.- Specified by:
doItin classSvrProcess- Returns:
- Message
- Throws:
Exception- if not successful
-
prepareTable
protected void prepareTable()Prepare/Check Replenishment Table -
fillTable
Fill Table- Parameters:
wh- warehouse- Throws:
Exception
-
createPO
protected void createPO()Create PO's -
createRequisition
protected void createRequisition()Create Requisition -
createMovements
protected void createMovements()Create Inventory Movements -
createDO
Create Distribution Order- Throws:
Exception
-
createProduction
protected void createProduction()Create Production -
getReplenish
Get Replenish Records- Returns:
- replenish
-