none
856 ASN HL Loop and LIN Loop Problem RRS feed

  • Question

  • The below is after i do the Mapping for 856 from flat file convert to EDI x12 format:

    HL*4*2*I~
    LIN*1*IN*20077*VN*A0101-01-01***PL*1~
    SN1*1*2664*EA~
    HL*5*2*I~
    LIN*1*IN*20077*VN*A0101-01-01***PL*1~
    SN1*1*2664*EA~

    But the problem, i found that the LIN segment repeat the record. Actually the result should like this:

    HL*4*2*I~
    LIN*1*IN*20077*VN*A0101-01-01***PL*1~
    SN1*1*2664*EA~
    HL*5*2*I~
    LIN*2*IN*20079*VN*A0102-03-11***PL*2~
    SN1*1*50*EA~

    Can anyone help me look into this problem?? Thank you



    • Edited by lansishao Thursday, October 3, 2013 2:47 AM
    Thursday, October 3, 2013 2:46 AM

All replies

  • Please check with your mapping process there might be some looping issue with records what you have currently.

    parashuram

    Thursday, October 3, 2013 5:42 AM
  • Hi thank for your reply

    Sample of Flat file:

    "LINES",1,1,IN,20077,VN,A0101-01-01,0000027255,PL,1,1,2664,EA,0000067
    "LINES",2,2,IN,20079,VN,A0109-01-02,0000027255,PL,2,1,2664,EA,0000067

    When Loop i use the first column (1 and 2) to do Looping into HLLOOP1

    but if fail to get the 2 lines result


    Thursday, October 3, 2013 5:59 AM
  • Hi,

    Can you copy screen shot of your map?

    /Dhiraj

    Thursday, October 3, 2013 6:21 AM
  • Why i cant upload the screen shot ?

    "Body text cannot contain images or links until we are able to verify your account"

    Thursday, October 3, 2013 6:24 AM
  • Hi,

    Can you copy screen shot of your map?

    /Dhiraj


    Can i email you?
    Thursday, October 3, 2013 6:25 AM
  • Sure, @ dheerajbhavsar89@gmail.com
    Thursday, October 3, 2013 6:27 AM
  • You seem to be new member; once MS team verifies your account you will be able to upload the images.
    Thursday, October 3, 2013 6:29 AM
  • Thank for you, i have just email you the screen shot.......
    Thursday, October 3, 2013 6:29 AM
  • Hello, I have the same issue now. Could you share the solution, please?

    akolons

    Monday, July 27, 2015 7:36 PM