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
Modifier and TypeFieldDescriptionprotected String
protected StringBuffer
Return Infoprotected int
Optional BPartnerprotected int
Document Typeprotected int
protected int
Warehouseprotected String
Create (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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createDO()
Create Distribution Orderprotected void
Create Inventory Movementsprotected void
createPO()
Create PO'sprotected void
Create Productionprotected void
Create Requisitionprotected String
doIt()
Perform process.protected void
fillTable
(MWarehouse wh) Fill Tableprotected X_T_Replenish[]
getReplenish
(String where) Get Replenish Recordsprotected void
prepare()
Prepare - e.g., get Parameters.protected void
Prepare/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:
prepare
in classSvrProcess
- See Also:
-
doIt
Perform process.- Specified by:
doIt
in 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
-