none
Edi 850 Looping required RRS feed

  • Question

  • Hi Exceperts,

    map: source: xml 

              Target :edi850PO

    presenetly my map generates following output with P01 & PID segments like,

    PO1*1*000099*TF*0000019.96*FX*VA*fff*UA*12345678901234~
    PO1*1*000045*TF*0000026.14*FX*VA*fff*UA*12345678901234~
    PO1*1*000040*TF*00000028.5*FX*VA*fff*UA*12345789012340~
    PO1*1*000004*TF*0000012.96*FX*VA*fff*UA*12345678901234~
    PO1*1*000008*TF*0000026.33*FX*VA*fff*UA*12345678901234~
    PID*F*12345678901
    PID*F*12345678901
    PID*F*12345678901
    PID*F*12345678901

    But i want every PID follow the P01 like below

    PO1*1*000099*TF*0000019.96*FX*VA*fff*UA*12345678901234~
    PID*F*12345678901
    PO1*1*000045*TF*0000026.14*FX*VA*fff*UA*12345678901234~
    PID*F*12345678901
    PO1*1*000040*TF*00000028.5*FX*VA*fff*UA*12345789012340~
    PID*F*12345678901

    please let me know , thanks in advance

    Thursday, June 6, 2013 12:42 PM

Answers

  • You have to connect a Looping Functoid from the repeating element in the source (LineItem or whatever it's called) to the PO1Loop1 element in the 850.
    • Proposed as answer by Johns-305MVP Friday, June 7, 2013 12:23 PM
    • Marked as answer by Pengzhen Song Thursday, June 13, 2013 10:14 AM
    Thursday, June 6, 2013 1:09 PM