Accessing PeopleCode Programs

Every PeopleCode program is associated with a PeopleCode event and is often referred to by that name, such as RowInit PeopleCode or FieldChange PeopleCode. These programs are accessible from, and associated with, different items. The following table lists items and associated events.

Note:

During search processing in update modes or add mode, the SearchInit and SearchSave events (in the Component Record column of the table) are available only for the search record associated with a component.

Component Events Component Record Events Component Record Field Events Page Events Record Field Events Menu Events

PostBuild

PreBuild

SavePostChg

SavePreChg

Workflow

RowDelete

RowInit

RowInsert

RowSelect

SaveEdit

SavePostChg

SavePreChg

SeachInit

SearchSave

FieldChange

FieldDefault

FieldEdit

PrePopup

Activate

FieldChange

FieldDefault

FieldEdit

FieldFormula

PrePopup

RowDelete

RowInit

RowInsert

RowSelect

SaveEdit

SavePostChg

SavePreChg

SearchInit

SearchSave

Workflow

ItemSelected

The following table lists types of PeopleCode programs and where to access them in Application Designer.

PeopleCode Programs Location in Application Designer

Components*, component records*, and component record fields

Component definitions

Pages

Page definitions

Record fields

Record definitions

Menu items

Menu definitions

* PeopleCode programs can be associated with components and component records outside of Application Designer. The PeopleSoft Related Content Framework can be used to map application class PeopleCode programs to component and component record events. This allows custom PeopleCode programs to be defined for a component without customizing the component definition in Application Designer. These custom PeopleCode programs can be configured to run before or after any PeopleCode program defined for the same event from the component definition.

Note:

While the PeopleSoft Related Content Framework is used to complete this configuration, these PeopleCode programs do not constitute or render as related content.