index

Package sb_centricperiod_rules

Support subprograms for the CENTRICPERIOD (sb_centricperiod).


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               sobscps.sobscps_code%TYPE,
                            p_desc               sobscps.sobscps_desc%TYPE,
                            p_user_id            sobscps.sobscps_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        sobscps.sobscps_data_origin%TYPE,
                            p_scpc_code          sobscps.sobscps_scpc_code%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   Student Centric Period. VARCHAR2(6) Required Key
p_desc   Student Centric Period Description. VARCHAR2(30) Required
p_user_id   ID of the most recent user to create or update the row in the SOBSCPS table. VARCHAR2(30) Required
p_data_origin   Source system that generated the data. VARCHAR2(30) Required
p_scpc_code   Cycle Code for the student centric period. VARCHAR2(6) Required
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_code        sobscps.sobscps_code%TYPE,
                     p_desc        sobscps.sobscps_desc%TYPE,
                     p_user_id     sobscps.sobscps_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin sobscps.sobscps_data_origin%TYPE,
                     p_scpc_code   sobscps.sobscps_scpc_code%TYPE)

Validates all data in the record.

Parameters
p_code   Student Centric Period. VARCHAR2(6) Required Key
p_desc   Student Centric Period Description. VARCHAR2(30) Required
p_user_id   ID of the most recent user to create or update the row in the SOBSCPS table. VARCHAR2(30) Required
p_data_origin   Source system that generated the data. VARCHAR2(30) Required
p_scpc_code   Cycle Code for the student centric period. VARCHAR2(6)