Class MProductCategoryAcct

    • Constructor Detail

      • MProductCategoryAcct

        public MProductCategoryAcct​(Properties ctx,
                                    int ignored,
                                    String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        ignored - ignored
        trxName -
      • MProductCategoryAcct

        public MProductCategoryAcct​(Properties ctx,
                                    ResultSet rs,
                                    String trxName)
        Load Cosntructor
        Parameters:
        ctx - context
        rs - result set
        trxName - trx
      • MProductCategoryAcct

        public MProductCategoryAcct​(MProductCategoryAcct copy)
        Parameters:
        copy -
    • Method Detail

      • get

        public static MProductCategoryAcct get​(int M_Product_Category_ID,
                                               int C_AcctSchema_ID)
        Get Category Acct
        Parameters:
        M_Product_Category_ID - category
        C_AcctSchema_ID - acct schema
        Returns:
        category acct
      • get

        public static MProductCategoryAcct get​(int M_Product_Category_ID,
                                               int C_AcctSchema_ID,
                                               String trxName)
        Get Category Acct
        Parameters:
        M_Product_Category_ID - category
        C_AcctSchema_ID - acct schema
        trxName - trx
        Returns:
        category acct
      • get

        public static MProductCategoryAcct get​(Properties ctx,
                                               int M_Product_Category_ID,
                                               int C_AcctSchema_ID,
                                               String trxName)
        Get Category Acct from cache (immutable)
        Parameters:
        ctx - context
        M_Product_Category_ID - category
        C_AcctSchema_ID - acct schema
        trxName - trx
        Returns:
        category acct
      • checkCosting

        public void checkCosting()
        Check Costing Setup
      • afterSave

        protected boolean afterSave​(boolean newRecord,
                                    boolean success)
        After Save
        Overrides:
        afterSave in class PO
        Parameters:
        newRecord - new
        success - success
        Returns:
        success