none
Coparn Mapping Issue RRS feed

  • Question

  • Hi all,

    I am facing an issue in generating COPARN EDI file. The file is getting generated as

    UNB+UNOB:1+BTS-SENDER:ZZZ+RECEIVE-PARTNER:ZZZ+140701:1210+95++++0++0'
    UNH+95+CODECO:D:95B:UN:ITG12'
    BGM+34++9'
    TDT+20++1++MSL:172:20+++0:103'
    NAD+MS+DPA'
    GID+1'
    GID+2'
    EQD+CN+CXDU1166996+2210:102:5++2+4'
    RFF+BN'
    DTM+7:201404300824:203'
    LOC+165+AEJEA:139:6+12:TER:ZZZ'
    MEA+WT+G+KGM:2000'
    EQD+CN+GLDU7682407+4510:102:5++2+4'
    RFF+BN'
    DTM+7:201404300824:203'
    LOC+165+AEJEA:139:6+12:TER:ZZZ'
    MEA+WT+G+KGM:2000'
    CNT+16:8434364'
    UNT+18+95'
    UNZ+1+95'

    But instead it should be generated as

    UNB+UNOB:1+BTS-SENDER:ZZZ+RECEIVE-PARTNER:ZZZ+140701:1210+95++++0++0'
    UNH+95+CODECO:D:95B:UN:ITG12'
    BGM+34++9'
    TDT+20++1++MSL:172:20+++0:103'
    NAD+MS+DPA'
    GID+1'
    GID+2'
    EQD+CN+CXDU1166996+2210:102:5++2+4'
    RFF+BN'
    DTM+7:201404300824:203'
    LOC+165+AEJEA:139:6+12:TER:ZZZ'
    MEA+WT+G+KGM:2000'
    EQD+CN+GLDU7682407+4510:102:5++2+4'
    RFF+BN'
    DTM+7:201404300847:203'
    LOC+165+AEJEA:139:6+12:TER:ZZZ'
    MEA+WT+G+KGM:4000'
    CNT+16:8434364'
    UNT+18+95'
    UNZ+1+95'

    For each of two containers in container table there are four references in the references table(child table). But in the file generated the first container's references are repeated for the second container too(which is wrong).Kindly assist in fixing the same.


    Regards, Vivin.

    Tuesday, July 1, 2014 7:04 AM

Answers

  • The issue got fixed when the index of the iteration was passed along while comapring the GUID and it worked like a charm.

    Regards, Vivin.

    • Marked as answer by Vivin Muthu Wednesday, July 9, 2014 12:46 PM
    Wednesday, July 9, 2014 12:46 PM