partial void OnRAssetJournalLineLedgerDimensionCombinationChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
partial void OnDimensionCombinationChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
partial void OnVendorPostingProfileSalesTaxPrepayRoleChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
partial void OnVendorPostingProfileArrivalAccountRoleChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
partial void OnLedgerInterCompanyAccountSourceDebitDimensionChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
partial void OnCustomerPaymentJournalLineSettledInvoiceAccountCombinationChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
partial void OnCustLiabilitiesForDiscountLedgerDimensionCombinationChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
partial void OnCustVATPrepaymentsLedgerDimensionCombinationChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
partial void OnCustWriteOffLedgerDimensionCombinationChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
public static LedgerAccountAlias CreateLedgerAccountAlias(string name, string userInfo, global::Microsoft.Dynamics.DataEntities.DimensionCombination dimensionCombination, global::Microsoft.Dynamics.DataEntities.DimensionAttribute dimensionAttribute) { LedgerAccountAlias ledgerAccountAlias = new LedgerAccountAlias(); ledgerAccountAlias.Name = name; ledgerAccountAlias.UserInfo = userInfo; if ((dimensionCombination == null)) { throw new global::System.ArgumentNullException("dimensionCombination"); } ledgerAccountAlias.DimensionCombination = dimensionCombination; if ((dimensionAttribute == null)) { throw new global::System.ArgumentNullException("dimensionAttribute"); } ledgerAccountAlias.DimensionAttribute = dimensionAttribute; return(ledgerAccountAlias); }
partial void OnLedgerReportingCurrencyAdjustmentJournalLineLedgerDimensionChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
partial void OnExpenseMainAccountIdCombinationChanging(global::Microsoft.Dynamics.DataEntities.DimensionCombination value);
public static TradeAllowanceAgreementMerchandisingEventBillBack CreateTradeAllowanceAgreementMerchandisingEventBillBack(string dataAreaId, string tradeAllowanceAgreementId, string customerAccountNumber, string tradeAllowanceAgreementMerchandisingEventId, string billBackId, int minimumBillBackQuantityQualifyingRebate, decimal minimumBillBackAmountQualifyingRebate, global::Microsoft.Dynamics.DataEntities.DimensionCombination expenseMainAccount, global::Microsoft.Dynamics.DataEntities.DimensionCombination accrualMainAccount, global::Microsoft.Dynamics.DataEntities.TradeAllowanceAgreementMerchandisingEvent tradeAllowanceAgreementMerchandisingEvent) { TradeAllowanceAgreementMerchandisingEventBillBack tradeAllowanceAgreementMerchandisingEventBillBack = new TradeAllowanceAgreementMerchandisingEventBillBack(); tradeAllowanceAgreementMerchandisingEventBillBack.dataAreaId = dataAreaId; tradeAllowanceAgreementMerchandisingEventBillBack.TradeAllowanceAgreementId = tradeAllowanceAgreementId; tradeAllowanceAgreementMerchandisingEventBillBack.CustomerAccountNumber = customerAccountNumber; tradeAllowanceAgreementMerchandisingEventBillBack.TradeAllowanceAgreementMerchandisingEventId = tradeAllowanceAgreementMerchandisingEventId; tradeAllowanceAgreementMerchandisingEventBillBack.BillBackId = billBackId; tradeAllowanceAgreementMerchandisingEventBillBack.MinimumBillBackQuantityQualifyingRebate = minimumBillBackQuantityQualifyingRebate; tradeAllowanceAgreementMerchandisingEventBillBack.MinimumBillBackAmountQualifyingRebate = minimumBillBackAmountQualifyingRebate; if ((expenseMainAccount == null)) { throw new global::System.ArgumentNullException("expenseMainAccount"); } tradeAllowanceAgreementMerchandisingEventBillBack.ExpenseMainAccount = expenseMainAccount; if ((accrualMainAccount == null)) { throw new global::System.ArgumentNullException("accrualMainAccount"); } tradeAllowanceAgreementMerchandisingEventBillBack.AccrualMainAccount = accrualMainAccount; if ((tradeAllowanceAgreementMerchandisingEvent == null)) { throw new global::System.ArgumentNullException("tradeAllowanceAgreementMerchandisingEvent"); } tradeAllowanceAgreementMerchandisingEventBillBack.TradeAllowanceAgreementMerchandisingEvent = tradeAllowanceAgreementMerchandisingEvent; return(tradeAllowanceAgreementMerchandisingEventBillBack); }