on 10-16-2006 10:33 AM
Dear all,
In case, i want to query the latest PO added in B1. Which DI message should i use?? Is the PO reponse message follow the schema defined in "Program Files\SAP Manage\SAP Business One ServerTools\SBODI_Server\Schemas"??
Regards,
Kit
Hi Kit,
How about 'querying last index of PO'?
After you get the result, you can use 'getbykey' method.
Regards,
Hyunil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kit,
I know that, but you can use 'getbykey' via DI Server.
When you send these kind of request, you can get the response of what you need. Sample are Below.
<?xml version="1.0" encoding="UTF-16"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<SessionID></SessionID>
</env:Header>
<env:Body>
<dis:GetByKey xmlns:dis="http://www.sap.com/SBO/DIS">
<Object>oPurchaseOrder</Object>
<-- I don't know this element name is correct or not. just try some column names such as 'DocEntry', 'DocNum' or 'Number' -->
<DocEntry></DocEntry>
</dis:GetByKey>
</env:Body>
</env:Envelope>
Regards,
Hyunil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
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.