Unable to Invoke "price.saveAs" Without Program Parameter Using SDK (Doc ID 2047583.1)

Last updated on AUGUST 08, 2017

Applies to:

Oracle Agile Product Cost Management - Version 9.3.1.1 and later
Information in this document applies to any platform.

Symptoms

Actual Behavior
Unable to invoke "price.saveAs" without Program parameter using SDK

Expected Behavior
Able to invoke "price.saveAs" without Program parameter using SDK

Steps
1. Login to Web Client
2. Create a Price Object: PRICE00001
3. Create a sample code怀as below

4. Run a sample code
-> result:
Error code : 60018
Error message : Invalid parameter.
       at com.agile.api.pc.Session.createError(Session.java:1754)
       at com.agile.api.pc.APIObject.createError(APIObject.java:76)
       at com.agile.api.pc.price.Price.processParameters(Price.java:436)
       at com.agile.api.pc.price.Price.saveAs(Price.java:154)
       at SaveAsPrice9311.main(SaveAsPrice9311.java:46)


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms