'Event calling sequence in application designer in peoplecode

As there are following event sets in Peoplecode

  • Record Field,
  • Component Record Field,
  • Component Record,
  • Component, etc.

And also they contain events which are common in one or more event sets like field change event is present in both Record Field and Component Record Field..

Then in this case if we have written the field change event, from whose event set does this event gets called?



Solution 1:[1]

The "PeopleSoft Component Processor Flow Chart" is very helpful for determining the sequence of PeopleCode events.

http://peoplesoftcomponentprocessorflowchart.blogspot.com/

A basic flow of useful PeopleCode events when component is first loaded are:

  1. Search Record - SearchInit
  2. Search Record - SearchSave
  3. Component - PreBuild
  4. Record Field - FieldDefault
  5. Record Field - FieldFormula
  6. Record Field - RowInit
  7. Component - PostBuild
  8. Page - Activate

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1