GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Peoplesoft  >  PeopleCode

 Print  |  
Question:  what is the sequence of events fired when a page is saved.



October 10, 2007 08:09:43 #1
 Kavitha   Member Since: Visitor    Total Comments: N/A 

RE: what is the sequence of events fired when a page i...
 

Firstly, its SaveEdit

followed by SavePreChange

and finally SavepostChange


The SaveEdit event is initiated whenever a user attempts to save the
component. You can use SaveEdit PeopleCode to validate the consistency of data
in component fields. Whenever a validation involves more than one component
field, you should use SaveEdit PeopleCode. If a validation involves only one
page field, use FieldEdit PeopleCode.


The SavePreChange event is initiated after SaveEdit completes without errors.
SavePreChange PeopleCode provides one final opportunity to manipulate data
before the system updates the database.


After the Component Processor updates the database, it initiates the
SavePostChange event. An error or warning in SavePostChange PeopleCode causes a
runtime error. Avoid errors and warnings in this event. The system issues a SQL
Commit statement after SavePostChange PeopleCode completes successfully.

     

 

Back To Question