Class ReplenishReportProduction

java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.ReplenishReportProduction
All Implemented Interfaces:
ProcessCall

public class ReplenishReportProduction extends SvrProcess
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 Details

    • p_M_Warehouse_ID

      protected int p_M_Warehouse_ID
      Warehouse
    • p_C_BPartner_ID

      protected int p_C_BPartner_ID
      Optional BPartner
    • p_ReplenishmentCreate

      protected String p_ReplenishmentCreate
      Create (POO)Purchase Order or (POR)Requisition or (MMM)Movement or (PRD)Production
    • p_C_DocType_ID

      protected int p_C_DocType_ID
      Document Type
    • m_info

      protected StringBuffer m_info
      Return Info
    • p_M_Product_Category_ID

      protected int p_M_Product_Category_ID
    • isKanban

      protected String isKanban
  • Constructor Details

    • ReplenishReportProduction

      public ReplenishReportProduction()
  • Method Details

    • prepare

      protected void prepare()
      Prepare - e.g., get Parameters.
      Specified by:
      prepare in class SvrProcess
      See Also:
    • doIt

      protected String doIt() throws Exception
      Perform process.
      Specified by:
      doIt in class SvrProcess
      Returns:
      Message
      Throws:
      Exception - if not successful
    • prepareTable

      protected void prepareTable()
      Prepare/Check Replenishment Table
    • fillTable

      protected void fillTable(MWarehouse wh) throws Exception
      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

      protected void createDO() throws Exception
      Create Distribution Order
      Throws:
      Exception
    • createProduction

      protected void createProduction()
      Create Production
    • getReplenish

      protected X_T_Replenish[] getReplenish(String where)
      Get Replenish Records
      Returns:
      replenish