index

Package ab_atvdcpr_rules

Support subprograms for the Gift Society Premiums Validation 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               atvdcpr.atvdcpr_code%TYPE,
                            p_desc               atvdcpr.atvdcpr_desc%TYPE,
                            p_value              atvdcpr.atvdcpr_value%TYPE,
                            p_cost               atvdcpr.atvdcpr_cost%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   Code for gift society premiums. VARCHAR2(16) Required Key
p_desc   Description of the gift society premium code. VARCHAR2(120) Required
p_value   Dollar value associated with benefit/premium code. NUMBER(11,2)
p_cost   Cost of the premium to the institution. NUMBER(11,2)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_code  atvdcpr.atvdcpr_code%TYPE,
                     p_desc  atvdcpr.atvdcpr_desc%TYPE,
                     p_value atvdcpr.atvdcpr_value%TYPE DEFAULT NULL,
                     p_cost  atvdcpr.atvdcpr_cost%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_code   Code for gift society premiums. VARCHAR2(16) Required Key
p_desc   Description of the gift society premium code. VARCHAR2(120) Required
p_value   Dollar value associated with benefit/premium code. NUMBER(11,2)
p_cost   Cost of the premium to the institution. NUMBER(11,2)