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

How to create a web service that will add records to UDO in B1 through B1iF

Hi Experts,

I am very new to Integration Framework. I would like to construct a web service that can add / update records to my UDO (document type) through B1iF. Please Help.

Thanks,

SD

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 15, 2015 at 09:03 AM

    Hi,

    Define a scenario step with web service or http inbound and call the UDO Service object via B1 Service call using the "General Service".

    • Check B1i Online help and search for "Web Service and Simplified Web Service Inbound" or "HTTP and Simplified HTTP Inbound".
    • Regarding the UDO service check Help for "Call B1 Service Atom", in chapters 3.1 and 3.2 there is an example for an UDO usage.

    Using web service/http inbound is per definition a synchronous call, therefore please make sure, that you use "SAP Business One DI Single Transaction" in your step design. Because the call is waiting until the DI API process is finished.

    Best regards

    Bastian

    P.S::

    If you don't need the synchronous response from B1i directly, it's better to split into two scenarios:

    1. Web service/http inbound handling the request and a technical response. Using "Call scenario step atom" to call a follow-up UDO integration scenario step.
    2. explicit step 2 to Add/Update UDO information with internal queue inbound.
    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.