Order Management

Get Involved. Join the Conversation.

Topic

    Hamzeh Al Karmi
    Update Shipment Set field based on a new order createdAnswered
    Topic posted April 29, 2019 by Hamzeh Al KarmiSilver Medal: 2,000+ Points 
    86 Views, 5 Comments
    Title:
    Update Shipment Set field based on a new order created
    Summary:
    Automatic update of the field Shipment Set that will contain the same value entered when a new order is created
    Content:

    Hello everyone,

    I am new to the Order Management feature and I was given a requirement to figure out how to automatically update the field "Shipment Set" that will contain the same value entered when a new order is created. To elaborate, upon entering an order line number-for example 01-0001 in the Order Lines section. The system should automatically enter a value in the field "Shipment Set" 01-0001 in the Shipment Details section.

    I know there is a script to use (SetAttribute) and as I accessed the Workflow Objects screen I could not find the object "Order Management" to select the field "Shipment Set" and use the SetAttribute function.

    Can anyone help please?

    Best Comment

    Ramadoss Vinayagam

    Hi,

    In Set up and Maintenance you can navigate to Extension using task "Manage Order Management Extensions"

    You can also explore the option of using post transformation rules for your requirement.  PFA a sample rule which we have used to set the shipment set name as order number

    Regards,

    Comment

     

    • Venkatesh Malapati

      Order Management extensions can be used to set the ShipSetName to " 01-0001" for all of the lines within the order during on-save. Please refer to the customer connect session on Order Management Extensions & support note, How To: Defining Order Management Extensions - Including Examples (Doc ID 2428750.1)

      • Hamzeh Al Karmi

        Thanks Venkatesh for your reply. I viewed the Doc ID 2428750.1 and downloaded an attachment that states:

        Manage Extensions page in the Setup and Maintenance work area to write your own Groovy script that modifies your Order Management deployment, and to specify the extension point that determines when to run this script.

        How do I reach the Manage Extensions page via the Setup and Maintenance work area?

    • Ramadoss Vinayagam

      Hi,

      In Set up and Maintenance you can navigate to Extension using task "Manage Order Management Extensions"

      You can also explore the option of using post transformation rules for your requirement.  PFA a sample rule which we have used to set the shipment set name as order number

      Regards,

      • Hamzeh Al Karmi

        Thank you all for your help. 

        Just one more question, please. How do I get the field names in order to add them to the scripting? (i.e, how do I get the field name in order to use the setAttribute("FIELD_NAME", "VALUE")

        So what screen should I access in order to get the FIELD_NAME?

    • Ramadoss Vinayagam

      Hi,

      You can get the list of all attributes from Implement Order Management manual. You can get the data at the following link

      https://docs.oracle.com/en/cloud/saas/supply-chain-management/19b/faiom/extend.html#FAIOM2829477

      In your case you can use "ShipSetName". 

      Regards,