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 Integration and OA Framework Development and Extension Cookbook

You're reading from   Oracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook A practical step-by-step guide to develop end-to-end extensions to Oracle E-Business Suite Release 12, with detailed illustrations and explanations

Arrow left icon
Product type Paperback
Published in Mar 2013
Publisher Packt
ISBN-13 9781849687126
Length 398 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 (15) Chapters Close

Oracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Personalizing OA Framework Pages FREE CHAPTER 2. Getting Started with OA Framework Pages 3. Creating a Master Detail Page in OA Framework 4. Adding a Creation Page and LOV Region in OA Framework 5. Advanced OA Framework 6. BI Publisher 7. Desktop Integration 8. Utilities Index

Creating an item


Okay, in this recipe we are going to add an item to a screen. We can add an item to a screen without extending a page as long as the field exists in the view object of the region we are extending. A view object will nearly always contain many more data items than are visible on the screen. To find out the items that are in the view object, we need to do a little bit of investigation into the view object. Once we have checked the available items, we can personalize the page to make the items visible on the screen. We can also order the items in the region we are displaying them.

How to do it...

To add an item to a page, perform the following steps:

  1. Log in to Oracle with XXUSER and select the XX Test Manager Self-Service responsibility.

  2. Navigate to Home | Personal Information.

  3. Click on the Action icon for an employee record.

    We are going to add a new item to the Basic Details region. This item will specify the employee original start date after the Full Name field.

    However, before we add the item, we need to find out some information about the page as we need to know the view object that is used by the Basic Details region and the name of the attribute for the original start date item.

  4. Scroll down to the bottom of the page and click on the About this Page link.

  5. Then, click on the Expand All link.

  6. Scroll down until you see the details for the Basic Details region.

    We can see that the view object for this region is BasicDetailsCurrentVO.

  7. Scroll down and expand the Business Component References Details section.

  8. Click on oracle.apps.per.selfservice.personalinformation.server.BasicDetai lsCurrentVO for the basic details view object.

  9. If we look at the attributes returned by the view object, we will notice that the original start date field is called OriginalDateOfHire:

Now that we have the information about the item we want to add, we can create the item through personalization:

  1. Scroll to the bottom of the page and click on the Return to About Page link.

  2. Scroll down to the bottom of the next page and click on the Return to Page: Personal Information link.

  3. In the Personal Information page, click on the Personalize "Basic Details" link.

  4. In the Personalize Region: Basic Details screen, click on the Create Item icon for the Default Single Column: Basic Details object as shown in the following screenshot:

  5. From the Item Style list, select MessageStyledText to add a display only field.

  6. Set the values of the following properties:

    Property

    Value

    ID

    XXOrigHireDate

    Prompt

    Orig. Hire Date

    View Attribute

    OriginalDateOfHire

    View Instance

    BasicDetailsCurrentVO

  7. Click on the Apply button.

How it works...

We have now added the item, but note that we need to move the item just next to the Full Name field and also the font for the item's data is not the same as the other data. We are going to reorder the item in the region in the next recipe.

You have been reading a chapter from
Oracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook
Published in: Mar 2013
Publisher: Packt
ISBN-13: 9781849687126
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