Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle E-Business Suite R12 Core Development and Extension Cookbook

You're reading from   Oracle E-Business Suite R12 Core Development and Extension Cookbook Building extensions in Oracle E-Business Suite is greatly simplified when you follow the step-by-step instructions in this book. Whether novice or pro, this is a great tutorial with over 60 recipes and stacks of screenshots.

Arrow left icon
Product type Paperback
Published in May 2012
Publisher Packt
ISBN-13 9781849684842
Length 480 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Andy Penver Andy Penver
Author Profile Icon Andy Penver
Andy Penver
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Oracle E-Business Suite R12 Core Development and Extension Cookbook
Credits
About the Author
About the Reviewers
1. www.PacktPub.com
2. Preface
1. Creating Concurrent Programs FREE CHAPTER 2. Oracle Forms 3. Advanced Oracle Forms 4. Forms Personalization 5. Workflow 6. Utilities

Calling an API


We are now going to complete the workflow by adding a call to an API if the Absence Approval Notification is approved.

To add this function to the diagram, perform the following tasks:

  • Creating a function to call database package

  • Adding a function to a process

  • Testing the workflow

Creating a function to call the database package

We can add a new function to the workflow by selecting the New Function button in the Process Diagram toolbar. We are going to call an Oracle API to create an absence record for the employee.

How to do it...

To create a function to call an API, we will perform the following steps:

  1. 1. Open the XXHRIABS workflow in the workflow builder.

  2. 2. Navigate to XXHRIABS | XXHR Inbound Absence Process | Processes.

  3. 3. Double-click the XXHR Inbound Absences process and the Process Diagram window will open.

  4. 4. Click the New Function icon on the toolbar in the XXHR Inbound Absences window.

  5. 5. Click the mouse on the process diagram when the mouse changes to a crosshair and the...

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