index

Package sb_datafile_test_score_rules

Support subprograms for the Datafile Test Score (sb_datafile_test_score).


Program units
p_register_entity  
p_validate  


p_register_entity

Procedure p_register_entity(
    p_operation_type               NUMBER,
    p_tesc_code                    srrtpts.srrtpts_tesc_code%TYPE,
    p_tesc_code_date_origin        srrtpts.srrtpts_tesc_code_date_origin%TYPE,
    p_user_id                      srrtpts.srrtpts_user_id%TYPE DEFAULT gb_common.f_sct_user,
    p_sys_req_ind                  srrtpts.srrtpts_sys_req_ind%TYPE,
    p_data_origin                  srrtpts.srrtpts_data_origin%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_tesc_code   Test Code for which the date origin will established. VARCHAR2(4) Required Key
p_tesc_code_date_origin   Test date origin for the data file. VARCHAR2(4) Required
p_user_id   Unique identification of the user. VARCHAR2(30) Required
p_sys_req_ind   This field indicates that a record is delivered by SunGard and is required by the system. VARCHAR2(1) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(30)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(
    p_tesc_code                    srrtpts.srrtpts_tesc_code%TYPE,
    p_tesc_code_date_origin        srrtpts.srrtpts_tesc_code_date_origin%TYPE,
    p_user_id                      srrtpts.srrtpts_user_id%TYPE DEFAULT gb_common.f_sct_user,
    p_sys_req_ind                  srrtpts.srrtpts_sys_req_ind%TYPE,
    p_data_origin                  srrtpts.srrtpts_data_origin%TYPE DEFAULT NULL)

Validates all the data in the record.

Parameters
p_tesc_code   Test Code for which the date origin will be established. VARCHAR2(4) Required Key
p_tesc_code_date_origin   Test date origin for the data file. VARCHAR2(4) Required
p_user_id   Unique identification of the user. VARCHAR2(30) Required
p_sys_req_ind   This field indicates that a record is delivered by SunGard and is required by the system. VARCHAR2(1) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(30)