My Oracle Support Banner

Oracle.jbo.ReadOnlyAttrException Attribute Set For IDNumber_c (Doc ID 2456729.1)

Last updated on NOVEMBER 12, 2019

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.13.18.02.0 and later
Information in this document applies to any platform.

Goal

On : 11.13.18.02.0 version, Leads, Sales Campaigns

The function Preorder() used on Leads is not working as expected.

/*def conn=adf.webServices.PreorderLead

try
{
def POST_param =orderId : OrderID_c
def newOpty = conn.POST(POST_param)
println("newOpty"newOpty"newOpty")*/
//this.setAttribute('ERPR_c', 'newopty')
//this.setAttribute('OrderID_c','12333')
this.setAttribute('IDNumber_c', "08401049980")
/*println("Headrs:"+conn.responseHTTPHeaders)
println("Stats:"+conn.statusCode)
}
catch(Exception e)
{
println("Headers:"+conn.responseHTTPHeaders)
println("Status:"+conn.statusCode)
println("Error:"+e)
} */

ERROR
Exception in expression 'MklLeadVO' object function Preorder() : oracle.jbo.ReadOnlyAttrException Attribute set for IDNumber_c in entity leadAM.oracle_apps_marketing_leads_leadService_applicationModule_leadAM.MkLead1 failed at 'MklLeadVO' object function Preorder() line 10
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.