Skip to Content

Invalid SerialAndBatchNumbersBaseLine Error When StockTransfers via DIServer

Hello,

I have got an issue when posting StockTramsfer with Batch Number and Bin Allocations via DI Server.

Here is my XML Request (I'm trying to move three batches from three different locations to one location).


<?xml version="1.0" encoding="UTF-16"?>
http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<SessionID>35973B84-8244-46CA-8AFB-032EA45B5549</SessionID>
</env:Header>
<env:Body>
http://www.sap.com/SBO/DIS">
<Service>StockTransferService</Service>
<StockTransfer>
<DocObjectCode>67</DocObjectCode>
<StockTransferLines>
<StockTransferLine>
<ItemCode>01.28.20.0</ItemCode>
<Quantity>30</Quantity>
<LineNum>0</LineNum>
<BaseEntry>37</BaseEntry>
<BaseLine>0</BaseLine>
<BaseType>InventoryTransferRequest</BaseType>
<ItemDescription>Test001</ItemDescription>
<FromWarehouseCode>01</FromWarehouseCode>
<WarehouseCode>01</WarehouseCode>
<BatchNumbers>
<BatchNumber>
<BaseLineNumber>0</BaseLineNumber>
<BatchNumber>P001</BatchNumber>
<Quantity>10</Quantity>
</BatchNumber>
<BatchNumber>
<BaseLineNumber>0</BaseLineNumber>
<BatchNumber>P001</BatchNumber>
<Quantity>10</Quantity>
</BatchNumber>
<BatchNumber>
<BaseLineNumber>0</BaseLineNumber>
<BatchNumber>P001</BatchNumber>
<Quantity>10</Quantity>
</BatchNumber>
</BatchNumbers>
<StockTransferLinesBinAllocations>
<StockTransferLinesBinAllocation>
<BinAbsEntry>4</BinAbsEntry>
<Quantity>10</Quantity>
<SerialAndBatchNumbersBaseLine>0</SerialAndBatchNumbersBaseLine>
<BaseLineNumber>0</BaseLineNumber>
<BinActionType>batFromWarehouse</BinActionType>
</StockTransferLinesBinAllocation>
<StockTransferLinesBinAllocation>
<BinAbsEntry>29</BinAbsEntry>
<Quantity>10</Quantity>
<SerialAndBatchNumbersBaseLine>0</SerialAndBatchNumbersBaseLine>
<BaseLineNumber>0</BaseLineNumber>
<BinActionType>batToWarehouse</BinActionType>
</StockTransferLinesBinAllocation>
<StockTransferLinesBinAllocation>
<BinAbsEntry>2</BinAbsEntry>
<Quantity>10</Quantity>
<SerialAndBatchNumbersBaseLine>1</SerialAndBatchNumbersBaseLine>
<BaseLineNumber>0</BaseLineNumber>
<BinActionType>batFromWarehouse</BinActionType>
</StockTransferLinesBinAllocation>
<StockTransferLinesBinAllocation>
<BinAbsEntry>29</BinAbsEntry>
<Quantity>10</Quantity>
<SerialAndBatchNumbersBaseLine>1</SerialAndBatchNumbersBaseLine>
<BaseLineNumber>0</BaseLineNumber>
<BinActionType>batToWarehouse</BinActionType>
</StockTransferLinesBinAllocation>
<StockTransferLinesBinAllocation>
<BinAbsEntry>3</BinAbsEntry>
<Quantity>10</Quantity>
<SerialAndBatchNumbersBaseLine>2</SerialAndBatchNumbersBaseLine>
<BaseLineNumber>0</BaseLineNumber>
<BinActionType>batFromWarehouse</BinActionType>
</StockTransferLinesBinAllocation>
<StockTransferLinesBinAllocation>
<BinAbsEntry>29</BinAbsEntry>
<Quantity>10</Quantity>
<SerialAndBatchNumbersBaseLine>2</SerialAndBatchNumbersBaseLine>
<BaseLineNumber>0</BaseLineNumber>
<BinActionType>batToWarehouse</BinActionType>
</StockTransferLinesBinAllocation>
</StockTransferLinesBinAllocations>
</StockTransferLine>
</StockTransferLines>
</StockTransfer>
</dis:Add>
</env:Body>
</env:Envelope>

The error received from DI Server response is: Invalid \"SerialAndBatchNumbersBaseLine\"; specify a valid \"SerialAndBatchNumbersBaseLine\""

Kind regards,

Pawel

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers