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 use DFF in Customer Account Site for a Customer Site in Order Header as part of OM?

Received Response
81
Views
8
Comments
edited Sep 19, 2023 5:00AM in Order Management 8 comments

We are trying to use Order Management Extension On Save. The code:

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

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

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

//check if this is active

messages.add(new Message( Message.MessageType.WARNING, "OM Default Order Type V2.1"));

//Get Customer and Site

def shipToPartyName = header.getAttribute("ShipToPartyName");

def shipToPartyNumber = header.getAttribute("ShipToPartyNumber");

def shipToPartyIdentifier = header.getAttribute("ShipToPartyIdentifier");

def shipToPartySiteIdentifier = header.getAttribute("ShipToPartySiteIdentifier");

//THIS IS WOKRING

def shipToAddressFromPVO = getShipToAddressFromPVO(shipToPartySiteIdentifier);

//THIS IS NOT WOKRING

//def shipToAddressFromPVO = getContextVORow(shipToPartySiteIdentifier);

messages.add(new Message( Message.MessageType.WARNING, "Ship To Party Name: " + shipToPartyName));

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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