the 856 Ansi Standard has a Hierarchial structure of
HL (0:200000) that requires at least 3 different structures
adding a header structure is fine as there is only one index ... the other two levels are where this gets ugly
Assuming a Shipment has multiple orders with multiple items we would have:
Shipment
Order (s)
Item (s)
HL 1 S Shipment
HL 2 1 O Order 1
HL 3 2 I Item 1 Order 1
HL 4 2 I Item 2 Order 1
HL 5 1 O Order 2
HL 6 5 I Item 1 Order 2
HL 7 5 I Item 2 Order 2
As the the functional map appears to only be able to pass a Function in once on an index field:
HL (0:1) <Shipment details>
HL (0:199999) = MakeOrder(<Order Details>)
How do we pass in the third (Item) Structure?
Passing both Order and Item details in is an issue because the functional map only has ONE index available
HL (0:1) <Shipment Details>
HL (0:199999) = MakeOrderItem(<Order Details>,<Item Details>)
or defining Order as ORDER with ITEMS still has the same issue of the functional map only has one index available
What I have done for the moment is combined my input Card for ORDERS and ITEMS into one structure with a
StructureType field to discriminate the data being passed into the MakeOrder
Am I missing a concept here or is this a limitation of the Mercator Index processor?
HL (0:200000) that requires at least 3 different structures
adding a header structure is fine as there is only one index ... the other two levels are where this gets ugly
Assuming a Shipment has multiple orders with multiple items we would have:
Shipment
Order (s)
Item (s)
HL 1 S Shipment
HL 2 1 O Order 1
HL 3 2 I Item 1 Order 1
HL 4 2 I Item 2 Order 1
HL 5 1 O Order 2
HL 6 5 I Item 1 Order 2
HL 7 5 I Item 2 Order 2
As the the functional map appears to only be able to pass a Function in once on an index field:
HL (0:1) <Shipment details>
HL (0:199999) = MakeOrder(<Order Details>)
How do we pass in the third (Item) Structure?
Passing both Order and Item details in is an issue because the functional map only has ONE index available
HL (0:1) <Shipment Details>
HL (0:199999) = MakeOrderItem(<Order Details>,<Item Details>)
or defining Order as ORDER with ITEMS still has the same issue of the functional map only has one index available
What I have done for the moment is combined my input Card for ORDERS and ITEMS into one structure with a
StructureType field to discriminate the data being passed into the MakeOrder
Am I missing a concept here or is this a limitation of the Mercator Index processor?