Package gb_cm_display_options_rules This package provides support subprograms for Common Matching Display Options (CM_DISPLAY_OPTIONS)The validation procedure is called by the API, but may be called directly by an application if data validation is needed prior to calling the API. The API will always run the validation checks regardless. |
Program units |
p_register_entity | Registers the attribute value pairs to the message cache, for delete operations only. |
p_register_entity | Registers the attribute value pairs to the message cache, insert 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 VARCHAR2)
Registers the attribute value pairs to the message cache, for delete operations only.
This procedure passes the operation type and a set of constant strings and data values to the messaging system. The constants represent the name of each data element and are defined in the DML package specification.
The procedure is overloaded so the API p_delete has a signature to call that only requires operation and ROWID.
This signature uses the ROWID only, for the delete operations.
Parameters |
p_operation_type |
Type of DML operation: create,update, or delete. NUMBER Required | |
p_internal_record_id |
Database ROWID |
p_register_entity
PROCEDURE p_register_entity(p_operation_type NUMBER, p_cmsc_code gorcmdo.gorcmdo_cmsc_code%TYPE, p_objs_name gorcmdo.gorcmdo_objs_name%TYPE, p_seq_no gorcmdo.gorcmdo_seq_no%TYPE, p_user_id gorcmdo.gorcmdo_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin gorcmdo.gorcmdo_data_origin%TYPE, p_internal_record_id VARCHAR2)
Registers the attribute value pairs to the message cache, insert and update operations.
This signature registers the all parameters for the create and update operations.
Parameters |
p_operation_type |
Type of DML operation: create,update, or delete. NUMBER Required | |
p_cmsc_code |
The Common Matching Source Code to associate the forms to be called on the Match Entry Process. | |
p_objs_name |
The SCT Banner Form to be displayed and called based on the Common Matching Source Code in the Key-Block of the Match Entry Process Form. | |
p_seq_no |
The order in which to display the form names. | |
p_user_id |
Oracle user ID of the user who created or last updated the record. | |
p_data_origin |
Application source for this database row. | |
p_internal_record_id |
Database ROWID |
p_validate
PROCEDURE p_validate(p_cmsc_code gorcmdo.gorcmdo_cmsc_code%TYPE, p_objs_name gorcmdo.gorcmdo_objs_name%TYPE, p_seq_no gorcmdo.gorcmdo_seq_no%TYPE, p_user_id gorcmdo.gorcmdo_user_id%TYPE DEFAULT gb_common.f_sct_user, p_data_origin gorcmdo.gorcmdo_data_origin%TYPE DEFAULT NULL)
Validates all the data in the record
The following edits are performed. All failed edit messages are appended and issued in a single application exception.
Parameters |
p_cmsc_code |
The Common Matching Source Code to associate the forms to be called on the Match Entry Process. | |
p_objs_name |
The SCT Banner Form to be displayed and called based on the Common Matching Source Code in the Key-Block of the Match Entry Process Form. | |
p_seq_no |
The order in which to display the form names. | |
p_user_id |
Oracle user ID of the user who created or last updated the record. | |
p_data_origin |
Application source for this database row. |