The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.

Forum Discussion

ajackett's avatar
ajackett
New Contributor III
1 year ago
Solved

Value from CustomCalc not storing after processing cube - DM Roll Forward Form job

Hi all,  I have developed a process to rollover a form from one period to the next. Specifically prepayments, where the monthly movement is explained for 4 GL accounts using 20ish flows. The user e...
  • Henning's avatar
    1 year ago

    Hi, you need to set the IsDurableData boolean on the api to TRUE, e.g 

    api.Data.Calculate("A#myTargetAccount = A#mySourceAccount", True)

    Otherwise, all calculated data gets cleared each time a normal calculation is executed.

    For sake of completeness, one can also set this setting to FALSE on the scenario. However, I have never seen anyone actually doing this. Market practice is to leave this and use Durable Calculations where necessary.