index

Package sb_studypath_enrollment_rules

Support subprograms for the Study Path Enrollment API (sb_studypath_enrollment).


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_term_code          sfrensp.sfrensp_term_code%TYPE,
                            p_pidm               sfrensp.sfrensp_pidm%TYPE,
                            p_key_seqno          sfrensp.sfrensp_key_seqno%TYPE,
                            p_ests_code          sfrensp.sfrensp_ests_code%TYPE,
                            p_ests_date          sfrensp.sfrensp_ests_date%TYPE,
                            p_add_date           sfrensp.sfrensp_add_date%TYPE,
                            p_user               sfrensp.sfrensp_user%TYPE,
                            p_data_origin        sfrensp.sfrensp_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_term_code   This is the term for the student study path enrollment. VARCHAR2(24) Required Key
p_pidm   Unique internal ID for individual who has records in the system. NUMBER(8) Required Key
p_key_seqno   This is the sequence number of  the Study Path. NUMBER(2) Required Key
p_ests_code   Students study path  enrollment status for the term. VARCHAR2(8) Required
p_ests_date   The date of the study path enrollment status. DATE Required
p_add_date   The date the student originally enrolled in the study path for the term. DATE Required
p_user   The most recent user to update a record. VARCHAR2(120) Required
p_data_origin   Source system that generated the data. VARCHAR2(120) Required
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_term_code   sfrensp.sfrensp_term_code%TYPE,
                     p_pidm        sfrensp.sfrensp_pidm%TYPE,
                     p_key_seqno   sfrensp.sfrensp_key_seqno%TYPE,
                     p_ests_code   sfrensp.sfrensp_ests_code%TYPE,
                     p_ests_date   sfrensp.sfrensp_ests_date%TYPE,
                     p_add_date    sfrensp.sfrensp_add_date%TYPE,
                     p_user        sfrensp.sfrensp_user%TYPE,
                     p_data_origin sfrensp.sfrensp_data_origin%TYPE)

Validates all data in the record.

Parameters
p_term_code   This is the term for the student study path enrollment. VARCHAR2(24) Required Key
p_pidm   Unique internal ID for individual who has records in the system. NUMBER(8) Required Key
p_key_seqno   This is the sequence number of  the Study Path. NUMBER(2) Required Key
p_ests_code   Students study path  enrollment status for the term. VARCHAR2(8) Required
p_ests_date   The date of the study path enrollment status. DATE Required
p_add_date   The date the student originally enrolled in the study path for the term. DATE Required
p_user   The most recent user to update a record. VARCHAR2(120) Required
p_data_origin   Source system that generated the data. VARCHAR2(120) Required