Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Kishore Ryali
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

This is the last part of video series to implement Anil's OA Framework Person Details Tutorials in Oracle Application Express.

Objective: Implement Create and Update Person capabilities on my Tutorial02 application. The page at the end of tutorial my application should look similar to below screenshot.

 

Implementation Steps:

A brief overview of steps followed:

  • Create new page 'Create Person' of type 'Form on a Table or View'. Select all columns except WHO columns for the form.
  • Create database trigger on XX_PERSON_DETAILS, to populate WHO columns (Created_By, Creation_Date, Last_Updated_By, Last_Update_Date, Last_Update_Login)

CREATE OR REPLACE TRIGGER "XX_PERSON_DETAILS_T1"
BEFORE INSERT OR UPDATE
ON xx_person_details
FOR EACH ROW
BEGIN
:NEW.last_update_date := SYSDATE;
:NEW.last_update_login := -1;
:NEW.last_updated_by := 71690;
IF INSERTING
THEN
:NEW.creation_date := SYSDATE;
:NEW.created_by := 71690;
END IF;
END;

  • In Search Page (1), Create a button named 'Create' at the bottom of the region to branch to Create Person Page (4). Edit the Branch to clear cache on create person page.

 

  • In Search Page (1), change the report query to add a NULL column 'EDIT_ICON' for Edit. Define a column link on EDIT_ICON to set 'P4_PERSON_ID' and branch to Create Person page (4).



  • In Create Person Page (4), add a hidden field 'P4_REPORT_TITLE'. Add a 'Before Header' computation to populate P4_REPORT_TITLE using SQL query.

select Decode(:P4_PERSON_ID,NULL,'Create Person','Edit Person - ' || :P4_PERSON_ID) from dual

 

  • Use substitution string &P4_REPORT_TITLE. for Page Name, Page Title, Report Title and breadcrumb entry to dynamically change their names to Create Person/Edit Person.

Video:

The video demonstrations follow above implementation steps.

Video for Create Person functionality (9:39 min).

Video for Update Person functionality (10:22 min).

Screenshot of Person Details apex application after create and update person functionalities are implemented. My application can be accessed using the url http://apex.oracle.com/pls/apex/f?p=62577:1


Packaged Application for Create and Update functionalities:

My Packaged applications are created using APEX 3.2 version, you can only import them into APEX with same version. This packaged application has supporting objects i.e. table and sample data, along with apex application. You can import and run it without going through the above steps.

Download Tutorial 03 Packaged Application

Video for deploying packaged application (2:41 min). This video is applicable for deploying packaged applications for my next articles as well.

The zip file has sql files for application (apex_tut03_app.sql) and image (apex_tut02_img.sql). For deploying image, select file type as 'Image Export' as shown in below image.




This is the end of Person Details Tutorial implementation in Oracle Application Express. In the coming article, I will add more features APEX features such as Authentication, Custom templates etc. to it.


Kishore Ryali

Comments   

0 #1 ?????? 2010-05-27 05:47
U.S. Is Said to Expand Secret Military Acts in Mideast Region. ????** The top American commander in the Middle East has ordered a broad expansion of clandestine military activity in an effort to ????** disrupt militant groups or counter threats in Iran
Quote
0 #2 mbt 2010-05-28 04:45
How to create a home business and bring Money. Identify your skills and resources. walking shoes** This is the starting point for any small business, home, or in other ways. What can you do or sell? What you could sell this kind of service? mbt shoes** If they are to maintain the income from regular employment, what kind of time can be complementary to the development of this business?
Quote
0 #3 CindyMCGOWAN 2010-06-18 17:59
When you're in a not good position and have got no cash to move out from that point, you will have to receive the loan. Because that should aid you definitely. I get term loan every time I need and feel myself OK just because of this.
Quote
0 #4 Gucci outlet 2010-07-28 22:04
Good post!As i was passing by here and i read your post.
It's quite interesting.I will look around for more such post.Thanks for sharing..
all star shoes
Quote
0 #5 hdd repair tools 2010-09-08 04:03
Most powerful NTFS partition recovery software not only gets back your lostHard drive repair toolsor formatted files
Quote
0 #6 NIKITABUROV23 2010-09-26 10:29
????????? ?????? ????? ? ?????? ???????????
Quote
+1 #7 Kaithy Aravind Reddy 2010-12-09 20:06
this is very good tutorial, you added screen samples will explain very clear. Thanks man.
Quote
+1 #8 syedh 2013-07-04 05:55
i cant access the videos..
Quote
-1 #9 http://www. 2014-04-29 17:21
Hello my loved oոe! I wish to sɑy that thіs poѕt iis amаzing, nice wrіten aոd include аpproxіmately all significant iոfos.

I'd like to look more posts like this .
Quote

Add comment


Security code
Refresh

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  Apr 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
  1  2  3  4  5  6  7
  8  91011121314
15161718192021
22232425262728
2930     

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner