Trying to setup Ordermanagement extensions — 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

Trying to setup Ordermanagement extensions

Accepted answer
21
Views
2
Comments

Summary:

HI Team,

we are getting order from cx system, whenever they missed sending payment terms I have below extension.

But it is overriding the payment terms even if they are passing.

Please suggest for condiition like,

If payment term is null then it should take net30 or else it should have the same payment term whcih has been passed.

Thank you

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

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

header.setAttribute("PaymentTerm", "30 Net Payment");

def lines = header.getAttribute("Lines");

while (lines.hasNext()) {

 def line = lines.next();

 line.setAttribute("PaymentTerm", "30 Net Payment");

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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