Unable To Create New Legal Entity

(Doc ID 2119334.1)

Last updated on SEPTEMBER 14, 2016

Applies to:

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

Symptoms

Product: Oracle Fusion Global Human Resources

While creating new legal entity using task Create Legal Entity ,"Attribute XXPC_CustomerType_c in OrganizationDEO is required" Error is coming.

STEPS TO REPRODUCE
1. Go to Legal Employer page, create a Legal entity address and edit it
The issue has the following business impact:
Due to this issue, users cannot create legal entity.

Trigger definition:
def type=XXPC_RecordType_c
def Id=PartyId;
def vo=newView('SalesAccountVO')
def vc=vo.createViewCriteria();
def vcr=vc.createRow();

def vci1=vcr.ensureCriteriaItem('PartyId')
vci1.setOperator("=")
vci1.setValue(Id);

vc.insertRow(vcr);
vo.appendViewCriteria(vc);
vo.executeQuery();
if(vo!=null)
 {
 def arow=vo.first()
 if(arow!=null){
   arow.setAttribute('XXPC_RecordType_c',type);
  }}
else
{
adf.error.warn("Empty String")
return('AA');
}
Above trigger present in Account object which gets triggered while creating Legal Entity.

Customer not able to access SalesAccountVO in Groovy. Seems they need to turn on ZCM_SALES_ACCOUNT_ENTITY_ALLOW profile options to enable customizations in salesAcccountVO.

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