Tuesday 25 December 2018

FieldEdit vs FieldChange Event in PeopleSoft

FieldEdit event is more of a validation event used to validate the value entered in a field and throw error/warning if the value is not what is supposed to be when the cursor is tabbed out. This event won't allow the user to save transaction unless and until the appropriate value isn't provided in the field and the validation passed. The FieldChange PeopleCode fires after the field value has been changed.


FieldChange event is used where you want to change other fields in response to when another field is changed. The FieldEdit PeopleCode fires before the field value 
is actually changed.


HAPPY LEARNING:)

PreBuild Vs PostBuild Event in PeopleSoft

PreBuild fires before any PeopleCode code event on all the rows and fields in the component such as FieldDefault and RowInit. During the PreBuild event, there will not be any data in the component buffer other than the search record as it's executing prior to the component build process.

During the PostBuild event, you will have access to the data read from the database into the component buffer.

PreBuild and PostBuild is most commonly used to hide or unhide pages.



HAPPY LEARNING :)

FieldEdit vs FieldChange Event in PeopleSoft

FieldEdit event is more of a validation event used to validate the value entered in a field and throw error/warning if the value is not wh...