O'Reilly logo

ADempiere 3.6 Cookbook by Ajit Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring a Web service to create a record

This recipe describes the steps required to configure a Web service to create a new record in a table. It will be using the generic API, createData. We have taken an example where we would like to create a business partner in the system using the Web service.

Getting ready

Make sure that you have completed the steps mentioned in recipes 1 and 2 of this chapter.

How to do it...

  1. Log in to ADempiere using GardenUser/GardenUser with the GardenWorld User role.
  2. Go to the Web Service Security window.
  3. Click on the New Record and enter the following on the Web Service Type tab, as shown in the next screenshot:
    • Search Key: CreateBPartner (choose your text)
    • Name: Create BPartner (choose your text)
    • Web Service: Model ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required