Hello,
I have a business rule that it is working but I would like to know if is another option to obtain same result with better performance.
I type my rule and I explain that I want to do.
FIX({Year},{Scenario})
"Account1"(
IF (@HspStringCompare(@NAME(@CURRMBR("Scenario")),@NAME("Budget")))
"63000000"->"Entity_NA"="Account2"+"Account3"->"BegBalance");
ELSEIF (@HspStringCompare(@NAME(@CURRMBR("Scenario")),@NAME("Forecast")))
IF(@ISMBR(&FctMonth:"Dec"))
"63000000"->"Entity_NA"="Account2"+"Account3"->"BegBalance");
ENDIF
ENDIF
)
ENDFIX
This BR compare scenario choosed by user with Budget or Forecast. If is Budget, BR has to calc for ALL Periods, if is Forecast only has to calc for range of periods ( FctMonth:Dec)
This BR is working but I don't know if is another instruction to better performance instead of ISMBR (Fct:Dec).
Thanks!