Skip to Content
author's profile photo Former Member
Former Member

Rollforward Balance Sheet Account Script Logic

Hello-

I am attempting to write a script that will take the latest value out of the "actual" category for account bs280. The total for this account should be rollforward to every month in the working plan to account 160700. Here is my script, I am getting the error "unknown dimension name in keyword" on line 35.

*SELECT(%WP2%,"[ID]","TIME","[WP]='Y'")

*SELECT(%LTP2%,"[ID]","TIME","[LTP]='Y'")

*LOOKUP FINANCE

*DIM DATASRC = <ALL>

*DIM MEASURES = PERIODIC

*DIM FLOW = <ALL>

*DIM CATEGORY = ACTUAL

*DIM COMPANY = <ALL>

*DIM CCENTER = <ALL>

*DIM TPARTNER = <ALL>

*DIM PCPARTNER = <ALL>

*DIM TIME = %CURRMO%

*DIM PPE1:ACCOUNT = BS280

*ENDLOOKUP

*XDIM_MEMBERSET PCENTER = BAS(F2000)

*XDIM_MEMBERSET ACCOUNT = BAS(FIXEDASSETS_NET)

*XDIM_MEMBERSET CATEGORY = WORKINGPLAN

*XDIM_MEMBERSET MEASURES = PERIODIC

*XDIM_MEMBERSET CCENTER = <ALL>

*XDIM_MEMBERSET DATASRC = INPUT, SYNCCAPEX, ECC, BCF

*XDIM_MEMBERSET PCPARTNER = <ALL>

*XDIM_MEMBERSET TPARTNER = <ALL>

*XDIM_MEMBERSET TIME = %WP2%

*FOR %T%=%WP2%

*WHEN ACCOUNT

*IS 160700

*REC(FACTOR=1*LOOKUP(PPE1),TMVL(1,%T%))

*ENDWHEN

*COMMIT

*NEXT

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 10, 2015 at 08:54 PM

    HI Tom,

    Incorrect syntax in this line:

    *REC(FACTOR=1*LOOKUP(PPE1),TMVL(1,%T%))


    Please read help about REC statement


    Vadim


    P.S. Not sure about the script idea in general - no detailed info provided

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.