none
Issue in generating Multiple files RRS feed

  • Question

  • Hi ,

    I am trying to generate COPARN EDI files from Oracle DB stored procedure. When i am trying with a single parent record [each record has multiple child records] the file is getting generated without any issue. But when trying to generate for more than one parent record the details are being generated in a single message instead of individual messages.

    Eg: UNH segment. Only on UNH segment is allowed per message

    <ns0:EFACT_D95B_COPARN xmlns:ns0="http://schemas.microsoft.com/BizTalk/EDI/EDIFACT/2006">
    <UNH>
    <UNH1>1</UNH1>
    <UNH2>
    <UNH2.1>CODECO</UNH2.1>
    <UNH2.2>D</UNH2.2>
    <UNH2.3>95B</UNH2.3>
    <UNH2.4>UN</UNH2.4>
    <UNH2.5>ITG12</UNH2.5>
    </UNH2>
    </UNH>
    <UNH>
    <UNH1>1</UNH1>
    <UNH2>
    <UNH2.1>CODECO</UNH2.1>
    <UNH2.2>D</UNH2.2>
    <UNH2.3>95B</UNH2.3>
    <UNH2.4>UN</UNH2.4>
    <UNH2.5>ITG12</UNH2.5>
    </UNH2>
    </UNH>
    <UNH>
    <UNH1>1</UNH1>
    <UNH2>
    <UNH2.1>CODECO</UNH2.1>
    <UNH2.2>D</UNH2.2>
    <UNH2.3>95B</UNH2.3>
    <UNH2.4>UN</UNH2.4>
    <UNH2.5>ITG12</UNH2.5>
    </UNH2>
    </UNH>
    <UNH>
    <UNH1>1</UNH1>
    <UNH2>
    <UNH2.1>CODECO</UNH2.1>
    <UNH2.2>D</UNH2.2>
    <UNH2.3>95B</UNH2.3>
    <UNH2.4>UN</UNH2.4>
    <UNH2.5>ITG12</UNH2.5>
    </UNH2>
    </UNH>
    <UNH>
    <UNH1>1</UNH1>
    <UNH2>
    <UNH2.1>CODECO</UNH2.1>
    <UNH2.2>D</UNH2.2>
    <UNH2.3>95B</UNH2.3>
    <UNH2.4>UN</UNH2.4>
    <UNH2.5>ITG12</UNH2.5>
    </UNH2>
    </UNH>
    <UNH>
    <UNH1>1</UNH1>
    <UNH2>
    <UNH2.1>CODECO</UNH2.1>
    <UNH2.2>D</UNH2.2>
    <UNH2.3>95B</UNH2.3>
    <UNH2.4>UN</UNH2.4>
    <UNH2.5>ITG12</UNH2.5>
    </UNH2>
    </UNH>
    <UNH>
    <UNH1>1</UNH1>
    <UNH2>
    <UNH2.1>CODECO</UNH2.1>
    <UNH2.2>D</UNH2.2>
    <UNH2.3>95B</UNH2.3>
    <UNH2.4>UN</UNH2.4>
    <UNH2.5>ITG12</UNH2.5>
    </UNH2>
    </UNH>
    <UNH>
    <UNH1>1</UNH1>
    <UNH2>
    <UNH2.1>CODECO</UNH2.1>
    <UNH2.2>D</UNH2.2>
    <UNH2.3>95B</UNH2.3>
    <UNH2.4>UN</UNH2.4>
    <UNH2.5>ITG12</UNH2.5>
    </UNH2>
    </UNH>
    <ns0:BGM>
    <ns0:C002>
    <C00201>34</C00201>
    </ns0:C002>
    <BGM03>9</BGM03>
    </ns0:BGM>
    <ns0:BGM>
    <ns0:C002>
    <C00201>34</C00201>
    </ns0:C002>
    <BGM03>9</BGM03>
    </ns0:BGM>
    <ns0:BGM>
    <ns0:C002>
    <C00201>34</C00201>
    </ns0:C002>
    <BGM03>9</BGM03>
    </ns0:BGM>
    <ns0:BGM>
    <ns0:C002>
    <C00201>34</C00201>
    </ns0:C002>
    <BGM03>9</BGM03>
    </ns0:BGM>
    <ns0:BGM>
    <ns0:C002>
    <C00201>34</C00201>
    </ns0:C002>
    <BGM03>9</BGM03>
    </ns0:BGM>
    <ns0:BGM>
    <ns0:C002>
    <C00201>34</C00201>
    </ns0:C002>
    <BGM03>9</BGM03>
    </ns0:BGM>
    <ns0:BGM>
    <ns0:C002>
    <C00201>34</C00201>
    </ns0:C002>
    <BGM03>9</BGM03>
    </ns0:BGM>
    <ns0:BGM>
    <ns0:C002>
    <C00201>34</C00201>
    </ns0:C002>
    <BGM03>9</BGM03>
    </ns0:BGM>
    <ns0:TDTLoop1>
    <ns0:TDT>
    <TDT01>20</TDT01>
    <ns0:C220>
    <C22001>1</C22001>
    </ns0:C220>
    <ns0:C228 />
    <ns0:C040>
    <C04001>MSL</C04001>
    <C04002>172</C04002>
    <C04003>20</C04003>
    </ns0:C040>
    <ns0:C222>
    <C22201>0</C22201>
    <C22202>103</C22202>
    </ns0:C222>
    </ns0:TDT>
    <ns0:TDT>
    <TDT01>20</TDT01>
    <ns0:C220>
    <C22001>1</C22001>
    </ns0:C220>
    <ns0:C228 />
    <ns0:C040>
    <C04001>MSL</C04001>
    <C04002>172</C04002>
    <C04003>20</C04003>
    </ns0:C040>
    <ns0:C222>
    <C22201>0</C22201>
    <C22202>103</C22202>
    </ns0:C222>
    </ns0:TDT>
    <ns0:TDT>
    <TDT01>20</TDT01>
    <ns0:C220>
    <C22001>1</C22001>
    </ns0:C220>
    <ns0:C228 />
    <ns0:C040>
    <C04001>MSL</C04001>
    <C04002>172</C04002>
    <C04003>20</C04003>
    </ns0:C040>
    <ns0:C222>
    <C22201>0</C22201>
    <C22202>103</C22202>
    </ns0:C222>
    </ns0:TDT>
    <ns0:TDT>
    <TDT01>20</TDT01>
    <ns0:C220>
    <C22001>1</C22001>
    </ns0:C220>
    <ns0:C228 />
    <ns0:C040>
    <C04001>MSL</C04001>
    <C04002>172</C04002>
    <C04003>20</C04003>
    </ns0:C040>
    <ns0:C222>
    <C22201>0</C22201>
    <C22202>103</C22202>
    </ns0:C222>
    </ns0:TDT>
    <ns0:TDT>
    <TDT01>20</TDT01>
    <ns0:C220>
    <C22001>1</C22001>
    </ns0:C220>
    <ns0:C228 />
    <ns0:C040>
    <C04001>MSL</C04001>
    <C04002>172</C04002>
    <C04003>20</C04003>
    </ns0:C040>
    <ns0:C222>
    <C22201>0</C22201>
    <C22202>103</C22202>
    </ns0:C222>
    </ns0:TDT>
    <ns0:TDT>
    <TDT01>20</TDT01>
    <ns0:C220>
    <C22001>1</C22001>
    </ns0:C220>
    <ns0:C228 />
    <ns0:C040>
    <C04001>MSL</C04001>
    <C04002>172</C04002>
    <C04003>20</C04003>
    </ns0:C040>
    <ns0:C222>
    <C22201>0</C22201>
    <C22202>103</C22202>
    </ns0:C222>
    </ns0:TDT>
    <ns0:TDT>
    <TDT01>20</TDT01>
    <ns0:C220>
    <C22001>1</C22001>
    </ns0:C220>
    <ns0:C228 />
    <ns0:C040>
    <C04001>MSL</C04001>
    <C04002>172</C04002>
    <C04003>20</C04003>
    </ns0:C040>
    <ns0:C222>
    <C22201>0</C22201>
    <C22202>103</C22202>
    </ns0:C222>
    </ns0:TDT>
    <ns0:TDT>
    <TDT01>20</TDT01>
    <ns0:C220>
    <C22001>1</C22001>
    </ns0:C220>
    <ns0:C228 />
    <ns0:C040>
    <C04001>MSL</C04001>
    <C04002>172</C04002>
    <C04003>20</C04003>
    </ns0:C040>
    <ns0:C222>
    <C22201>0</C22201>
    <C22202>103</C22202>
    </ns0:C222>
    </ns0:TDT>
    </ns0:TDTLoop1>
    <ns0:NADLoop1>
    <ns0:NAD>
    <NAD01>MS</NAD01>
    <ns0:C082>
    <C08201>DPA</C08201>
    </ns0:C082>
    <ns0:C058 />
    <ns0:C080 />
    <ns0:C059>
    <C05901>
    </C05901>
    <C05902>
    </C05902>
    <C05903>
    </C05903>
    </ns0:C059>
    </ns0:NAD>
    </ns0:NADLoop1>
    <ns0:NADLoop1>
    <ns0:NAD>
    <NAD01>MS</NAD01>
    <ns0:C082>
    <C08201>DPA</C08201>
    </ns0:C082>
    <ns0:C058 />
    <ns0:C080 />
    <ns0:C059>
    <C05901>
    </C05901>
    <C05902>
    </C05902>
    <C05903>
    </C05903>
    </ns0:C059>
    </ns0:NAD>
    </ns0:NADLoop1>
    <ns0:NADLoop1>
    <ns0:NAD>
    <NAD01>MS</NAD01>
    <ns0:C082>
    <C08201>DPA</C08201>
    </ns0:C082>
    <ns0:C058 />
    <ns0:C080 />
    <ns0:C059>
    <C05901>
    </C05901>
    <C05902>
    </C05902>
    <C05903>
    </C05903>
    </ns0:C059>
    </ns0:NAD>
    </ns0:NADLoop1>
    <ns0:NADLoop1>
    <ns0:NAD>
    <NAD01>MS</NAD01>
    <ns0:C082>
    <C08201>DPA</C08201>
    </ns0:C082>
    <ns0:C058 />
    <ns0:C080 />
    <ns0:C059>
    <C05901>
    </C05901>
    <C05902>
    </C05902>
    <C05903>
    </C05903>
    </ns0:C059>
    </ns0:NAD>
    </ns0:NADLoop1>
    <ns0:NADLoop1>
    <ns0:NAD>
    <NAD01>MS</NAD01>
    <ns0:C082>
    <C08201>DPA</C08201>
    </ns0:C082>
    <ns0:C058 />
    <ns0:C080 />
    <ns0:C059>
    <C05901>
    </C05901>
    <C05902>
    </C05902>
    <C05903>
    </C05903>
    </ns0:C059>
    </ns0:NAD>
    </ns0:NADLoop1>
    <ns0:NADLoop1>
    <ns0:NAD>
    <NAD01>MS</NAD01>
    <ns0:C082>
    <C08201>DPA</C08201>
    </ns0:C082>
    <ns0:C058 />
    <ns0:C080 />
    <ns0:C059>
    <C05901>
    </C05901>
    <C05902>
    </C05902>
    <C05903>
    </C05903>
    </ns0:C059>
    </ns0:NAD>
    </ns0:NADLoop1>
    <ns0:NADLoop1>
    <ns0:NAD>
    <NAD01>MS</NAD01>
    <ns0:C082>
    <C08201>DPA</C08201>
    </ns0:C082>
    <ns0:C058 />
    <ns0:C080 />
    <ns0:C059>
    <C05901>
    </C05901>
    <C05902>
    </C05902>
    <C05903>
    </C05903>
    </ns0:C059>
    </ns0:NAD>
    </ns0:NADLoop1>
    <ns0:NADLoop1>
    <ns0:NAD>
    <NAD01>MS</NAD01>
    <ns0:C082>
    <C08201>DPA</C08201>
    </ns0:C082>
    <ns0:C058 />
    <ns0:C080 />
    <ns0:C059>
    <C05901>
    </C05901>
    <C05902>
    </C05902>
    <C05903>
    </C05903>
    </ns0:C059>
    </ns0:NAD>
    </ns0:NADLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>1</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>2</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>1</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>2</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>1</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>2</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>1</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>2</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>1</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>2</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>1</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>2</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>1</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>2</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>1</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:GIDLoop1>
    <ns0:GID>
    <GID01>2</GID01>
    <ns0:C213 />
    </ns0:GID>
    </ns0:GIDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>CXDU1166996</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>2210</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1.1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201407071451</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300824</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>2000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>GLDU7682407</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>4510</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT2</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300847</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>4000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>CXDU1166996</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>2210</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1.1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201407071451</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300824</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>2000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>GLDU7682407</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>4510</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT2</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300847</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>4000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>CXDU1166996</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>2210</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1.1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201407071451</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300824</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>2000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>GLDU7682407</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>4510</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT2</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300847</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>4000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>CXDU1166996</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>2210</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1.1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201407071451</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300824</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>2000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>GLDU7682407</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>4510</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT2</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300847</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>4000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>CXDU1166996</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>2210</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1.1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201407071451</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300824</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>2000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>GLDU7682407</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>4510</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT2</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300847</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>4000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>CXDU1166996</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>2210</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1.1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201407071451</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300824</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>2000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>GLDU7682407</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>4510</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT2</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300847</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>4000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>CXDU1166996</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>2210</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1.1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201407071451</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300824</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>2000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>GLDU7682407</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>4510</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT2</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300847</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>4000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>CXDU1166996</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>2210</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1.1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT1</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201407071451</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300824</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>2000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:EQDLoop1>
    <ns0:EQD>
    <EQD01>CN</EQD01>
    <ns0:C237_2>
    <C23701>GLDU7682407</C23701>
    </ns0:C237_2>
    <ns0:C224>
    <C22401>4510</C22401>
    <C22402>102</C22402>
    <C22403>5</C22403>
    </ns0:C224>
    <EQD05>2</EQD05>
    <EQD06>4</EQD06>
    </ns0:EQD>
    <ns0:RFF_6>
    <ns0:C506_6>
    <C50601>BN</C50601>
    <C50602>CONT2</C50602>
    </ns0:C506_6>
    </ns0:RFF_6>
    <ns0:DTM_4>
    <ns0:C507_4>
    <C50701>7</C50701>
    <C50702>201404300847</C50702>
    <C50703>203</C50703>
    </ns0:C507_4>
    </ns0:DTM_4>
    <ns0:LOC_2>
    <LOC01>165</LOC01>
    <ns0:C517_2>
    <C51701>AEJEA</C51701>
    <C51702>139</C51702>
    <C51703>6</C51703>
    </ns0:C517_2>
    <ns0:C519_2>
    <C51901>12</C51901>
    <C51902>TER</C51902>
    <C51903>ZZZ</C51903>
    </ns0:C519_2>
    <ns0:C553_2 />
    </ns0:LOC_2>
    <ns0:MEA_4>
    <MEA01>WT</MEA01>
    <ns0:C502_4>
    <C50201>G</C50201>
    </ns0:C502_4>
    <ns0:C174_4>
    <C17401>KGM</C17401>
    <C17402>4000</C17402>
    </ns0:C174_4>
    </ns0:MEA_4>
    </ns0:EQDLoop1>
    <ns0:CNT>
    <ns0:C270>
    <C27001>16</C27001>
    <C27002>813131</C27002>
    </ns0:C270>
    <ns0:C270>
    <C27001>16</C27001>
    <C27002>813132</C27002>
    </ns0:C270>
    <ns0:C270>
    <C27001>16</C27001>
    <C27002>813133</C27002>
    </ns0:C270>
    <ns0:C270>
    <C27001>16</C27001>
    <C27002>813134</C27002>
    </ns0:C270>
    <ns0:C270>
    <C27001>16</C27001>
    <C27002>813135</C27002>
    </ns0:C270>
    <ns0:C270>
    <C27001>16</C27001>
    <C27002>813136</C27002>
    </ns0:C270>
    <ns0:C270>
    <C27001>16</C27001>
    <C27002>813137</C27002>
    </ns0:C270>
    <ns0:C270>
    <C27001>16</C27001>
    <C27002>813138</C27002>
    </ns0:C270>
    </ns0:CNT>
    <UNT>
    <UNT1>18</UNT1>
    <UNT2>1</UNT2>
    </UNT>
    <UNT>
    <UNT1>18</UNT1>
    <UNT2>1</UNT2>
    </UNT>
    <UNT>
    <UNT1>18</UNT1>
    <UNT2>1</UNT2>
    </UNT>
    <UNT>
    <UNT1>18</UNT1>
    <UNT2>1</UNT2>
    </UNT>
    <UNT>
    <UNT1>18</UNT1>
    <UNT2>1</UNT2>
    </UNT>
    <UNT>
    <UNT1>18</UNT1>
    <UNT2>1</UNT2>
    </UNT>
    <UNT>
    <UNT1>18</UNT1>
    <UNT2>1</UNT2>
    </UNT>
    <UNT>
    <UNT1>18</UNT1>
    <UNT2>1</UNT2>
    </UNT>
    </ns0:EFACT_D95B_COPARN>


    Regards, Vivin.

    Thursday, July 10, 2014 9:26 AM

Answers

  • By using an envelope Schema in the process where you Receive your Oracle data. This will make the XMLDisassembler Pipeline Component de-batch automatically.

    Morten la Cour

    • Marked as answer by Vivin Muthu Wednesday, August 20, 2014 10:16 AM
    Thursday, July 10, 2014 11:36 AM

All replies

  • If more than one UNH segments are being generated, there must be a problem in your Map. Make sure your Map is only generating one UNH segment pr. message.

    Morten la Cour

    Thursday, July 10, 2014 10:18 AM
  • Hi Morten,

    The problem is not only UNH but also the corresponding segments like BGM,TDT etc. The above message containers the segments data for eight records and they should be printed each in a individual file instead of all the eight being printed in the same file.


    Regards, Vivin.

    Thursday, July 10, 2014 10:32 AM
  • Well again: I believe the issue lies in your mapping of your "EDIFACT XML"

    Morten la Cour

    Thursday, July 10, 2014 10:50 AM
  • When i am trying to generate the file for one record and its child records then the same is working correctly. But when trying for more than one all are getting under a same message. how do i split the message based on the id??


    Regards, Vivin.

    Thursday, July 10, 2014 11:16 AM
  • By using an envelope Schema in the process where you Receive your Oracle data. This will make the XMLDisassembler Pipeline Component de-batch automatically.

    Morten la Cour

    • Marked as answer by Vivin Muthu Wednesday, August 20, 2014 10:16 AM
    Thursday, July 10, 2014 11:36 AM
  • Thanks Morten.

    The Guid's of the parent record are being fetched from oracle tables based on the polling statement. The GUID's i am getting are then passed to oracle stored procedures (nearly 10) to get data from various child tables. The response is then mapped to the COPARN schema.

    Kindly advice how the debatching can be acheived in this case?


    Regards, Vivin.

    Thursday, July 10, 2014 11:42 AM