Check order settings

You must input certain settings when configuring check order for standard BOD mappings. An example is shown below.

Note:  The XPath syntax used by IEC is different from the standard XPath syntax. The standard XPath for an attribute is "element@attribute", for example "ID@variationID". The corresponding syntax in IEC is "element[@attribute]", for example, "ID[@variationID]". In standard XPath syntax this XPath would select all ID elements that have an attribute named "variationID". This is not how IEC works.

Example settings for the standard BOD mapping M3BOD_BillOfMaterials_Sync_In_2_13_2:

  • Include Noun for primary key: Selected

  • Default Namespace: http://schema.infor.com/InforOAGIS/2

  • Default Namespace Prefix: dns

  • Primary Key Setting #1:

    Primary Key Xpath: /dns:SyncBillOfMaterials/dns:DataArea/dns:BillOfMaterials/

    dns:BillOfMaterialsHeader/dns:DocumentID/dns:ID

    Primary Key No Attribute Existing: schemeName

  • Primary Key Setting #2:

    Primary Key Xpath: /dns:SyncBillOfMaterials/dns:DataArea/dns:BillOfMaterials/dns:BillOfMaterialsHeader/

    dns:DocumentID/dns:ID[@location]

    Primary Key No Attribute Existing: schemeName

  • Primary Key Setting #3:

    Primary Key Xpath: /dns:SyncBillOfMaterials/dns:DataArea/dns:BillOfMaterials/dns:BillOfMaterialsHeader/

    dns:DocumentID/dns:ID[@accountingEntity]

    Primary Key No Attribute Existing: schemeName

  • VID

    Xpath: /dns:SyncBillOfMaterials/dns:DataArea/dns:BillOfMaterials/

    dns:BillOfMaterialsHeader/dns:DocumentID/dns:ID[@variationID]

    VID No Attribute Existing: schemeName

In the BOD example shown below, the primary key is "BillOfMaterials" (noun) + "1234" (ID) + "105" (location) + "770_AAA" (accountingEntity). The Variation ID (VID) is "20". Note that there is no schemeName attribute for the ID element.
<BillOfMaterials>
 <BillOfMaterialsHeader>
 <DocumentID>
 <ID location="105" accountingEntity="770_AAA" variationID="20">1234</ID>