//To Add Budget Control for MainAccountType(Balance Sheet) Other than (Expenses,P&L,Totals) MainAccount in ax 2012
Path-->
AOT\Data Dictionary\Tables\BudgetControlMainAccount\Methods\budgetControlMainAccountTypes
public static Set budgetControlMainAccountTypes()
{
Set mainAccountTypes;
mainAccountTypes = new Set(Types::Enum);
mainAccountTypes.add(DimensionLedgerAccountType::Expense);
mainAccountTypes.add(DimensionLedgerAccountType::ProfitAndLoss);
mainAccountTypes.add(DimensionLedgerAccountType::Total);
//Add your MainAccount Type Code Here - For Calculation of Budget Amount in Automatic Posting rule
return mainAccountTypes;
}
Path-->
AOT\Data Dictionary\Tables\BudgetControlMainAccount\Methods\budgetControlMainAccountTypes
public static Set budgetControlMainAccountTypes()
{
Set mainAccountTypes;
mainAccountTypes = new Set(Types::Enum);
mainAccountTypes.add(DimensionLedgerAccountType::Expense);
mainAccountTypes.add(DimensionLedgerAccountType::ProfitAndLoss);
mainAccountTypes.add(DimensionLedgerAccountType::Total);
//Add your MainAccount Type Code Here - For Calculation of Budget Amount in Automatic Posting rule
return mainAccountTypes;
}
No comments:
Post a Comment