My Oracle Support Banner

Web Service Error Due To Groovy Script (Doc ID 2386912.1)

Last updated on MARCH 28, 2019

Applies to:

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

Symptoms

CreateAccount - WS Error Due to Groovy Script

There is a field Partner_c, which is a checkbox, once it is Y, and there is a before insert trigger in Account which will create a Partner entry and associate account to it.

When the above trigger is executed customer gets required field not found error. This happens to any fields set to required in account. The issue here is partner is getting created before account and all required account fields are not created.

This was working fine in rel 12 and is not working in rel 13

ERROR
-----------------------
Required fields are not provided

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Invoke CreateAccount method using Account Service with OrganizationDEO_Partner_c = true
2. Getting error for required fields in the response even when required fields are passed in the payload.


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot create Account using WS when Partner_c = true

Cause

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
Symptoms
Cause
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.