Skip to Content
author's profile photo Former Member
Former Member

DI Server Messsage

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 09:38 AM

    Hi Kit,

    How about 'querying last index of PO'?

    After you get the result, you can use 'getbykey' method.

    Regards,

    Hyunil.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 05:34 AM

    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"?>

    http://schemas.xmlsoap.org/soap/envelope/">

    <env:Header>

    <SessionID></SessionID>

    </env:Header>

    <env:Body>

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.