index

Package sb_transfer_crse_rules

Support subprograms for the Transfer Course API (sb_transfer_crse).


Program units
p_register_entity  
p_register_entity  
p_validate  


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_sbgi_code          shbtatc.shbtatc_sbgi_code%TYPE,
                            p_program            shbtatc.shbtatc_program%TYPE,
                            p_tlvl_code          shbtatc.shbtatc_tlvl_code%TYPE,
                            p_subj_code_trns     shbtatc.shbtatc_subj_code_trns%TYPE,
                            p_crse_numb_trns     shbtatc.shbtatc_crse_numb_trns%TYPE,
                            p_term_code_eff_trns shbtatc.shbtatc_term_code_eff_trns%TYPE,
                            p_trns_title         shbtatc.shbtatc_trns_title%TYPE,
                            p_trns_low_hrs       shbtatc.shbtatc_trns_low_hrs%TYPE,
                            p_trns_high_hrs      shbtatc.shbtatc_trns_high_hrs%TYPE,
                            p_trns_review_ind    shbtatc.shbtatc_trns_review_ind%TYPE,
                            p_tast_code          shbtatc.shbtatc_tast_code%TYPE,
                            p_trns_catalog       shbtatc.shbtatc_trns_catalog%TYPE,
                            p_tgrd_code_min      shbtatc.shbtatc_tgrd_code_min%TYPE,
                            p_group              shbtatc.shbtatc_group%TYPE,
                            p_group_primary_ind  shbtatc.shbtatc_group_primary_ind%TYPE,
                            p_protect_ind        shbtatc.shbtatc_protect_ind%TYPE DEFAULT 'N',
                            p_crse_desc          shbtatc.shbtatc_crse_desc%TYPE,
                            p_user_id            shbtatc.shbtatc_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        shbtatc.shbtatc_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_sbgi_code   Transferring institution code. VARCHAR2(6) Required Key
p_program   Degree program (if any) associated with the transferring course. VARCHAR2(12) Required Key
p_tlvl_code   Level associated with the transferring course. VARCHAR2(2) Required Key
p_subj_code_trns   Subject code of the transferring course. VARCHAR2(60) Required Key
p_crse_numb_trns   Course number of the transferring course. VARCHAR2(60) Required Key
p_term_code_eff_trns   Effective term of the transferring course. VARCHAR2(6) Required Key
p_trns_title   Course title of the transferring course. VARCHAR2(30) Required
p_trns_low_hrs   Transferring course low hours. NUMBER(7,3)
p_trns_high_hrs   Transferring course high hours. NUMBER(7,3)
p_trns_review_ind   Transferring review indicator.  Y means the course has equivalent(s), N means the course has no equivalents, null means the course has not yet been reviewed. VARCHAR2(1)
p_tast_code   Status of the transferring course. VARCHAR2(2) Required
p_trns_catalog   Transferring source catalog. VARCHAR2(4)
p_tgrd_code_min   Minimum transfer grade allowed for the course. VARCHAR2(6)
p_group   Group connector for many-to-one transfer course relationships. VARCHAR2(2) Key
p_group_primary_ind   Group primary indicator.  Must be Y or null.  Only one per group is allowed. VARCHAR2(1)
p_protect_ind   Indicator for whether to protect from import process updates.  Must be Y or N.  VARCHAR2(1)
p_crse_desc   Narrative text that provides more descriptive information than can fit into the title field. CLOB
p_user_id   User ID of the user who created or last updated the record. VARCHAR2(30)
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_sbgi_code          shbtatc.shbtatc_sbgi_code%TYPE,
                     p_program            shbtatc.shbtatc_program%TYPE,
                     p_tlvl_code          shbtatc.shbtatc_tlvl_code%TYPE,
                     p_subj_code_trns     shbtatc.shbtatc_subj_code_trns%TYPE,
                     p_crse_numb_trns     shbtatc.shbtatc_crse_numb_trns%TYPE,
                     p_term_code_eff_trns shbtatc.shbtatc_term_code_eff_trns%TYPE,
                     p_trns_title         shbtatc.shbtatc_trns_title%TYPE,
                     p_trns_low_hrs       shbtatc.shbtatc_trns_low_hrs%TYPE DEFAULT NULL,
                     p_trns_high_hrs      shbtatc.shbtatc_trns_high_hrs%TYPE DEFAULT NULL,
                     p_trns_review_ind    shbtatc.shbtatc_trns_review_ind%TYPE DEFAULT NULL,
                     p_tast_code          shbtatc.shbtatc_tast_code%TYPE,
                     p_trns_catalog       shbtatc.shbtatc_trns_catalog%TYPE DEFAULT NULL,
                     p_tgrd_code_min      shbtatc.shbtatc_tgrd_code_min%TYPE DEFAULT NULL,
                     p_group              shbtatc.shbtatc_group%TYPE,
                     p_group_primary_ind  shbtatc.shbtatc_group_primary_ind%TYPE DEFAULT NULL,
                     p_protect_ind        shbtatc.shbtatc_protect_ind%TYPE DEFAULT 'N',
                     p_crse_desc          shbtatc.shbtatc_crse_desc%TYPE DEFAULT NULL,
                     p_user_id            shbtatc.shbtatc_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin        shbtatc.shbtatc_data_origin%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_sbgi_code   Transferring institution code. VARCHAR2(6) Required Key
p_program   Degree program (if any) associated with the transferring course. VARCHAR2(12) Required Key
p_tlvl_code   Level associated with the transferring course. VARCHAR2(2) Required Key
p_subj_code_trns   Subject code of the transferring course. VARCHAR2(60) Required Key
p_crse_numb_trns   Course number of the transferring course. VARCHAR2(60) Required Key
p_term_code_eff_trns   Effective term of the transferring course. VARCHAR2(6) Required Key
p_trns_title   Course title of the transferring course. VARCHAR2(30) Required
p_trns_low_hrs   Transferring course low hours. NUMBER(7,3)
p_trns_high_hrs   Transferring course high hours. NUMBER(7,3)
p_trns_review_ind   Transferring review indicator.  Y means the course has equivalent(s), N means the course has no equivalents, null means the course has not yet been reviewed. VARCHAR2(1)
p_tast_code   Status of the transferring course. VARCHAR2(2) Required
p_trns_catalog   Transferring source catalog. VARCHAR2(4)
p_tgrd_code_min   Minimum transfer grade allowed for the course. VARCHAR2(6)
p_group   Group connector for many-to-one transfer course relationships. VARCHAR2(2) Key
p_group_primary_ind   Group primary indicator.  Must be Y or null.  Only one per group is allowed. VARCHAR2(1)
p_protect_ind   Indicator for whether to protect from import process updates.  Must be Y or N.  VARCHAR2(1)
p_crse_desc   Narrative text that provides more descriptive information than can fit into the title field. CLOB
p_user_id   User ID of the user who created or last updated the record. VARCHAR2(30)
p_data_origin   Source system that created or updated the row. VARCHAR2(30)