GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Peoplesoft  >  PeopleCode
Go To First  |  Previous Question  |  Next Question 
 PeopleCode  |  Question 22 of 30    Print  
While pressing Save Button how many times Save Pre Change and Save Post Change triggers and when does the commit occur?

  
Total Answers and Comments: 3 Last Update: March 24, 2008     Asked by: Mani 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 30, 2007 06:10:08   #1  
NEELVIZHI        

RE: While pressing Save Button how many times Save Pre...

It depends on which level (record level record field level or component
level) you are placing you peoplecode.


For example:

A page has a scroll area or a grid which contains some fields inside.

Now if you have people code in your save prechange event of the record level or
record field level then it will get executed for all the active rows of your
scroll area. similarly save post change. the commit will happen after each save
prechange.

If you have got 4 active rows in your scroll and you have written same prechange
peoplecode in record level it will be executed 4 times.

To avoid this you have to write this in a component level. Then it will get
executed only once


 
Is this answer useful? Yes | No
December 11, 2007 06:24:11   #2  
surender_engg Member Since: December 2007   Contribution: 5    

RE: While pressing Save Button how many times Save Pre Change and Save Post Change triggers and when does the commit occur?
Hey i dont think it will get executed for all the active rows. It will always gets executed once.
 
Is this answer useful? Yes | No
March 24, 2008 19:08:47   #3  
rpreddy Member Since: March 2008   Contribution: 2    

RE: While pressing Save Button how many times Save Pre Change and Save Post Change triggers and when does the commit occur?
save prechange exicutes for all active rows but savepost change exicutes only once....
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
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