on 05-21-2015 3:02 AM
Hi,
I am trying to update Inventory Counting using DI server, but my SOAP is responding No Matching Records Found
This is my SOAP,anyone knows what's the tag for updating Inventory Counting?
<?xml version="1.0" encoding="UTF-16"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><SessionID>76D9625D-340F-4DA4-9B82-51F4C2FDAC54</SessionID></env:Header><env:Body><dis:Update xmlns:dis="http://www.sap.com/SBO/DIS"><Service>InventoryCountingsService</Service><DocEntry>11</DocEntry><InventoryCounting><Reference2>FID-2015</Reference2><Remarks>testingto</Remarks><InventoryCountingLines><InventoryCountingLine><ItemCode>AIRCON</ItemCode><WarehouseCode>01</WarehouseCode><CountedQuantity>1</CountedQuantity></InventoryCountingLine></InventoryCountingLines></InventoryCounting></dis:Update></env:Body></env:Envelope>
Thanks,
Raphael
Hi Raphael,
the following is working for me :
<?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>D1998B8B-4DB0-4333-ACE9-C92C2868B086</SessionID>
<ServiceName>InventoryCountingsService</ServiceName>
</MsgHeader>
</soap:Header>
<soap:Body>
<Update xmlns="InventoryCountingsService">
<InventoryCounting xmlns="http://www.sap.com/SBO/DIS">
<DocumentEntry>5</DocumentEntry>
<InventoryCountingLines>
<InventoryCountingLine>
<LineNumber>1</LineNumber>
<ItemCode>A00001</ItemCode>
<Counted>tYES</Counted>
<CountedQuantity>77</CountedQuantity>
</InventoryCountingLine>
</InventoryCountingLines>
</InventoryCounting>
</Update>
</soap:Body>
</soap:Envelope>
regards,
Maik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
7 | |
4 | |
4 | |
3 | |
3 | |
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.