In ax 2012 we may have many sitiuations where we need to disable one financial dimension or some or all of the dimension.
normal way we need to write some code here and there.
simplest way is to change just a condtion in the Custtable form and it will disable all the dimension.
Custtable>>init method(form)
normal code is :
dimensionDefaultingController = DimensionDefaultingController::constructInTabWithValues(true, true, true, 0, this, tabFinancialDimensions, "@SYS138487");
change it to:
dimensionDefaultingController = DimensionDefaultingController::constructInTabWithValues(true, true, false, 0, this, tabFinancialDimensions, "@SYS138487");
now all the financial dimensions will be disabled.
normal way we need to write some code here and there.
simplest way is to change just a condtion in the Custtable form and it will disable all the dimension.
Custtable>>init method(form)
normal code is :
dimensionDefaultingController = DimensionDefaultingController::constructInTabWithValues(true, true, true, 0, this, tabFinancialDimensions, "@SYS138487");
change it to:
dimensionDefaultingController = DimensionDefaultingController::constructInTabWithValues(true, true, false, 0, this, tabFinancialDimensions, "@SYS138487");
now all the financial dimensions will be disabled.
No comments:
Post a Comment