Omkareshwar
3 years agoContributor II
Destination Data Units
I am passing 2 Entities in the Data unit for Calculation as Entity is different in both the destinations
So what i was expecting is that it will run as a for each loop with both the entitie...
- 3 years ago
Now I did test it and DM jobs are running the filtered entities in parallel and therefore no order is possible:
- 3 years ago
You can call the custom finance business rule for each entity (in the right order) from an extensibility rule:
BRApi.Finance.Calculate.ExecuteCustomCalculateBusinessRule(si, brName, functionName, nameValuePairs, timeType)
With nameValuePairs you can pass the pov members.
Dim povInfo As New Dictionary(Of String, String) povinfo.Add("Cube", cubeName) povinfo.Add("Scenario", scenarioMemberName) povinfo.Add("Entity", entityMemberName) povinfo.Add("Consolidation", consolidationMemberName) povinfo.Add("Time", timeMemberName) brapi.Finance.Calculate.ExecuteCustomCalculateBusinessRule(si, "Your_BusinessRules", "Your_Function", povinfo, CustomCalculateTimeType.MemberFilter)