Skip to Content
author's profile photo Former Member
Former Member

mapping help

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 23, 2006 at 06:04 AM

    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
    10|10000 characters needed characters exceeded

    • Former Member

      hi Michal,

      Thanks for the response. I dont know what rawmaterials go with what operations. There will be many rawmaterials for a particular operation and there will be many operations in an order. So I need to repeat the Rawmaterials for the respective operations.

      help is appreciated.

      thank you

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.