Add Sales Assessment Template To Opportunity Through Script (Doc ID 2167369.1)

Last updated on AUGUST 01, 2016

Applies to:

Siebel CRM - Version 15.6 [IP2015] and later
Information in this document applies to any platform.

Symptoms

Opportunity-Assessment View,

Create a Sales Assessment Template T1 in Adminsitration Data - Sales Assessment View,scenario is to add templates as opportunity assessment on click of custom button opportunity header.

Script behind the button,

Get ActiveBO
Get Assessment BC1
BC1 New Record
BC2 = BC1 GetPickListBusComp(TemplateNameField)
BC2 Query with template Name T1
BC2 Pick();
BC1 WriteRecord();

Error Getting @ Pick() line

" This operation is not available for read only field 'Template_Name'.(SBL-DAT-00402)"

BC Sales Assessment having a specialized class "CSSBCAssess", which makes the field read-only after associating it.

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