5.2.1 Functions in Hook Packages
This topic provides an overview of Functions in Hook Packages.
- Skip Handler: Pr_Skip_Handler
This can be used to skip the logic written in another release. For Example: logic written in KERNEL release can be skipped in CLUSTER release.
- Fn_post_bulid_type_structure
If any change has to be made in the field values obtained from the form before the start of processing, code can be written here.
- Fn_pre_check_mandatory
- Fn_post_check_mandatory
Any extra mandatory checks on the field values from the screen can be written here.
- Fn_pre_query
- Fn_post_query
Any specific logic while querying can be written in these functions. It is called from fn_query of the main package.
- Fn_pre_upload_db
- Fn_post_upload_db
Any logic while uploading data to tables can be written here.
- Fn_pre_default_and_validate
- Fn_post_default_and_validate
Any release-specific logic for defaulting and validation can be written here. It is called from the fn_default_and_validate in the main package.
Parent topic: Extensibility in Backend Coding