Apps To Fusion

.......Our Journey from Apps To Fusion

 
  • Increase font size
  • Default font size
  • Decrease font size



Oracle APEX - Person Details Tutorial 03 (Create and Update Person)

E-mail
User Rating: / 1
PoorBest 

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.

Comments (7)add
http://www.sf9458.com
written by ?????? , May 27, 2010
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
report abuse
vote down
vote up
Votes: +0
http://www.C***p-mbt-s***s.net/
written by mbt , May 28, 2010
How to create a home business and bring Money. Identify your skills and resources. walking s***s** 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 s***s** If they are to maintain the income from regular employment, what kind of time can be complementary to the development of this business?
report abuse
vote down
vote up
Votes: +0
answer
written by CindyMCGOWAN , June 18, 2010
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.
report abuse
vote down
vote up
Votes: +0
http://www.saleg***i.net/ g***i outlet
written by g***i outlet , July 28, 2010
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 s***s
report abuse
vote down
vote up
Votes: +0
hdd repair
written by hdd repair tools , September 08, 2010
Most powerful NTFS partition recovery software not only gets back your lostHard drive repair toolsor formatted files
report abuse
vote down
vote up
Votes: +0
??????????? ? ??????
written by NIKITABUROV23 , September 26, 2010
????????? ?????? ????? ? ?????? ???????????
report abuse
vote down
vote up
Votes: +0
Thanks for your good tutorial
written by Kaithy Aravind Reddy , December 09, 2010
this is very good tutorial, you added screen samples will explain very clear. Thanks man.
report abuse
vote down
vote up
Votes: +0
Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security image
Write the displayed characters


busy
Last Updated ( Wednesday, 01 December 2010 20:36 )