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