index

Package sb_pesc_status_imp_rules

This package provides the support subprograms for the PESC Status Import API (sb_xml_status_imp).
"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_recv_document_id      shriptd.shriptd_recv_document_id%TYPE,
                            p_sent_document_id      shriptd.shriptd_sent_document_id%TYPE,
                            p_sent_org_cde          shriptd.shriptd_sent_org_cde%TYPE,
                            p_sent_org_cde_type     shriptd.shriptd_sent_org_cde_type%TYPE,
                            p_sent_org_name         shriptd.shriptd_sent_org_name%TYPE,
                            p_doc_id_receive_date   shriptd.shriptd_doc_id_receive_date%TYPE,
                            p_doc_id_receive_status shriptd.shriptd_doc_id_receive_status%TYPE,
                            p_dcmt_seqno            shriptd.shriptd_dcmt_seqno%TYPE,
                            p_processed_date        shriptd.shriptd_processed_date%TYPE,
                            p_user_id               shriptd.shriptd_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin           shriptd.shriptd_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_recv_document_id   The document identification number generated by the receiving institution. VARCHAR2(30) Required Key.
p_sent_document_id   The document identification number associated with a transcript sent from an institution. VARCHAR2(30) Required.
p_sent_org_cde   The organization code of the sending institution. VARCHAR2(20) Required.
p_sent_org_cde_type   The type of organization code of the sending institution. VARCHAR2(20) Required.
p_sent_org_name   The name of the organization that sent the document. VARCHAR2(60).
p_doc_id_receive_date   The date the file was received. DATE.
p_doc_id_receive_status   The status of the Document. R=Received, P=Processed.  If document status =P, then the PROCESSED_DATE is the date the document was processed into Banner. VARCHAR2(2) Required.
p_dcmt_seqno   EDI document sequence number used to store data in SHR temporary tables. NUMBER(8).
p_processed_date   Date document was processed into Banner. DATE.
p_user_id   Oracle ID of the user who changed the record. VARCHAR2(30) Required.
p_data_origin   Source system that created or updated the row. VARCHAR2(30) Required.
p_internal_record_id   Database ROWID. VARCHAR2(18) Required.


p_validate

PROCEDURE p_validate(p_recv_document_id      shriptd.shriptd_recv_document_id%TYPE,
                     p_sent_document_id      shriptd.shriptd_sent_document_id%TYPE,
                     p_sent_org_cde          shriptd.shriptd_sent_org_cde%TYPE,
                     p_sent_org_cde_type     shriptd.shriptd_sent_org_cde_type%TYPE,
                     p_sent_org_name         shriptd.shriptd_sent_org_name%TYPE DEFAULT NULL,
                     p_doc_id_receive_date   shriptd.shriptd_doc_id_receive_date%TYPE DEFAULT NULL,
                     p_doc_id_receive_status shriptd.shriptd_doc_id_receive_status%TYPE,
                     p_dcmt_seqno            shriptd.shriptd_dcmt_seqno%TYPE DEFAULT NULL,
                     p_processed_date        shriptd.shriptd_processed_date%TYPE DEFAULT NULL,
                     p_user_id               shriptd.shriptd_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin           shriptd.shriptd_data_origin%TYPE);

Validates all the data in the record.

Parameters
p_recv_document_id   The document identification number generated by the receiving institution. VARCHAR2(30) Required Key.
p_sent_document_id   The document identification number associated with a transcript sent from an institution. VARCHAR2(30) Required.
p_sent_org_cde   The organization code of the sending institution. VARCHAR2(20) Required.
p_sent_org_cde_type   The type of organization code of the sending institution. VARCHAR2(20) Required.
p_sent_org_name   The name of the organization that sent the document. VARCHAR2(60).
p_doc_id_receive_date   The date the file was received. DATE.
p_doc_id_receive_status   The status of the Document. R=Received, P=Processed.  If document status =P, then the PROCESSED_DATE is the date the document was processed into Banner. VARCHAR2(2) Required.
p_dcmt_seqno   EDI document sequence number used to store data in SHR temporary tables. NUMBER(8).
p_processed_date   Date document was processed into Banner. DATE.
p_user_id   Oracle ID of the user who changed the record. VARCHAR2(30) Required.
p_data_origin   Source system that created or updated the row. VARCHAR2(30) Required.