Class MCostType

    • Constructor Detail

      • MCostType

        public MCostType​(Properties ctx,
                         int M_CostType_ID,
                         String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        M_CostType_ID - id
        trxName - trx
      • MCostType

        public MCostType​(Properties ctx,
                         ResultSet rs,
                         String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - trx
    • Method Detail

      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new
        Returns:
        true
      • beforeDelete

        protected boolean beforeDelete()
        Before Delete
        Overrides:
        beforeDelete in class PO
        Returns:
        true if it can be deleted