5.2.1 Functions in Hook Packages

This topic provides an overview of Functions in Hook Packages.

Different functions available in the Hook Package of a Maintenance Form are:
  1. 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.

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

  3. Fn_pre_check_mandatory
  4. Fn_post_check_mandatory

    Any extra mandatory checks on the field values from the screen can be written here.

  5. Fn_pre_query
  6. Fn_post_query

    Any specific logic while querying can be written in these functions. It is called from fn_query of the main package.

  7. Fn_pre_upload_db
  8. Fn_post_upload_db

    Any logic while uploading data to tables can be written here.

  9. Fn_pre_default_and_validate
  10. 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.