Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Sample Groovy script for validating Components in a PTO Item — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Sample Groovy script for validating Components in a PTO Item

Received Response
11
Views
1
Comments
edited Oct 2, 2022 9:09AM in Order Management 1 comment

Summary:

Hello

I have business requirement to validate the EFF values on the child items.

Some reason, my scripts work only at Parent level EFF values and not considering to check the Child level EFF values.

Do you have any sample script for fetching the component level records for CTO or PTO or KIT items?


Regards, Binoj

Content (required):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

import oracle.apps.scm.doo.common.extensions.ValidationException;

import oracle.apps.scm.doo.common.extensions.Message;

List < Message > msgs = new ArrayList<Message>();

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!