Why Were These Errors Received?

You received the preceding errors because you did not provide indexes for every content particle and element in the hierarchical map structure, down to the elements you referenced.

So, to assign the value of the elements in the LineItem elements to the temporary elements in the Temp_LineItem element, you need to use four indexes for each assignment statement in this rule, as indicated in the following example, which illustrates the PETTEST_INVOICE map hierarchy:

PETTEST_INVOICE
  Attributes
  Particle_57
    Header
    LineItem +
      Particle_63
        AssignedIdentification ?
        QuantityShipped
        QuantityOrdered
        UOM
        UnitPrice
        ProductCode
        UPCCode ?
        ItemDescription ?
        TermsTypeCode ?
        TermsDiscountPercent ?
    Summary ?
    Temp_LineItem*
      Temp_Particle ?
         TempLineNum ?
         Temp_Shipped ?
         Temp_Ordered ?
         Temp_UOM ?
         Temp_UnitPrice ?
         Temp_ProductCode ?
         Temp_Description ?
         Temp_TermsType ?
         Temp_TermsDis ?

In the above example, Particle_57 is the map component that requires the first index, Temp_LineItem is the map component that requires the second index, Temp_Particle is the map component that requires the third index, and Temp_UnitPrice is the map component that requires the fourth index.

So, you now know that you need four indexes for each assignment statement in the rule, but not all the elements and content particles in this hierarchical structure repeat, and thus you will need to address the non-repeating elements and content particles separately, as noted in the subsequent topic.