How to do a force consolidate in a Business Rule
Hi, Is there a way to perform a force consolidate in a BR? since running a datamgmtsequence isn't working properly for me. Example:
Select Case api.FunctionType
Case Is = FinanceFunctionType.CustomCalculate
'If args.CustomCalculateArgs.FunctionName.XFEqualsIgnoreCase("Test") Then
'api.Data.Calculate("A#Profit = A#Sales - A#Costs")
'End If
brapi.utilities.ExecuteDataMgmtSequence(si, "PLN_Consolidate_AnyScenario", Nothing)
End Select
And with this, the consolidation doesn't run; I'm not sure if I'm missing sending information or something like that.
