cancel
Showing results for 
Search instead for 
Did you mean: 

B1 DI Server

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Happy New Year Sir Gordon,

Thanks for your reply.

Former Member
0 Kudos

Happy new year to you too. Do you plan to try SDK?

Former Member
0 Kudos

Hi Gordon,

I'll try to pick up SDK via DI API as well.

But from my boss' instruction/strategy, it seems to me he's actually targeting data integration issues for this year. So my current focus is understanding how the DI Server works. Especially the limitations.

Thanks!

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

Please refer SAP note 890591 - How does the DI Server license work

You may know some limitation of DI server.

Thanks & Regards,

Nagarajan

Former Member
0 Kudos

In the short time frame, it is hard for you to use any features on DI Server. After all, this is only a DI API wrapper. There is nothing you can do without SDK.

Answers (1)

Answers (1)

former_member217514
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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!