ASO Calculation Script Very Slow!
Hi,
We have an ASO Freeform application and I am trying to calculate prior year retained earnings using the formula template using the following script, but it is taking an excessive amount to complete. Can you please advise on how to optimize?
/* RTPS: */
CustomCalcParameters parameters0 = new CustomCalcParameters()
parameters0.Pov = "Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin(Crossjoin({[No CostCenter]},{[USD]}),{[CurrRpt]}),{Descendants([TotalInputAndAdjusted], [TotalInputAndAdjusted].dimension.Levels(0))}),{[MSCC ERP Entity]}),{[No FunctionalArea]}),{[No Intercompany]}),{[No Location]}),{[Local GAAP]}),{[Apr]}),{[No Project]}),{[Actual]}),{[No TransactionType]}),{[Final]}),{[Periodic]}),{[FY20]})"
parameters0.target = ""
parameters0.creditMember = ""
parameters0.debitMember = ""
parameters0.script = "([Retained Earnings Prior]) := ([Retained Earnings],[Mar],[FY19]);"