index

Package sb_curric_status_event_rules

Support subprograms for the Curriculum Status Event API (sb_curric_status_event).


Program units
p_register_entity   Register 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)

Register 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_csts_code          sorcsts.sorcsts_csts_code%TYPE,
                            p_csts_code_trn      sorcsts.sorcsts_csts_code_trn%TYPE,
                            p_user_id            sorcsts.sorcsts_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        sorcsts.sorcsts_data_origin%TYPE,
                            p_sys_req_ind        sorcsts.sorcsts_sys_req_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_csts_code   Curriculum status code. VARCHAR2(15) Required Key
p_csts_code_trn   Translation value to use instead of the curriculum status value. VARCHAR2(15) Required
p_user_id   Oracle user ID of the user who changed the record. VARCHAR2(30) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(30) Required
p_sys_req_ind   Y/N indicator for whether the curriculum module is required. VARCHAR2(1) Required
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_csts_code     sorcsts.sorcsts_csts_code%TYPE,
                     p_csts_code_trn sorcsts.sorcsts_csts_code_trn%TYPE,
                     p_user_id       sorcsts.sorcsts_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin   sorcsts.sorcsts_data_origin%TYPE,
                     p_sys_req_ind   sorcsts.sorcsts_sys_req_ind%TYPE)

Validates all data in the record.

Parameters
p_csts_code   Curriculum status code. VARCHAR2(15) Required Key
p_csts_code_trn   Translation value to use instead of the curriculum status value. VARCHAR2(15) Required
p_user_id   Oracle user ID of the user who changed the record. VARCHAR2(30) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(30) Required
p_sys_req_ind   Y/N indicator for whether the curriculum module is required. VARCHAR2(1) Required