index

Package sb_compliance_xml_rules

This package provides the support subprograms for the Compliance XML API (sb_compliance_xml).


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_pidm               smrcxml.smrcxml_pidm%TYPE,
                            p_request_no         smrcxml.smrcxml_request_no%TYPE,
                            p_sessionid          smrcxml.smrcxml_sessionid%TYPE,
                            p_user_id            smrcxml.smrcxml_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        smrcxml.smrcxml_data_origin%TYPE,
                            p_proc_sessionid     smrcxml.smrcxml_proc_sessionid%TYPE,
                            p_xml                smrcxml.smrcxml_xml%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_pidm   Internal identification number of the person for whom compliance was run. NUMBER(8) Required Key
p_request_no   Unique number of the compliance request. NUMBER(4) Required Key
p_sessionid   Oracle session ID of the compliance request. VARCHAR2(120) Required
p_user_id   ID of the user who created the record. VARCHAR2(120) Required
p_data_origin   Source system that generated the data. VARCHAR2(120)
p_proc_sessionid   Oracle session ID of the compliance process. VARCHAR2(120)
p_xml   Output of the compliance in XML format. XMLTYPE
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_pidm           smrcxml.smrcxml_pidm%TYPE,
                     p_request_no     smrcxml.smrcxml_request_no%TYPE,
                     p_sessionid      smrcxml.smrcxml_sessionid%TYPE,
                     p_user_id        smrcxml.smrcxml_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin    smrcxml.smrcxml_data_origin%TYPE DEFAULT NULL,
                     p_proc_sessionid smrcxml.smrcxml_proc_sessionid%TYPE DEFAULT NULL,
                     p_xml            smrcxml.smrcxml_xml%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_pidm   Internal identification number of the person for whom compliance was run. NUMBER(8) Required Key
p_request_no   Unique number of the compliance request. NUMBER(4) Required Key
p_sessionid   Oracle session ID of the compliance request. VARCHAR2(120) Required
p_user_id   ID of the user who created the record. VARCHAR2(120) Required
p_data_origin   Source system that generated the data. VARCHAR2(120)
p_proc_sessionid   Oracle session ID of the compliance process. VARCHAR2(120)
p_xml   Output of the compliance in XML format. XMLTYPE