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

How to write the groovy script for the Line type selection in sales order (Order management)

Received Response
edited Oct 3, 2023 9:35AM in Order Management 2 comments


Requirement - Order type = CH Return SO and Line type = Return for credit and return the item

Content (required):

In the below script, when user select Return for credit and return the item line type then also it will showing the Warning/Error.

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;

String messageText = "Please select Return Type as Return for credit and return the item ";

String orderTypeCode = header.getAttribute("TransactionTypeCode");

Howdy, Stranger!

Log In

To view full details, sign in.


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