Class MClientInfo

    • Constructor Detail

      • MClientInfo

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

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

        public MClientInfo​(MClient client,
                           int AD_Tree_Org_ID,
                           int AD_Tree_BPartner_ID,
                           int AD_Tree_Project_ID,
                           int AD_Tree_SalesRegion_ID,
                           int AD_Tree_Product_ID,
                           int AD_Tree_Campaign_ID,
                           int AD_Tree_Activity_ID,
                           String trxName)
        Parent Constructor
        Parameters:
        client - client
        AD_Tree_Org_ID - org tree
        AD_Tree_BPartner_ID - bp tree
        AD_Tree_Project_ID - project tree
        AD_Tree_SalesRegion_ID - sr tree
        AD_Tree_Product_ID - product tree
        AD_Tree_Campaign_ID - campaign tree
        AD_Tree_Activity_ID - activity tree
        trxName - transaction
      • MClientInfo

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

      • get

        public static MClientInfo get​(int AD_Client_ID)
        Get Client Info from cache (immutable)
        Parameters:
        AD_Client_ID - id
        Returns:
        Client Info
      • get

        public static MClientInfo get​(Properties ctx,
                                      int AD_Client_ID)
        Get Client Info from cache (immutable)
        Parameters:
        ctx - context
        AD_Client_ID - id
        Returns:
        Client Info
      • get

        public static MClientInfo get​(Properties ctx,
                                      int AD_Client_ID,
                                      String trxName)
        Get Client Info from cache (immutable)
        Parameters:
        ctx - context
        AD_Client_ID - id
        trxName - optional trx
        Returns:
        Client Info
      • get

        public static MClientInfo get()
        Get optionally cached client
        Returns:
        client
      • get

        public static MClientInfo get​(Properties ctx)
        Get optionally cached client
        Parameters:
        ctx - context
        Returns:
        client
      • getCopy

        public static MClientInfo getCopy​(Properties ctx,
                                          int AD_Client_ID,
                                          String trxName)
        Get updateable copy of MClientInfo from cache
        Parameters:
        ctx -
        AD_Client_ID -
        trxName -
        Returns:
        MClientInfo
      • getMAcctSchema1

        public MAcctSchema getMAcctSchema1()
        Get primary Acct Schema
        Returns:
        acct schema
      • getC_Currency_ID

        public int getC_Currency_ID()
        Get Default Accounting Currency
        Returns:
        currency or 0
      • save

        public boolean save()
        Overwrite Save
        Specified by:
        save in interface I_Persistent
        Overrides:
        save in class PO
        Returns:
        true if saved