Forum Discussion

ajackett's avatar
ajackett
New Contributor III
6 months ago

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
    6 months 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.