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

Error in Groovy Calc calling the Change Planning Unit Status

Accepted answer
14
Views
3
Comments
edited Jun 21, 2021 4:53PM in Planning 3 comments

Content

I am trying to use this command in a groovy calc. I have gotten other direct calls to the REST API to work with this connection.

I have reviewed the help for this command at:

https://docs.oracle.com/en/cloud/saas/enterprise-performance-management-common/prest/change_planning_unit_status.html

Based on the error appears I am having an issue correctly passing the Entity and secondary dimension for the Planning Unit. 9000 is the Entity and 77014 is the Product.

Log messages : 
{"message":"Got null PU for: scenarioName: OEP_Plan versionName: RequestToSpend entityName: null dpMemberName: null","localizedMessage":"Got null PU for: scenarioName: OEP_Plan versionName: RequestToSpend entityName: null dpMemberName: null","detail":"Got null PU for: scenarioName: OEP_Plan versionName: RequestToSpend entityName: null dpMemberName: null","status":400}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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