Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

4. Web services > Configuring a Web service to update a record

Configuring a Web service to update a record

This recipe describes the steps required to configure a Web service to update a record in a table using the generic API, updateData.

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, as shown in the next screenshot:
    • Search Key: UpdateBPartner (choose your text)
    • Name: Update BPartner (choose your text)
    • Web Service: Model Oriented Web Services
    • Web Service Method: Update Data_Model Oriented Web Services
    • Table: C_BPartner_Business Partner
    • Description: <your description of service>
    • Comment/Help: <your text>
    How to do it...
  4. Go to the Web Service Parameter tab and create the following parameters, as shown in the next screenshot:
    • TableName: Set this to C_BPartner
    • RecordID: The value for this will be passed from the Web service request
    • Action: Set this to Update
    How to do it...

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint