Class MSalesRegion

    • Constructor Detail

      • MSalesRegion

        public MSalesRegion​(Properties ctx,
                            int C_SalesRegion_ID,
                            String trxName)
        Default Constructor
        Parameters:
        ctx - context
        C_SalesRegion_ID - id
        trxName - transaction
      • MSalesRegion

        public MSalesRegion​(Properties ctx,
                            ResultSet rs,
                            String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MSalesRegion

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

      • get

        public static MSalesRegion get​(int C_SalesRegion_ID)
        Get SalesRegion from Cache (immutable)
        Parameters:
        C_SalesRegion_ID - id
        Returns:
        MSalesRegion
      • get

        public static MSalesRegion get​(Properties ctx,
                                       int C_SalesRegion_ID)
        Get SalesRegion from Cache (immutable)
        Parameters:
        ctx - context
        C_SalesRegion_ID - id
        Returns:
        MSalesRegion
      • afterSave

        protected boolean afterSave​(boolean newRecord,
                                    boolean success)
        After Save. Insert - create tree
        Overrides:
        afterSave in class PO
        Parameters:
        newRecord - insert
        success - save success
        Returns:
        success
      • afterDelete

        protected boolean afterDelete​(boolean success)
        After Delete
        Overrides:
        afterDelete in class PO
        Parameters:
        success -
        Returns:
        deleted