index

Package sb_edi_identification_rules

This package provides the support subprograms for the EDI Identification API (sb_edi_identification).
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_dcmt_seqno         shriden.shriden_dcmt_seqno%TYPE,
                            p_idql_code          shriden.shriden_idql_code%TYPE,
                            p_idnm_code          shriden.shriden_idnm_code%TYPE,
                            p_enid_code          shriden.shriden_enid_code%TYPE,
                            p_rnql_code          shriden.shriden_rnql_code%TYPE,
                            p_ref_numb           shriden.shriden_ref_numb%TYPE,
                            p_rltn_code          shriden.shriden_rltn_code%TYPE,
                            p_last_name          shriden.shriden_last_name%TYPE,
                            p_name_prefix        shriden.shriden_name_prefix%TYPE,
                            p_first_name         shriden.shriden_first_name%TYPE,
                            p_first_initial      shriden.shriden_first_initial%TYPE,
                            p_middle_name_1      shriden.shriden_middle_name_1%TYPE,
                            p_middle_name_2      shriden.shriden_middle_name_2%TYPE,
                            p_middle_initial_1   shriden.shriden_middle_initial_1%TYPE,
                            p_middle_initial_2   shriden.shriden_middle_initial_2%TYPE,
                            p_name_suffix        shriden.shriden_name_suffix%TYPE,
                            p_former_name        shriden.shriden_former_name%TYPE,
                            p_combined_name      shriden.shriden_combined_name%TYPE,
                            p_composite_name     shriden.shriden_composite_name%TYPE,
                            p_agency_name        shriden.shriden_agency_name%TYPE,
                            p_street_line1       shriden.shriden_street_line1%TYPE,
                            p_street_line2       shriden.shriden_street_line2%TYPE,
                            p_city               shriden.shriden_city%TYPE,
                            p_stat_code          shriden.shriden_stat_code%TYPE,
                            p_zip                shriden.shriden_zip%TYPE,
                            p_natn_code          shriden.shriden_natn_code%TYPE,
                            p_id_note            shriden.shriden_id_note%TYPE,
                            p_domestic_addr_ind  shriden.shriden_domestic_addr_ind%TYPE,
                            p_street_line3       shriden.shriden_street_line3%TYPE,
                            p_stateprovince      shriden.shriden_stateprovince%TYPE,
                            p_data_origin        shriden.shriden_data_origin%TYPE,
                            p_user_id            shriden.shriden_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            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_dcmt_seqno   EDI document ID number. NUMBER(8) Required Key.
p_idql_code   EDI entity type qualifier code. VARCHAR2(1).
p_idnm_code   EDI name type code. VARCHAR2(2).
p_enid_code   EDI entity identifier code. VARCHAR2(2).
p_rnql_code   EDI reference number qualifier. VARCHAR2(2).
p_ref_numb   EDI reference number. VARCHAR2(30).
p_rltn_code   EDI relationship code. VARCHAR2(2).
p_last_name   EDI last name. VARCHAR2(35).
p_name_prefix   EDI name prefix. VARCHAR2(35).
p_first_name   EDI first name. VARCHAR2(35).
p_first_initial   EDI first initial. VARCHAR2(35).
p_middle_name_1   EDI first middle name. VARCHAR2(35).
p_middle_name_2   EDI second middle name. VARCHAR2(35).
p_middle_initial_1   EDI first middle initial. VARCHAR2(35).
p_middle_initial_2   EDI second middle initial. VARCHAR2(35).
p_name_suffix   EDI name suffix. VARCHAR2(35).
p_former_name   EDI former name. VARCHAR2(35).
p_combined_name   EDI combined name (Unstructured). VARCHAR2(35).
p_composite_name   EDI composite name. VARCHAR2(35).
p_agency_name   EDI agency name. VARCHAR2(35).
p_street_line1   EDI student street address. VARCHAR2(35).
p_street_line2   EDI student street address. VARCHAR2(35).
p_city   EDI student city. VARCHAR2(30).
p_stat_code   EDI student state code. VARCHAR2(2).
p_zip   EDI student ZIP or postal code. VARCHAR2(9).
p_natn_code   EDI student nation code. VARCHAR2(3).
p_id_note   EDI note about student name/ID. VARCHAR2(60).
p_domestic_addr_ind   Y if address is domestic. For PESCXML. VARCHAR2(1).
p_street_line3   Third address line. For PESCXML. VARCHAR2(35).
p_stateprovince   State or province name for an international address. For PESCXML. VARCHAR2(60).
p_data_origin   Source system that created or updated the row. VARCHAR2(30).
p_user_id   Oracle ID of the user who changed the record. VARCHAR2(30).
p_internal_record_id   Database ROWID. VARCHAR2(18) Required.


p_validate

PROCEDURE p_validate(p_dcmt_seqno        shriden.shriden_dcmt_seqno%TYPE,
                     p_idql_code         shriden.shriden_idql_code%TYPE DEFAULT NULL,
                     p_idnm_code         shriden.shriden_idnm_code%TYPE DEFAULT NULL,
                     p_enid_code         shriden.shriden_enid_code%TYPE DEFAULT NULL,
                     p_rnql_code         shriden.shriden_rnql_code%TYPE DEFAULT NULL,
                     p_ref_numb          shriden.shriden_ref_numb%TYPE DEFAULT NULL,
                     p_rltn_code         shriden.shriden_rltn_code%TYPE DEFAULT NULL,
                     p_last_name         shriden.shriden_last_name%TYPE DEFAULT NULL,
                     p_name_prefix       shriden.shriden_name_prefix%TYPE DEFAULT NULL,
                     p_first_name        shriden.shriden_first_name%TYPE DEFAULT NULL,
                     p_first_initial     shriden.shriden_first_initial%TYPE DEFAULT NULL,
                     p_middle_name_1     shriden.shriden_middle_name_1%TYPE DEFAULT NULL,
                     p_middle_name_2     shriden.shriden_middle_name_2%TYPE DEFAULT NULL,
                     p_middle_initial_1  shriden.shriden_middle_initial_1%TYPE DEFAULT NULL,
                     p_middle_initial_2  shriden.shriden_middle_initial_2%TYPE DEFAULT NULL,
                     p_name_suffix       shriden.shriden_name_suffix%TYPE DEFAULT NULL,
                     p_former_name       shriden.shriden_former_name%TYPE DEFAULT NULL,
                     p_combined_name     shriden.shriden_combined_name%TYPE DEFAULT NULL,
                     p_composite_name    shriden.shriden_composite_name%TYPE DEFAULT NULL,
                     p_agency_name       shriden.shriden_agency_name%TYPE DEFAULT NULL,
                     p_street_line1      shriden.shriden_street_line1%TYPE DEFAULT NULL,
                     p_street_line2      shriden.shriden_street_line2%TYPE DEFAULT NULL,
                     p_city              shriden.shriden_city%TYPE DEFAULT NULL,
                     p_stat_code         shriden.shriden_stat_code%TYPE DEFAULT NULL,
                     p_zip               shriden.shriden_zip%TYPE DEFAULT NULL,
                     p_natn_code         shriden.shriden_natn_code%TYPE DEFAULT NULL,
                     p_id_note           shriden.shriden_id_note%TYPE DEFAULT NULL,
                     p_domestic_addr_ind shriden.shriden_domestic_addr_ind%TYPE DEFAULT NULL,
                     p_street_line3      shriden.shriden_street_line3%TYPE DEFAULT NULL,
                     p_stateprovince     shriden.shriden_stateprovince%TYPE DEFAULT NULL,
                     p_data_origin       shriden.shriden_data_origin%TYPE DEFAULT NULL,
                     p_user_id           shriden.shriden_user_id%TYPE DEFAULT gb_common.f_sct_user);

Validates all the data in the record.

Parameters
p_dcmt_seqno   EDI document ID number. NUMBER(8) Required Key.
p_idql_code   EDI entity type qualifier code. VARCHAR2(1).
p_idnm_code   EDI name type code. VARCHAR2(2).
p_enid_code   EDI entity identifier code. VARCHAR2(2).
p_rnql_code   EDI reference number qualifier. VARCHAR2(2).
p_ref_numb   EDI reference number. VARCHAR2(30).
p_rltn_code   EDI relationship code. VARCHAR2(2).
p_last_name   EDI last name. VARCHAR2(35).
p_name_prefix   EDI name prefix. VARCHAR2(35).
p_first_name   EDI first name. VARCHAR2(35).
p_first_initial   EDI first initial. VARCHAR2(35).
p_middle_name_1   EDI first middle name. VARCHAR2(35).
p_middle_name_2   EDI second middle name. VARCHAR2(35).
p_middle_initial_1   EDI first middle initial. VARCHAR2(35).
p_middle_initial_2   EDI second middle initial. VARCHAR2(35).
p_name_suffix   EDI name suffix. VARCHAR2(35).
p_former_name   EDI former name. VARCHAR2(35).
p_combined_name   EDI combined name (Unstructured). VARCHAR2(35).
p_composite_name   EDI composite name. VARCHAR2(35).
p_agency_name   EDI agency name. VARCHAR2(35).
p_street_line1   EDI student street address. VARCHAR2(35).
p_street_line2   EDI student street address. VARCHAR2(35).
p_city   EDI student city. VARCHAR2(30).
p_stat_code   EDI student state code. VARCHAR2(2).
p_zip   EDI student ZIP or postal code. VARCHAR2(9).
p_natn_code   EDI student nation code. VARCHAR2(3).
p_id_note   EDI note about student name/ID. VARCHAR2(60).
p_domestic_addr_ind   Y if address is domestic. For PESCXML. VARCHAR2(1).
p_street_line3   Third address line. For PESCXML. VARCHAR2(35).
p_stateprovince   State or province name for an international address. For PESCXML. VARCHAR2(60).
p_data_origin   Source system that created or updated the row. VARCHAR2(30).
p_user_id   Oracle ID of the user who changed the record. VARCHAR2(30).