index

Package sb_scp_timestatus_hist_rules

Support subprograms for the SCP_TIMESTATUS_HIST (sb_scp_timestatus_hist).


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_pidm               sfrstsh.sfrstsh_pidm%TYPE,
                            p_scps_code          sfrstsh.sfrstsh_scps_code%TYPE,
                            p_tmst_code          sfrstsh.sfrstsh_tmst_code%TYPE,
                            p_tmst_date          sfrstsh.sfrstsh_tmst_date%TYPE,
                            p_tmst_maint_ind     sfrstsh.sfrstsh_tmst_maint_ind%TYPE,
                            p_user               sfrstsh.sfrstsh_user%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   Internal identification number of student. NUMBER(8) Required
p_scps_code   SCP code for which the student?s enrollment time status was calculated. VARCHAR2(24) Required
p_tmst_code   Time status code associated with student?s SCP enrollment time status. Validated against STVTMST. VARCHAR2(8) Required
p_tmst_date   Date student?s SCP enrollment time status was calculated. DATE Required
p_tmst_maint_ind   Indicates whether student?s SCP enrollment time status calculation was maintained by the system or overridden by a user. VARCHAR2(4) Required
p_user   The ID of the user who created the record. VARCHAR2(120)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_pidm           sfrstsh.sfrstsh_pidm%TYPE,
                     p_scps_code      sfrstsh.sfrstsh_scps_code%TYPE,
                     p_tmst_code      sfrstsh.sfrstsh_tmst_code%TYPE,
                     p_tmst_date      sfrstsh.sfrstsh_tmst_date%TYPE,
                     p_tmst_maint_ind sfrstsh.sfrstsh_tmst_maint_ind%TYPE,
                     p_user           sfrstsh.sfrstsh_user%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_pidm   Internal identification number of student. NUMBER(8) Required
p_scps_code   SCP code for which the student?s enrollment time status was calculated. VARCHAR2(24) Required
p_tmst_code   Time status code associated with student?s SCP enrollment time status. Validated against STVTMST. VARCHAR2(8) Required
p_tmst_date   Date student?s SCP enrollment time status was calculated. DATE Required
p_tmst_maint_ind   Indicates whether student?s SCP enrollment time status calculation was maintained by the system or overridden by a user. VARCHAR2(4) Required
p_user   The ID of the user who created the record. VARCHAR2(120)