Hi all,
we're trying to create a delivery note with DI server for items managed by serial number and sales bom.
This is a sample xml:
<?xml version="1.0" encoding="utf-16"?>
http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<SessionID>F6166595-C4E0-4B5E-B44C-85CB04FAA0C9</SessionID>
</env:Header>
<env:Body>
http://www.sap.com/SBO/DIS" CommandID="ConsegnaOpen">
<BOM>
<BO>
<AdmInfo>
<Object>oDeliveryNotes</Object>
</AdmInfo>
<Documents>
<row>
<CardCode>C9999</CardCode>
</row>
</Documents>
<Document_Lines>
<row>
<ItemCode>S610STW-220</ItemCode>
<Quantity>220</Quantity>
</row>
</Document_Lines>
<SerialNumbers>
<row>
<InternalSerialNumber>AD00003</InternalSerialNumber>
<SystemSerialNumber>3</SystemSerialNumber>
<BaseLineNumber>1</BaseLineNumber>
</row>
</SerialNumbers>
</BO>
</BOM>
</dis:AddObject>
</env:Body>
</env:Envelope>
And this is the returned error: "You should use existing serial/batch numbers for this document type [(----) 29-51]"
Any idea why?
Thanks
Fabio