index

Package ab_custom_search_detail_rules

This package provides support subprograms for the Custom Search Detail API (ab_custom_search_detail).


Program units
f_parent_exists   This function checks to see if a parent record for the search detail record exists.
p_register_entity   Registers the attribute value pairs to the message cache for delete operations.
p_register_entity   Registers the attribute/value pairs to the message cache for create and update operations.
p_validate   Validates all data in the record.


f_parent_exists

Function f_parent_exists(p_pidm      aordosr.aordosr_pidm%TYPE,
                         p_srch_name aordosr.aordosr_srch_name%TYPE)
  RETURN VARCHAR2

This function checks to see if a parent record for the search detail record exists.

Parameters
p_pidm   Unique identifier (PIDM) of the Advancement Officer defining the search criteria. NUMBER(8) Required Key
p_srch_name   Name for the set of personalized search criteria. VARCHAR2(30) Required Key


p_register_entity

Procedure p_register_entity(p_operation_type     NUMBER,
                            p_internal_record_id gb_common.internal_record_id_type)

Registers the attribute value pairs to the message cache for delete operations.
This signature uses the ROWID only for delete operations.

Parameters
p_operation_type   Type of DML operation: create, update, delete. NUMBER Required
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_register_entity

Procedure p_register_entity(p_operation_type     NUMBER,
                            p_pidm               aordosr.aordosr_pidm%TYPE,
                            p_srch_name          aordosr.aordosr_srch_name%TYPE,
                            p_dosr_code          aordosr.aordosr_dosr_code%TYPE,
                            p_disp_seqno         aordosr.aordosr_disp_seqno%TYPE,
                            p_disp_ind           aordosr.aordosr_disp_ind%TYPE,
                            p_user_id            aordosr.aordosr_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        aordosr.aordosr_data_origin%TYPE,
                            p_internal_record_id gb_common.internal_record_id_type)

Registers the attribute/value pairs to the message cache for create and update operations.
 
This signature registers all parameters.

Parameters
p_operation_type   Type of DML operation: create, update, delete. NUMBER Required
p_pidm   Unique identifier (PIDM) of the Advancement Officer defining the search criteria. NUMBER(8) Required Key
p_srch_name   Name for the set of personalized search criteria. VARCHAR2(30) Required Key
p_dosr_code   Advancement Officer Search Option Code. VARCHAR2(10) Required Key
p_disp_seqno   Display Order Sequence Number. NUMBER(2) Required
p_disp_ind   Indicator for whether the search option should be displayed on the search page. VARCHAR2(1) Required
p_user_id   User ID of the person who created or last updated the row. VARCHAR2(30) Required
p_data_origin   Source system that generated the data. VARCHAR2(30)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_pidm        aordosr.aordosr_pidm%TYPE,
                     p_srch_name   aordosr.aordosr_srch_name%TYPE,
                     p_dosr_code   aordosr.aordosr_dosr_code%TYPE,
                     p_disp_seqno  aordosr.aordosr_disp_seqno%TYPE,
                     p_disp_ind    aordosr.aordosr_disp_ind%TYPE,
                     p_user_id     aordosr.aordosr_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin aordosr.aordosr_data_origin%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_pidm   Unique identifier (PIDM) of the Advancement Officer defining the search criteria. NUMBER(8) Required Key
p_srch_name   Name for the set of personalized search criteria. VARCHAR2(30) Required Key
p_dosr_code   Advancement Officer Search Option Code. VARCHAR2(10) Required Key
p_disp_seqno   Display Order Sequence Number. NUMBER(2) Required
p_disp_ind   Indicator for whether the search option should be displayed on the search page. VARCHAR2(1) Required
p_user_id   User ID of the person who created or last updated the row. VARCHAR2(30) Required
p_data_origin   Source system that generated the data. VARCHAR2(30)