Class MProductionLineMA

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_M_ProductionLineMA, I_Persistent, Evaluatee

public class MProductionLineMA extends X_M_ProductionLineMA
See Also:
  • Constructor Details

    • MProductionLineMA

      public MProductionLineMA(Properties ctx, String M_ProductionLineMA_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      M_ProductionLineMA_UU - UUID key
      trxName - Transaction
    • MProductionLineMA

      public MProductionLineMA(Properties ctx, int M_ProductionLineMA_ID, String trxName)
      Parameters:
      ctx -
      M_ProductionLineMA_ID -
      trxName -
    • MProductionLineMA

      public MProductionLineMA(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
    • MProductionLineMA

      public MProductionLineMA(MProductionLine parent, int asi, BigDecimal qty, Timestamp dateMaterialPolicy)
      Parent constructor
      Parameters:
      parent -
      asi -
      qty -
      dateMaterialPolicy -
  • Method Details

    • setDateMaterialPolicy

      public void setDateMaterialPolicy(Timestamp DateMaterialPolicy)
      Description copied from class: X_M_ProductionLineMA
      Set Date Material Policy.
      Specified by:
      setDateMaterialPolicy in interface I_M_ProductionLineMA
      Overrides:
      setDateMaterialPolicy in class X_M_ProductionLineMA
      Parameters:
      DateMaterialPolicy - Time used for LIFO and FIFO Material Policy
    • get

      public static MProductionLineMA get(MProductionLine parent, int asi, Timestamp dateMPolicy)
      Get or create new MProductionLineMA record
      Parameters:
      parent -
      asi -
      dateMPolicy -
      Returns:
      MProductionLineMA
    • get

      public static MProductionLineMA[] get(Properties ctx, int M_ProductionLine_ID, String trxName)
      Get Material Allocations for Line
      Parameters:
      ctx - context
      M_ProductionLine_ID - line
      trxName - trx
      Returns:
      array of MProductionLineMA
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new record
      Returns:
      true if record can be saved