index

Package sb_mass_entry_form_rules

Support subprograms for the Mass Entry Form API (sb_mass_entry_form).


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_add_user_id        sobmaud.sobmaud_add_user_id%TYPE,
                            p_add_date           sobmaud.sobmaud_add_date%TYPE,
                            p_form_name          sobmaud.sobmaud_form_name%TYPE,
                            p_data_origin        sobmaud.sobmaud_data_origin%TYPE,
                            p_user_id            sobmaud.sobmaud_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_job_name           sobmaud.sobmaud_job_name%TYPE,
                            p_completion_date    sobmaud.sobmaud_completion_date%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_add_user_id   ID of the user who initiated the mass entry. VARCHAR2(30) Required Key
p_add_date   Date and timestamp the mass entry was initiated. DATE Required Key
p_form_name   Mass entry form name. VARCHAR2(30) Required Key
p_data_origin   Data origin of the insert or update to the record. VARCHAR2(30) Required
p_user_id   Most recent user to create or update the record. VARCHAR2(30) Required
p_job_name   Job submission ID the mass entry process is submitted under. VARCHAR2(30)
p_completion_date   Date and timestamp the mass entry completed. DATE
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_add_user_id     sobmaud.sobmaud_add_user_id%TYPE,
                     p_add_date        sobmaud.sobmaud_add_date%TYPE,
                     p_form_name       sobmaud.sobmaud_form_name%TYPE,
                     p_data_origin     sobmaud.sobmaud_data_origin%TYPE,
                     p_user_id         sobmaud.sobmaud_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_job_name        sobmaud.sobmaud_job_name%TYPE DEFAULT NULL,
                     p_completion_date sobmaud.sobmaud_completion_date%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_add_user_id   ID of the user who initiated the mass entry. VARCHAR2(30) Required Key
p_add_date   Date and timestamp the mass entry was initiated. DATE Required Key
p_form_name   Mass entry form name. VARCHAR2(30) Required Key
p_data_origin   Data origin of the insert or update to the record. VARCHAR2(30) Required
p_user_id   Most recent user to create or update the record. VARCHAR2(30) Required
p_job_name   Job submission ID the mass entry process is submitted under. VARCHAR2(30)
p_completion_date   Date and timestamp the mass entry completed. DATE