Class MProductionLine

    • Field Detail

      • productionParent

        protected MProduction productionParent
    • Constructor Detail

      • MProductionLine

        public MProductionLine​(Properties ctx,
                               int M_ProductionLine_ID,
                               String trxName)
        Standard Constructor
        Parameters:
        ctx - ctx
        M_ProductionLine_ID - id
      • MProductionLine

        public MProductionLine​(MProduction header)
        Parent Constructor
        Parameters:
        header -
    • Method Detail

      • createTransactions

        public String createTransactions​(Timestamp date,
                                         boolean mustBeStocked)
        Parameters:
        date -
        Returns:
        "" for success, error string if failed
      • getEndProduct_ID

        protected int getEndProduct_ID()
      • deleteMA

        protected int deleteMA()
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class X_M_ProductionLine
        Returns:
        String representation
      • 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
      • beforeDelete

        protected boolean beforeDelete()
        Description copied from class: PO
        Executed before Delete operation.
        Overrides:
        beforeDelete in class PO
        Returns:
        true if record can be deleted
      • getProductionReversalId

        public int getProductionReversalId()
        Get Reversal_ID of parent production
        Returns:
        Reversal_ID