Forum Discussion
Hi jbrem ,
This allocation step would typically be done by executing a finance rule as part of the planning process.
Depending on the process, it could be done at a push of a button, or at the completion of a specific Worflow step, etc.
This would allow for users to review the allocated data at base level and potentially update it if required (e.g.: the allocation could be done in O#Import and accept manual updates in O#Forms) prior to consolidate.
This type of logic is typically achieved by using an api.data.calculate (often using the multiply unbalance for the driver) or using data buffers in more complex cases. It is also important to ensure that the input data (recorded at UD2 None) uses a separate POV so it does not add up at U2#Top together with the allocated data.
Note: the allocation result should be stored as durable data to ensure it's not cleared during the consolidation.
Hi FredLucas thx for the response. This helped me get things extremely close! Once I got data, I realized I need to have a value in No LOB for any entity that does not have revenue. I'm attempting this with the statement in bold below but I can't get it to validate. Any more wisdom for me? Thx!
- FredLucas15 hours agoContributor III
I believe the problem is here:
valueCheck = api.Data.Calculate("A#LOB_Pct_Rev:u1#Top:U2#LOB")
Api.data.Calculate is a sub i.e.: does not return any value.
You'll probably want to use the api.Data.GetDataCell instead:
valueCheck = api.Data.GetDataCell("A#LOB_Pct_Rev:u1#Top:U2#LOB .... ").CellAmount
Note: Make sure to specify the full POV
Related Content
- 6 months ago
- 7 months ago
- 6 months ago
- 2 years ago
- 7 months ago