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