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 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(
    

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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