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

Script Logic Error

Hi,

I am working on BPC 7.0 MS. I have few logic scripts which are getting invoked from DM packages. When I am running these packages, it gives me an error telling that

Error in RunLogicAgainstSelection: Object variable or with block variable not set

The other DM packages are working perfectly fine.

Any help?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Sep 04, 2009 at 09:00 AM

    That's means your script logic is wrong.

    Are you able to run other script logic?

    Please check first if you are able to run other logic with the same package if not then your package actualy is wrong.

    Modify script can be wrong when you specified what logic has to be run.

    Regards

    Sorin Radulescu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Sorin,

      I have checked the formula log. The records are getting generated. But after that this error is coming.

      I have the code like following

      *XDIM_MEMBERSET DATASRC = Descendants([Datasrc].[AllInv],99,LEAVES)
      *XDIM_MEMBERSET ACCDETAIL = [F_INV_INP],[F_INV_INP_GRP]
      *XDIM_MEMBERSET ACCOUNT = Descendants([Account].[Inv],99,LEAVES)
      *XDIM_MEMBERSET GROUPS = [LC],[CHF]
      
      *WHEN ACCOUNT.GROUP
      *IS INVREG_DET
      *WHEN DATASRC
      *IS INVHIST
      *REC()
      *ELSE
      *REC(DATASRC=invHist)
      *REC(EXPRESSION=0)
      *ENDWHEN
      *ENDWHEN
      *COMMIT
      
      //Run Default Logic
      *INCLUDE DEFAULT

      Is the code fine?

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.