How to fetch customer Account site Default Shipment DFF value to Shipping method seeded field.
Summary:
We are creating Default shipping method DFF on Customer site level and we need this field value fetch on shipping method seeded field
Can you suggest any OM Extension code for these requirements
Content (please ensure you mask any confidential information):
Use below code but not work
import oracle.apps.scm.doo.common.extensions.ValidationException
import oracle.apps.scm.doo.common.extensions.Message
def processOrder(order) {
for (line in order.getLines()) { def fulfillLines = line.getFulfillLines() for (fulfillLine in fulfillLines) { // Step 1: Get Ship-to Site Use ID from fulfillment line def siteUseId = fulfillLine.getAttribute("ShipToPartySiteId") if (siteUseId != null) { // Step 2: Get CustAcctSiteId from Site Use PVO def siteUseRows = queryViewRows(
0