index

Package ab_atvauxl_rules

Support subprograms for Auxiliary Code Table.


Program units
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.


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_code               atvauxl.atvauxl_code%TYPE,
                            p_desc               atvauxl.atvauxl_desc%TYPE,
                            p_dcpr_code          atvauxl.atvauxl_dcpr_code%TYPE,
                            p_donr_ind           atvauxl.atvauxl_donr_ind%TYPE,
                            p_clas_ind           atvauxl.atvauxl_clas_ind%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_code   Auxiliary Code. VARCHAR2(20) Required Key
p_desc   Auxiliary Code Description. VARCHAR2(120) Required
p_dcpr_code   Premium Code associated with the Auxiliary Code. VARCHAR2(16)
p_donr_ind   Indicator for whether Donor Category is associated with the Auxiliary Code. VARCHAR2(4)
p_clas_ind   Indicator for whether Preferred Class is associated with the Auxiliary Code. VARCHAR2(4)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_code      atvauxl.atvauxl_code%TYPE,
                     p_desc      atvauxl.atvauxl_desc%TYPE,
                     p_dcpr_code atvauxl.atvauxl_dcpr_code%TYPE DEFAULT NULL,
                     p_donr_ind  atvauxl.atvauxl_donr_ind%TYPE DEFAULT NULL,
                     p_clas_ind  atvauxl.atvauxl_clas_ind%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_code   Auxiliary Code. VARCHAR2(20) Required Key
p_desc   Auxiliary Code Description. VARCHAR2(120) Required
p_dcpr_code   Premium Code associated with the Auxiliary Code. VARCHAR2(16)
p_donr_ind   Indicator for whether Donor Category is associated with the Auxiliary Code. VARCHAR2(4)
p_clas_ind   Indicator for whether Preferred Class is associated with the Auxiliary Code. VARCHAR2(4)