Using Information from the Partner Definition

The Sterling Gentran:Server® Application Integration subsystem allows you to use selected information from the Sterling Gentran:Server Partner Editor in your maps using a select standard rule. You can map information from your trading partner's profile in the Partner Editor to a selected element, field, or TFD in the map. The information that you can use in the map includes any field in a table (location, lookup, or cross-reference) or data from the partner table.

For this example, you need to pull information from the partner definition in order to populate the Customer Number field (CUSTNUMHDR) on the application side of the map. Your partner’s customer number identifies which trading partner sent the purchase order. This customer number is already part of the partner definition for this partner, so you can map it from the partner definition to the customer number field.

Use this procedure to use the Select function to map the customer number from the partner definition.

  1. Double-click an existing element or field, or create a new element or field.

    The system displays the Field (or Element or CII TFD) Properties dialog box.

  2. Select the Standard Rule tab to access standard rule options.
  3. From the standard rule list, choose Select.
  4. From the table and key list, select Document record. This indicates that the system updates this field with selected information from the document record.
  5. Select the compliance error check box to indicate that a compliance error should be generated if the select does not find a valid entry.
  6. From the map from list, choose Partner Key. This is the field that contains the customer number for this partner.
  7. From the map to list, choose CUSTNUMHDR. This is the field to which the information from the partner key of the document record is mapped.

    The following screen illustrates how the Standard Rules tab should look.

    Standard Rules tab example
  8. Click OK to add the standard rule.