Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8735

Invalid row number on importing xml file

$
0
0

Hi,

 

I  am having error in adding xml file,

When I try to add this xml format, it's okay

<BOM><BO><AdmInfo><Object>13</Object><Version>2</Version></AdmInfo><Documents><row><Series>229</Series><CardCode>WALK-IN</CardCode><DocDate>20140323</DocDate><SalesPersonCode>5</SalesPersonCode><JournalMemo>A/R Invoice - WALK-IN</JournalMemo><NumAtCard>PSG-03232014-BATCH001</NumAtCard><Comments>PSG-03232014-BATCH001</Comments><DocTotal>15908.20</DocTotal></row></Documents><Document_Lines><row><ItemCode>000007</ItemCode><Quantity>1</Quantity><PriceAfterVAT>49.5</PriceAfterVAT><UnitPrice>44.2</UnitPrice><WarehouseCode>PSG</WarehouseCode><UseBaseUnits>tYES</UseBaseUnits></row>></Document_Lines></BO></BOM>

But when it try this kind of format it is showing invalid row number

 

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header></env:Header><env:Body><dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS" CommandID="Add invoice"><BOM><BO><AdmInfo><Object>13</Object><Version>2</Version></AdmInfo><Documents><row><Series>229</Series><CardCode>WALK-IN</CardCode><DocDate>20140323</DocDate><SalesPersonCode>5</SalesPersonCode><JournalMemo>A/R Invoice - WALK-IN</JournalMemo><NumAtCard>PSG-03232014-BATCH001</NumAtCard><Comments>PSG-03232014-BATCH001</Comments><DocTotal>15908.20</DocTotal></row></Documents><Document_Lines><row><ItemCode>000007</ItemCode><Quantity>1</Quantity><PriceAfterVAT>49.5</PriceAfterVAT><UnitPrice>44.2</UnitPrice><WarehouseCode>PSG</WarehouseCode><UseBaseUnits>tYES</UseBaseUnits></row>></Document_Lines></BO></BOM></dis:AddObject></env:Body></env:Envelope>


Viewing all articles
Browse latest Browse all 8735

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>