Package nb_job_enc_history_rules This package provides messaging support and field validations for the Job Labor Encumbrance History API (NB_JOB_ENC_HISTORY). |
Program units |
p_register_entity | Register 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)
Register 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 nbrjleh.nbrjleh_pidm%TYPE, p_posn nbrjleh.nbrjleh_posn%TYPE, p_suff nbrjleh.nbrjleh_suff%TYPE, p_effective_date nbrjleh.nbrjleh_effective_date%TYPE, p_capture_date nbrjleh.nbrjleh_capture_date%TYPE, p_seq_no nbrjleh.nbrjleh_seq_no%TYPE, p_enc_begin_date nbrjleh.nbrjleh_enc_begin_date%TYPE, p_user_id nbrjleh.nbrjleh_user_id%TYPE DEFAULT gb_common.f_sct_user, p_enc_end_date nbrjleh.nbrjleh_enc_end_date%TYPE, p_salary_encumbrance nbrjleh.nbrjleh_salary_encumbrance%TYPE, p_future_salary_enc nbrjleh.nbrjleh_future_salary_enc%TYPE, p_end_date_reason nbrjleh.nbrjleh_end_date_reason%TYPE, p_data_origin nbrjleh.nbrjleh_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 parameters.
Parameters |
p_operation_type |
Type of DML operation: create,update,delete. NUMBER Required | |
p_pidm |
Internal Identification Number of the employee. NUMBER(8) Required Key | |
p_posn |
Position Number. VARCHAR2(6) Required Key | |
p_suff |
Suffix of the job. VARCHAR2(2) Required Key | |
p_effective_date |
Date that the labor distribution record becomes effective. DATE Required Key | |
p_capture_date |
The date of the Encumbrance transaction calculation. DATE Required Key | |
p_seq_no |
Sequence number of the labor distribution. NUMBER(3) Required Key | |
p_enc_begin_date |
Encumbrance Begin Date used in calculation. DATE Required Key | |
p_user_id |
The Oracle ID of the user who changed the record. VARCHAR2(30) Required | |
p_enc_end_date |
The Encumbrance End Date used in calculation. DATE | |
p_salary_encumbrance |
Amount of salary encumbered to this labor distribution for the active fiscal year. NUMBER(17,2) | |
p_future_salary_enc |
Amount of salary encumbered to this labor distribution for future fiscal years. NUMBER(17,2) | |
p_end_date_reason |
The reason for the end date used in this component of the encumbrance calculation. VARCHAR2(60) | |
p_data_origin |
Source system that created or updated the row. VARCHAR2(30) | |
p_internal_record_id |
Database ROWID VARCHAR2(18) required |
p_validate
Procedure p_validate(p_pidm nbrjleh.nbrjleh_pidm%TYPE, p_posn nbrjleh.nbrjleh_posn%TYPE, p_suff nbrjleh.nbrjleh_suff%TYPE, p_effective_date nbrjleh.nbrjleh_effective_date%TYPE, p_capture_date nbrjleh.nbrjleh_capture_date%TYPE, p_seq_no nbrjleh.nbrjleh_seq_no%TYPE, p_enc_begin_date nbrjleh.nbrjleh_enc_begin_date%TYPE, p_user_id nbrjleh.nbrjleh_user_id%TYPE DEFAULT gb_common.f_sct_user, p_enc_end_date nbrjleh.nbrjleh_enc_end_date%TYPE DEFAULT NULL, p_salary_encumbrance nbrjleh.nbrjleh_salary_encumbrance%TYPE DEFAULT NULL, p_future_salary_enc nbrjleh.nbrjleh_future_salary_enc%TYPE DEFAULT NULL, p_end_date_reason nbrjleh.nbrjleh_end_date_reason%TYPE DEFAULT NULL, p_data_origin nbrjleh.nbrjleh_data_origin%TYPE DEFAULT NULL)
Validates all data in the record.
Parameters |
p_pidm |
Internal Identification Number of the employee. NUMBER(8) Required Key | |
p_posn |
Position Number. VARCHAR2(6) Required Key | |
p_suff |
Suffix of the job. VARCHAR2(2) Required Key | |
p_effective_date |
Date that the labor distribution record becomes effective. DATE Required Key | |
p_capture_date |
The date of the Encumbrance transaction calculation. DATE Required Key | |
p_seq_no |
Sequence number of the labor distribution. NUMBER(3) Required Key | |
p_enc_begin_date |
Encumbrance Begin Date used in calculation. DATE Required Key | |
p_user_id |
The Oracle ID of the user who changed the record. VARCHAR2(30) Required | |
p_enc_end_date |
The Encumbrance End Date used in calculation. DATE | |
p_salary_encumbrance |
Amount of salary encumbered to this labor distribution for the active fiscal year. NUMBER(17,2) | |
p_future_salary_enc |
Amount of salary encumbered to this labor distribution for future fiscal years. NUMBER(17,2) | |
p_end_date_reason |
The reason for the end date used in this component of the encumbrance calculation. VARCHAR2(60) | |
p_data_origin |
Source system that created or updated the row. VARCHAR2(30) |