Symptom
When confirming the Pick Task XXX using web service ManageSiteLogisticsTaskIn, you receive the response "Saved Successfully", however no confirmation is created in the UI.
XXX = Task ID
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Outbound Logistics work center.
- Select the Task Control view.
- Search for the Task ID XXX.
- Select the Conirmations tab
- Notice that no confirmation is created.
Cause
You are confirming a Pick Task which uses both Identified Stock and Serial Number and you are not passing the information in the xml request correctly.
Resolution
As the Serial Number is linked to the Identified Stock, in the xml you need to pass first the Identified Stock and then the Serial Number, in separated <MaterialOutput>. You can use the xml below as example:
<SiteLogisticsTask>
<SiteLogisticTaskID>XXX</SiteLogisticTaskID>
<SiteLogisticTaskUUID>000</SiteLogisticTaskUUID>
<ReferenceObject>
<ReferenceObjectUUID>000</ReferenceObjectUUID>
<OperationActivity>
<OperationActivityUUID>000</OperationActivityUUID>
<MaterialOutput>
<MaterialOutputUUID>000</MaterialOutputUUID>
<ProductID>000</ProductID>
<IdentifiedStockID>000</IdentifiedStockID>
</MaterialOutput>
<MaterialOutput>
<MaterialOutputUUID>000</MaterialOutputUUID>
<ProductID>000</ProductID>
<SerialNumber>
<SerialID>000</SerialID>
</SerialNumber>
</MaterialOutput>
</OperationActivity>
</ReferenceObject>
</SiteLogisticsTask>
Keywords
web; service; logistics; site , KBA , web , logistics , service , AP-SLP-TSK , Site Logistics Task , How To