Posttransformation Rule

Use a posttransformation rule to populate an order attribute after Order Management transforms the item.

Example Usage

Description

Populate order lines so they reference different warehouses.

Create a rule that transforms the source order into a sales order that includes two lines.

  • Order line 1 for the laptop computer

  • Order line 2 for an AC adapter

Write a rule that populates order line 2 so it sets the Warehouse attribute to a value that's different from the warehouse that supplies the laptop computer on line 1.

Populate an order with a new attribute.

Assume your source order uses the MM/DD/YYYY format for requested date. Your staff finds it useful to also know the day of the week because delivery costs more on Saturday or Sunday. You write a rule that populates the day of the week in the new sales order.