GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Peoplesoft  >  PeopleCode
Go To First  |  Previous Question  |  Next Question 
 PeopleCode  |  Question 21 of 30    Print  
what is the sequence of events fired when a page is saved.

  
Total Answers and Comments: 2 Last Update: October 09, 2009     Asked by: gnana 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Kavitha
 

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.



Above answer was rated as good by the following members:
shalini kumari
October 22, 2007 08:09:43   #1  
Kavitha        

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.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
October 09, 2009 13:47:41   #2  
kishore.kummr Member Since: October 2009   Contribution: 2    

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

For the discussions already made I would add one more event when a page is saved i.e. workflow. So Now series will be
SaveEdit
SavePreChange
Workflow
SavePostChange

Workflow: Only Peoplecode related to Workflow (e.g. Approval processes and Notification purposes) are written.


 
Is this answer useful? Yes | No

 Related Questions

Answer posted by RV on 2005-05-17 18:32:24: Component Buffer consists of rows of buffer fields that hold data for the reocrds associated with the page including primary scrolls, derived work records etc. 
Latest Answer : People code supports these types of functions:1.Build in2.Internal3.External people code4.External non-people code ...

Latest Answer : To add to all this, if deferred processing is started, then if any pending FieldEdits/FieldChange are also executed before SaveEdit starts. ...
Read Answers (4) | Asked by : ramesh

Latest Answer : searchinit peoplecode performs before the search dialogue box displays.search save peoplecode performs after the operator clicks ok in the search record dialogue box. Row select peoplecode is used to filterout rows of data.Prebuild is often used to hide ...
Read Answers (1) | Asked by : guest

Latest Answer : For the discussions already made, I would add one more event when a page is saved, i.e. workflow. So, Now series will beSaveEdit,SavePreChange, Workflow,SavePostChangeWorkflow: Only Peoplecode related to Workflow (e.g. Approval processes and Notification ...
Read Answers (2) | Asked by : gnana

What is the difference between Prebuild & Postbuild events and Saveprechange&SavePostchange? 
Latest Answer : Record level Peoplecode perform for that perticuler record only.Component level Peoplecode performs for all the records which are under that perticuler component. ...

What are the peoplecode events that can be used in Application Engine program? 
Latest Answer : we can use the on-execute event. sometimes we can use the saveprechange event also. ...

What is the main difference between Prebuild and Postbuild events where as both are used to hide or unhide the pages, why two events are needed for the same purpose? Which event is better to write people 
Latest Answer : PreBuild event is the foremost event which triggers at Component Level. If at all there is an error generated at prebuild then the component fails to load before the search itself. Where as PostBuild is triggers after Prebuild and Search of the component. ...


 Sponsored Links

 
Related Articles

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

UML Elements : Sequence Diagram

UML Elements Sequence Diagram In the Unified Modeling Language the sequence diagram is the name that has been given to the Message Sequence Chart The sequence diagram will be responsible for showing various processes or elements that exist together simultaneously and it will often be represented by
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

JavaScript Events Handling

JavaScript Events Handling In this JavaScript tutorial you will learn about handling events in JavaScript what is event handling in JavaScript events in JavaScript events associated with mouse onmousemove onclick ondblclick onmouseout onmouseover events associated with keyboard onkeydown onkeyup onk
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

HR Interview - Telephone Interview Etiquette

Telephone Interview Etiquette When you conduct a telephone interview for a job it is important to show the proper etiquette Not only is it important it is critical is you wish to be hired by the company There are a number of things you will want to do and other things should never be done mosgoogle
 

HR Interview - How To Succeed At HR Interviews

How To Succeed At HR Interviews There are a number of things you will need to do in order to make sure you pass the interview process Your appearance is something that you will want to pay close attention to Even if you feel that your appearance shouldn t be a factor in whether or not you re highere
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape