You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ASO Calculation Script Very Slow!

Received Response


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.creditMember = ""

parameters0.debitMember = ""

parameters0.script = "([Retained Earnings Prior]) := ([Retained Earnings],[Mar],[FY19]);"

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!