How To Set Default Partner Type (Doc ID 2292238.1)

Last updated on JULY 31, 2017

Applies to:

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

Symptoms

On : 11.1.11.1.0 version, Partner Management

GBN - Unable to set default Partner Type

We are trying to set the default Partner Type to Reseller (Lookup code VAR)

We have tried doing this as a After Insert in Database Object trigger with the following Groovy script:

setAttribute('PartnerType','VAR');

But when we go to create a new Partner and continue to the edit page we are provided with an error messaged as follows (see attached document for screenshot):

"
Exception in expression "PartnerProfilePEO" trigger "DefaultType" : oracle.jbo.ReadOnlyAttrException Attribute PartnerType in view object PartnerProfileOrgPartyPVO cannot be set.
at "PartnerProfilePEO" trigger "DefaultType" line 1

Error
Attribute PartnerType in view object PartnerProfileOrgPartyPVO cannot be set.


ERROR
-----------------------
Exception in expression "PartnerProfilePEO" trigger "DefaultType" : oracle.jbo.ReadOnlyAttrException Attribute PartnerType in view object PartnerProfileOrgPartyPVO cannot be set.
at "PartnerProfilePEO" trigger "DefaultType" line 1

Error
Attribute PartnerType in view object PartnerProfileOrgPartyPVO cannot be set.

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