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

B1 DI Server

Good Day Mentors,

I'm a newbie with regards to using the DI Server.

I've read the basic documentation from the SDK help file, and I want to confirm that what I understood is correct. 😕

I know that the DI Services can do all CRUD operations.

Does DI Services have the ability to do actual conversion? (e.g. convert a Sales Order to an A/R Invoice via SOAP call)

If yes, can someone please give a summary on how to do it? I can't seem to find the information from the documentation.

Thanks in advance! 😊

Sean

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 04, 2014 at 12:45 AM

    Hi Sean,

    DI server is a server for data interface to maintain your B1 database. You need SDK to use it. There is no simple answer for your question.

    Thanks,

    Gordon

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 06, 2014 at 03:15 AM

    The DI Server is a wrapper to the DI API. In the DI API you need to set BaseEntry, BaseLine, BaseType, BaseOpenQuantity on the Document_Lines object to link documents. In Business One the Documents are actually linked on the target document with the base document saved as the BaseEntry, BaseLine and Base Type on the Document_Lines object. This allows multiple documents to be linked to the base document.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Jeff,

      Thanks for the explanation Jeff. I'll try to test this idea when I get the time soon.

      But let me see if I understood it correctly. Please be patient since I'm really a newbie with regards to using the DI Server, XML, soap calls, and DI API SDK(where the DI Server is a wrapper for). 😳

      So when converting lets say a couple of Sales Orders into an A/R Invoice, following what you said from your reply, when I commit or send the Create SOAP call for the invoice with linked Sales Order Entries in the DocumentLines like the one below

      <dis:Add xmlns:dis="http://www.sap.com/SBO/DIS">
               <Service>InvoicesService</Service>
               <Document>
      <DocumentLines>
      <!-- Some lines with BaseEntry, BaseLine, BaseType based on Sales Orders -->
        </DocumentLines>
               </Document>
      </dis:Add>
      

      When successful, the Sales Orders will be in a way converted to A/R Invoice?

      Happy New Year!

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.