I have a scenario, where the source look like:
<ORDER>
<OrderDetails>
<OrderNumber>
..
..
</OrderDetails>
<RawMaterailDetails>
<RawMaterial>
<Qty>
</RawmaterailDetails>
<OperationDetails>
<OperationId>
..
..
</OperationDetials>
</ORDER>
I have Orderdetails occurring once and RawMaterailDetails and OperationDetials repeating.
Now I need to create a target structure looping on operationdetails and rawmaterialdetails.
For each order there are many Operations and for each operation there are many rawmaterials.So I need to create subelements for each operation and for each operation i need to create elements for rawmaterials.
Any help pls..
thankyou
Hi,
how do you know which rawmaterials
should be in operation details?
if you know that create a UDF
which will loop on the materials (and quantity)
and assign them to the operationdetails
use an array to sort by rawmaterial and
quantity so you don't have to do it twice
(or many times)
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Add a comment