Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10548

Re: File content converision -Header data in Target

$
0
0

sorry i send the incorrect one

File strucure

H01PRISM_GRO           20131211220238   Header

H110000104102                   supplier 1st record

D01420080321320131111REPS3100          POHeader

D03000101996566-0069                                            9.000 +EA 20131211318305      ReceiptDetail    H110000108701  supplier 2nd record

D01420074762320130731P1403010  POheader

D03000105181352-001          Receipt                                   1.000 +EA 2013121180028111        D01420076487220130903P1101000  PO 3rd record

D0300010H59852211254001  Receipt

 

Input structure  If you look at the 3rd PO number there is no supplier no  after content conversion. This one should be mapped to in the header at contol level so if the file has supplier then it works fine .I need to have each record with suppl no

<?xml version="1.0" encoding="utf-8"?>

<ns:mt_GoodsReceiptOutbound xmlns:ns="http://test.com/PRISM/SCM/B2B/Services">

<Batch>

<BatchHeader>

  <DocumentType>H01</DocumentType>

  <DocumentID>PRISM_GRO</DocumentID>

  <RunDate>20131211</RunDate>

  <RunTime>220238</RunTime>

</BatchHeader>

<Supplier>

  <DocumentType>H11</DocumentType>

  <SupplierID>0000104102</SupplierID>

</Supplier>

<POHeader>

  <DocumentType>D01</DocumentType>

  <PONumber>4200803213</PONumber>

  <POIssueDate>20131111</POIssueDate>

  <POPurchOrg>REPS</POPurchOrg>

  <POPlant>3100</POPlant>

</POHeader>

<ReceiptDetail>

   <MovementType>101</MovementType>

  <StorageLocation>0001</StorageLocation>

</ReceiptDetail>

</Batch>

<Batch>

<Supplier>

  <DocumentType>H11</DocumentType>

  <SupplierID>0000108701</SupplierID>

</Supplier>

<POHeader>

  <DocumentType>D01</DocumentType>

  <PONumber>4200747623</PONumber>

  <POIssueDate>20130731</POIssueDate>

  <POPurchOrg>P140</POPurchOrg>

  <POPlant>3010</POPlant>

</POHeader>

<ReceiptDetail>

  <DocumentType>D03</DocumentType>

  <POLineItem>00010</POLineItem>

  <MaterialNumber>5181352-001</MaterialNumber>

  <ReceiptQuantity>1.000</ReceiptQuantity>

  <Filler></Filler>

   <StorageLocation>0001</StorageLocation>

</ReceiptDetail>

</Batch>

<Batch>

<POHeader>

  <DocumentType>D01</DocumentType>

  <PONumber>4200764872</PONumber>

  <POIssueDate>20130903</POIssueDate>

  <POPurchOrg>P110</POPurchOrg>

  <POPlant>1000</POPlant>

</POHeader>

<ReceiptDetail>

  <DocumentType>D03</DocumentType>

  <POLineItem>00010</POLineItem>

  <MaterialNumber>H59852211254001</MaterialNumber>

  <ReceiptQuantity>1.000</ReceiptQuantity>

  </ReceiptDetail>

</Batch>

</ns:mt_GoodsReceiptOutbound>


Viewing all articles
Browse latest Browse all 10548

Trending Articles



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