Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
ADempiere 3.6 Cookbook

You're reading from   ADempiere 3.6 Cookbook Over 100 recipes for extending and customizing ADempiere beyond its standard capabilities

Arrow left icon
Product type Paperback
Published in Mar 2011
Publisher
ISBN-13 9781849513388
Length 332 pages
Edition Edition
Tools
Arrow right icon
Toc

Table of Contents (16) Chapters Close

ADempiere 3.6 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
1. Preface
1. Preparing the Ground 2. ADempiere Customization Part I FREE CHAPTER 3. ADempiere Customization Part II 4. Web services 5. VirtueMart Integration 6. JasperReports with ADempiere 7. PayPal Integration 8. Equifax Integration 9. Mondrian Integration for Analysis 10. E-mail Integration with Mozilla Thunderbird

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. 1. Log in to ADempiere using GardenUser/GardenUser with the GardenWorld User role.

  2. 2. Go to the Web Service Security window.

  3. 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 Oriented Web Services

    • Web Service Method: Create Data_Model Oriented Web Services

    • Table: C_BPartner_Business Partner

    • Description: <your description of service>

    • Comment/Help: <your text>

  1. 4. Go to Web Service Parameter...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image