index

Package sb_course_labor_rules

This package provides support for messaging and data validation for the Course Labor Distribution API (sb_course_labor).


Program units
f_parent_exists  
p_register_entity  
p_register_entity  
p_validate  


f_parent_exists

Function f_parent_exists(p_subj_code scrclbd.scrclbd_subj_code%TYPE)
  RETURN VARCHAR2


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_subj_code          scrclbd.scrclbd_subj_code%TYPE,
                            p_crse_numb          scrclbd.scrclbd_crse_numb%TYPE,
                            p_term_code_eff      scrclbd.scrclbd_term_code_eff%TYPE,
                            p_seq_no             scrclbd.scrclbd_seq_no%TYPE,
                            p_percent            scrclbd.scrclbd_percent%TYPE,
                            p_user_id            scrclbd.scrclbd_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        scrclbd.scrclbd_data_origin%TYPE,
                            p_coas_code          scrclbd.scrclbd_coas_code%TYPE,
                            p_acci_code          scrclbd.scrclbd_acci_code%TYPE,
                            p_fund_code          scrclbd.scrclbd_fund_code%TYPE,
                            p_orgn_code          scrclbd.scrclbd_orgn_code%TYPE,
                            p_acct_code          scrclbd.scrclbd_acct_code%TYPE,
                            p_prog_code          scrclbd.scrclbd_prog_code%TYPE,
                            p_actv_code          scrclbd.scrclbd_actv_code%TYPE,
                            p_locn_code          scrclbd.scrclbd_locn_code%TYPE,
                            p_proj_code          scrclbd.scrclbd_proj_code%TYPE,
                            p_ctyp_code          scrclbd.scrclbd_ctyp_code%TYPE,
                            p_acct_external_cde  scrclbd.scrclbd_acct_external_cde%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_subj_code   The subject area of the course. VARCHAR2(4) Required Key
p_crse_numb   The course number associated with the subject for the course. VARCHAR2(5) Required Key
p_term_code_eff   The term code when the course becomes effective. VARCHAR2(6) Required Key
p_seq_no   Sequence number of the course labor distribution information. NUMBER(3) Required Key
p_percent   Percent of pay to be applied to this labor distribution. NUMBER(5,2) Required
p_user_id   The Oracle ID of the user who changed the record. VARCHAR2(30) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(30)
p_coas_code   The primary identification code for a chart of accounts. Valued only if Banner Finance is installed. VARCHAR2(1)
p_acci_code   An index code used to default the account distribution to which the position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_fund_code   The fund code to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_orgn_code   The organization to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_acct_code   The account code to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_prog_code   The program code to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_actv_code   The activity code to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_locn_code   The location code to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_proj_code   The project code within the Finance Cost Accounting Module. Valued only if Banner Finance is installed. VARCHAR2(8)
p_ctyp_code   The cost type within the Finance Cost Accounting Module. Valued only if Banner Finance is installed. VARCHAR2(2)
p_acct_external_cde   A free-form account code to allow updates to an accounting system other than Banner Finance. VARCHAR2(60)
p_internal_record_id   Database ROWID VARCHAR2(18) required


p_validate

Procedure p_validate(p_subj_code         scrclbd.scrclbd_subj_code%TYPE,
                     p_crse_numb         scrclbd.scrclbd_crse_numb%TYPE,
                     p_term_code_eff     scrclbd.scrclbd_term_code_eff%TYPE,
                     p_seq_no            scrclbd.scrclbd_seq_no%TYPE,
                     p_percent           scrclbd.scrclbd_percent%TYPE,
                     p_user_id           scrclbd.scrclbd_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin       scrclbd.scrclbd_data_origin%TYPE DEFAULT NULL,
                     p_coas_code         scrclbd.scrclbd_coas_code%TYPE DEFAULT NULL,
                     p_acci_code         scrclbd.scrclbd_acci_code%TYPE DEFAULT NULL,
                     p_fund_code         scrclbd.scrclbd_fund_code%TYPE DEFAULT NULL,
                     p_orgn_code         scrclbd.scrclbd_orgn_code%TYPE DEFAULT NULL,
                     p_acct_code         scrclbd.scrclbd_acct_code%TYPE DEFAULT NULL,
                     p_prog_code         scrclbd.scrclbd_prog_code%TYPE DEFAULT NULL,
                     p_actv_code         scrclbd.scrclbd_actv_code%TYPE DEFAULT NULL,
                     p_locn_code         scrclbd.scrclbd_locn_code%TYPE DEFAULT NULL,
                     p_proj_code         scrclbd.scrclbd_proj_code%TYPE DEFAULT NULL,
                     p_ctyp_code         scrclbd.scrclbd_ctyp_code%TYPE DEFAULT NULL,
                     p_acct_external_cde scrclbd.scrclbd_acct_external_cde%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_subj_code   The subject area of the course. VARCHAR2(4) Required Key
p_crse_numb   The course number associated with the subject for the course. VARCHAR2(5) Required Key
p_term_code_eff   The term code when the course becomes effective. VARCHAR2(6) Required Key
p_seq_no   Sequence number of the course labor distribution information. NUMBER(3) Required Key
p_percent   Percent of pay to be applied to this labor distribution. NUMBER(5,2) Required
p_user_id   The Oracle ID of the user who changed the record. VARCHAR2(30) Required
p_data_origin   Source system that created or updated the row. VARCHAR2(30)
p_coas_code   The primary identification code for a chart of accounts. Valued only if Banner Finance is installed. VARCHAR2(1)
p_acci_code   An index code used to default the account distribution to which the position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_fund_code   The fund code to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_orgn_code   The organization to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_acct_code   The account code to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_prog_code   The program code to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_actv_code   The activity code to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_locn_code   The location code to which a position should be charged. Valued only if Banner Finance is installed. VARCHAR2(6)
p_proj_code   The project code within the Finance Cost Accounting Module. Valued only if Banner Finance is installed. VARCHAR2(8)
p_ctyp_code   The cost type within the Finance Cost Accounting Module. Valued only if Banner Finance is installed. VARCHAR2(2)
p_acct_external_cde   A free-form account code to allow updates to an accounting system other than Banner Finance. VARCHAR2(60)