index

Package sb_pesc_status_export_rules

This package provides the support subprograms for the PESC Status Export API (sb_xml_status_export).
"PESC" stands for "Postsecondary Electronic Standards Council." For use with internal processing to produce the XML transcript.


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 the 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 the 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                  shreptd.shreptd_pidm%TYPE,
                            p_request_seq_no        shreptd.shreptd_request_seq_no%TYPE,
                            p_user_id               shreptd.shreptd_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_document_id           shreptd.shreptd_document_id%TYPE,
                            p_doc_id_extract_date   shreptd.shreptd_doc_id_extract_date%TYPE,
                            p_doc_id_rcpt_proc_date shreptd.shreptd_doc_id_rcpt_proc_date%TYPE,
                            p_doc_id_resp_proc_date shreptd.shreptd_doc_id_resp_proc_date%TYPE,
                            p_doc_id_resp_status    shreptd.shreptd_doc_id_resp_status%TYPE,
                            p_doc_id_receipt_status shreptd.shreptd_doc_id_receipt_status%TYPE,
                            p_document_type         shreptd.shreptd_document_type%TYPE,
                            p_data_origin           shreptd.shreptd_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 the parameters.

Parameters
p_operation_type   Type of DML operation: create, update, delete. NUMBER Required.
p_pidm   Internal identifier (PIDM) of the student. NUMBER(8) Required Key.
p_request_seq_no   Transcript request number. NUMBER(3) Required.
p_user_id   Oracle ID of the user who changed the record. VARCHAR2(30) Required.
p_document_id   The document identification number associated with a transcript sent to or received from an institution. VARCHAR2(30) Required Key.
p_doc_id_extract_date   The date the file was extracted. DATE.
p_doc_id_rcpt_proc_date   The date the document ID file was processed by the receiving institution. DATE.
p_doc_id_resp_proc_date   The date the document ID response file was processed. DATE.
p_doc_id_resp_status   The status of the document ID response file from the receiving institution. VARCHAR2(2).
p_doc_id_receipt_status   The status of the document ID receipt file from the receiving institution. VARCHAR2(2).
p_document_type   The response document type associated with the particular document id. 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_pidm                  shreptd.shreptd_pidm%TYPE,
                     p_request_seq_no        shreptd.shreptd_request_seq_no%TYPE,
                     p_user_id               shreptd.shreptd_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_document_id           shreptd.shreptd_document_id%TYPE,
                     p_doc_id_extract_date   shreptd.shreptd_doc_id_extract_date%TYPE DEFAULT NULL,
                     p_doc_id_rcpt_proc_date shreptd.shreptd_doc_id_rcpt_proc_date%TYPE DEFAULT NULL,
                     p_doc_id_resp_proc_date shreptd.shreptd_doc_id_resp_proc_date%TYPE DEFAULT NULL,
                     p_doc_id_resp_status    shreptd.shreptd_doc_id_resp_status%TYPE DEFAULT NULL,
                     p_doc_id_receipt_status shreptd.shreptd_doc_id_receipt_status%TYPE DEFAULT NULL,
                     p_document_type         shreptd.shreptd_document_type%TYPE DEFAULT NULL,
                     p_data_origin           shreptd.shreptd_data_origin%TYPE DEFAULT NULL);

Validates all the data in the record.

Parameters
p_pidm   Internal identifier (PIDM) of the student. NUMBER(8) Required Key.
p_request_seq_no   Transcript request number. NUMBER(3) Required.
p_user_id   Oracle ID of the user who changed the record. VARCHAR2(30) Required.
p_document_id   The document identification number associated with a transcript sent to or received from an institution. VARCHAR2(30) Required Key.
p_doc_id_extract_date   The date the file was extracted. DATE.
p_doc_id_rcpt_proc_date   The date the document ID file was processed by the receiving institution. DATE.
p_doc_id_resp_proc_date   The date the document ID response file was processed. DATE.
p_doc_id_resp_status   The status of the document ID response file from the receiving institution. VARCHAR2(2).
p_doc_id_receipt_status   The status of the document ID receipt file from the receiving institution. VARCHAR2(2).
p_document_type   The response document type associated with the particular document id. VARCHAR2(30).
p_data_origin   Source system that created or updated the row. VARCHAR2(30).