on 09-22-2016 12:49 PM
Hi,
In SAP B1 (v8.82), I create a picklist based on a salesorder. To keep it simple, the salesorder (and thus also the picklist) contains only one item.
This item a batch dependant.
I want to update the picklist with the picked quantity, providing the batchnumber.
Again, to keep it simple, only one batch is picked, so the picked quantity equals the batch quantity.
The SOAP-command to update the picklist is:
<?xml version="1.0"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<soap:Header>
<MsgHeader xmlns="http://www.sap.com/SBO/DIS">
<SessionID>70AD37EF-CDCF-4776-A789-F1E53851BE85</SessionID>
<ServiceName>PickListsService</ServiceName>
</MsgHeader>
</soap:Header>
<soap:Body>
<Update xmlns="PickListsService">
<PickList xmlns="http://www.sap.com/SBO/DIS">
<Absoluteentry>5</Absoluteentry>
<PickListsLines>
<PickListsLine>
<AbsoluteEntry>5</AbsoluteEntry>
<LineNumber>0</LineNumber>
<OrderEntry>42538</OrderEntry>
<OrderRowID>0</OrderRowID>
<PickedQuantity>15</PickedQuantity>
<BaseObjectType>17</BaseObjectType>
<BatchNumbers>
<BatchNumber>
<BatchNumber>B0922-A</BatchNumber>
<BaseLineNumber>0</BaseLineNumber>
<Quantity>15</Quantity>
</BatchNumber>
</BatchNumbers>
</PickListsLine>
</PickListsLines>
</PickList>
</Update>
</soap:Body>
</soap:Envelope>
The warehouse contains 60 items of batch 'B0922-A', so stock should not be an issue.
I receive error code -4014: "Cannot add row without complete selection of batch/serial numbers"
Should the corresponding salesorder first be updated with the batch, and if that is the case, what SOAP-command has te be used ?
Or am I missing something else ...
Hi Luk,
Under the current design,the batch numbers properties for the base document is not exposed.
As a workaround,first allocate the batch numbers to sales order and then update the picklist.
SAP Note 1947547 mentions the same.
Kind regards,
ANKIT CHAUHAN
SAP SME Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.