Get Values from Product Information Management and Use Them to Set Values on Sales Orders

Create a business rule that gets a value for your item from the Product Information Management work area, then use it to set the default value for an attribute on the sales order.

Here's an example of how it works.

Here's an example of how it works.

What the Numbers Mean

  1. Use the Product Information Management work area to set the values for the attributes you need to reference.

  2. Use the Setup and Maintenance work area to create a business rule that gets the values from Product Information Management and uses them to set default values for attributes on the sales order in the Order Management work area.

  3. At run time, use the Order Management work area to create the sales order and Order Management automatically sets the attribute values.

Here's the example pretransformation rule you will create.

If the Order Entry Specialist adds the AS54888 item to an order line, then set the default value for the Accounting Rule attribute on the order line to the same value that the Accounting Rule attribute contains for the item in Product Information Management, and set the value for the Invoicing Rule on the order line to the same value that the Invoicing Rule attribute contains for the item in Product Information Management.

This topic uses example values. You might need different values, depending on your business requirements.

Summary of the Steps

  1. Modify the item.

  2. Create the pretransformation rule.

  3. Test your setup.

Modify the Item

Use the Product Information Management work area to modify the item.

Do it.

  1. Make sure you have the privileges that you need to administer Product Information Management.

    If you don't sign in with these privileges, then the Product Information Management work area won't display your product details and you can't do this procedure.

  2. Go to the Product Information Management work area.

  3. Click Tasks > Manage Items, then search for the value.

    Attribute

    Value

    Item

    AS54888

  4. In the search results, click AS54888.

  5. On the Edit Item page, click Specification > Sales and Order Management.

  6. In the Invoicing area, set the values, then click Save

    Attribute

    Value

    Accounting Rule

    12 Months Fixed

    Invoicing Rule

    Arrears Invoice

  7. Collect data. For details, see Collect Planning Data for Order Management.

Create the Pretransformation Rule

What the Numbers Mean

What the Numbers Mean

  1. Create the condition that asks whether the item on the order line is the AS54888.

  2. Create an action for the Invoicing Rule.

  3. Set the Invoicing Rule attribute on the order line on the sales order in Order Management to:

  4. The value that the Invoicing Rule attribute contains on the item definition in Product Information Management.

  5. Create an action for the Accounting Rule.

Do it.

  1. Sign out, then sign into Oracle Applications with the privileges that you need to administer Order Management.

  2. Go to the Setup and Maintenance work area, then go to the task.

    • Offering: Order Management

    • Functional Area: Orders

    • Task: Manage Pretransformation Rules for Sales Orders

  3. Create a new rule.

    Attribute

    Value

    Name

    Set Default Values for Accounting and Invoicing Rules

  4. Create the If statement.

    • In the If area, click New Condition.

    • In the Create Condition dialog, enter item, wait a moment, then click Item (Order Fulfill Line).

      Item (Order Fulfill Line) indicates that you're referencing the Item attribute on the fulfillment line of the sales order.

    • Click Search.

    • In the Search dialog, search for AS54888, click AS54888 in the search results, then click OK.

    • In the Create Condition dialog, click OK.

    IF item = AS54888

  5. Create the Then statement.

    • Click Then > Do.

    • In the DO area, click New Action > Set a Value.

    • In the Create Action Dialog, enter Accounting Rule, then click Accounting Rule (Order Fulfill Line).

    • Click Attribute.

    • In the window that contains the text Attribute, enter Accounting Rule, then click Accounting Rule (Item Definition).

      Accounting Rule (Item Definition) indicates that you're referencing the Accounting Rule attribute of the item in the Product Information Management work area.

      Here's some pseudocode for the statement you just created.

      Set the Accounting Rule attribute on the fulfillment line of the sales order to the value that the Accounting Rule attribute contains for the item in the Product Information Management work area

    • Click OK.

    Invoicing Rule is set to Arrears Invoice

  6. Add another action to the Then statement.

    • In the DO area, click And > Set a Value.

    • In the Create Action Dialog, enter Invoicing Rule, then click Invoicing Rule (Order Fulfill Line).

    • Click Attribute.

    • In the window that contains the text Attribute, enter Invoicing Rule, then click Invoicing Rule (Item Definition).

      Invoicing Rule (Item Definition) indicates that you're referencing the Invoicing Rule attribute of the item in the Product Information Management work area.

      Here's some pseudocode for the statement you just created.

      Set the Invoicing Rule attribute on the fulfillment line of the sales order to the value that the Invoicing Rule attribute contains for the item in the Product Information Management work area

    • Click OK.

  7. Activate and publish your rule. For details, see Manage Pretransformation Rules.

Test Your Setup

  1. Go to the Order Management work area and create a sales order.

  2. Add the AS54888 to an order line.

  3. Click Billing and Payment Details.

  4. On the order line, in the Item column, click the down arrow, then click Edit Accounting Details.

  5. In the Edit Accounting Details dialog, verify the values.

    Attribute

    Value

    Accounting Rule

    12 Months Fixed

    Invoicing Rule

    Arrears Invoice

  6. Go to the Product Information Management work area and change the value of the Accounting Rule to Immediate.

  7. Collect data.

  8. Create another sales order and verify that Accounting Rule defaults to Immediate.