/// <summary> /// Get Distribution for combination /// </summary> /// <param name="acct">account (ValidCombination)</param> /// <param name="PostingType">only posting type</param> /// <param name="C_DocType_ID">only document type</param> /// <returns>array of distributions</returns> public static MDistribution[] Get(MAccount acct, String PostingType, int C_DocType_ID) { return(Get(acct.GetCtx(), acct.GetC_AcctSchema_ID(), PostingType, C_DocType_ID, acct.GetAD_Org_ID(), acct.GetAccount_ID(), acct.GetM_Product_ID(), acct.GetC_BPartner_ID(), acct.GetC_Project_ID(), acct.GetC_Campaign_ID(), acct.GetC_Activity_ID(), acct.GetAD_OrgTrx_ID(), acct.GetC_SalesRegion_ID(), acct.GetC_LocTo_ID(), acct.GetC_LocFrom_ID(), acct.GetUser1_ID(), acct.GetUser2_ID())); } // get