Configuring Bi-Directional Mapping

Bi-directional mapping enables you to propagate data from the transformed order item back to the original order item. This function is supported only for parameter data elements, not for order item properties.

Note:

If you update an order to either add a parameter (which includes providing a value to a parameter that did not previously have one) or delete a parameter (which includes setting the value of a parameter to null), the OSM order transformation manager will not propagate the change in either the forward or reverse direction. To avoid the need to add or delete values, you can set values (such as NOT_SET) as defaults on the conceptual model entity or in the order item parameter binding and ensure that a parameter always has a value.

To configure bi-directional mapping:

  1. Open a mapping rule and click the Mapping tab.

  2. In the Entries table, select a mapping.

  3. In the Details subtab, select Supports Bi-directional Mapping.

  4. In the Mapping subtab, select the target of any data-element-to-data-element advanced-type mapping between parameters.

    The Bi-Directional Mapping subtab is now displayed in the Mapping Rule Item area.

  5. In the XQuery field in the Bi-Directional Mapping subtab, provide XQuery information for performing the data mapping from the transformed order item to the original order item. See "About Creating XQuery Expressions with Design Studio" for more information about entering information into XQuery controls. See "About Reverse Mapping XQuery Expressions" for more information about this XQuery field.

Related Topics

Configuring Mappings

Mapping Rule Editor