While pressing Save Button how many times Save Pre Change and Save Post Change triggers and when does the commit occur?

Showing Answers 1 - 3 of 3 Answers


  • Aug 30th, 2007

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
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

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions