index

Package sb_section_labor_rules

This package provides support for messaging and data validation for the Class Schedule Labor Distribution API (sb_section_labor)


Program units
p_register_entity  
p_register_entity  
p_validate  


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_term_code          ssrclbd.ssrclbd_term_code%TYPE,
                            p_crn                ssrclbd.ssrclbd_crn%TYPE,
                            p_seq_no             ssrclbd.ssrclbd_seq_no%TYPE,
                            p_percent            ssrclbd.ssrclbd_percent%TYPE,
                            p_user_id            ssrclbd.ssrclbd_user_id%TYPE DEFAULT gb_common.f_sct_user,
                            p_data_origin        ssrclbd.ssrclbd_data_origin%TYPE,
                            p_coas_code          ssrclbd.ssrclbd_coas_code%TYPE,
                            p_acci_code          ssrclbd.ssrclbd_acci_code%TYPE,
                            p_fund_code          ssrclbd.ssrclbd_fund_code%TYPE,
                            p_orgn_code          ssrclbd.ssrclbd_orgn_code%TYPE,
                            p_acct_code          ssrclbd.ssrclbd_acct_code%TYPE,
                            p_prog_code          ssrclbd.ssrclbd_prog_code%TYPE,
                            p_actv_code          ssrclbd.ssrclbd_actv_code%TYPE,
                            p_locn_code          ssrclbd.ssrclbd_locn_code%TYPE,
                            p_proj_code          ssrclbd.ssrclbd_proj_code%TYPE,
                            p_ctyp_code          ssrclbd.ssrclbd_ctyp_code%TYPE,
                            p_acct_external_cde  ssrclbd.ssrclbd_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_term_code   The term code of the course section. VARCHAR2(6) Required Key
p_crn   The reference number of the section. VARCHAR2(5) Required Key
p_seq_no   Sequence number of the class 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_term_code         ssrclbd.ssrclbd_term_code%TYPE,
                     p_crn               ssrclbd.ssrclbd_crn%TYPE,
                     p_seq_no            ssrclbd.ssrclbd_seq_no%TYPE,
                     p_percent           ssrclbd.ssrclbd_percent%TYPE,
                     p_user_id           ssrclbd.ssrclbd_user_id%TYPE DEFAULT gb_common.f_sct_user,
                     p_data_origin       ssrclbd.ssrclbd_data_origin%TYPE DEFAULT NULL,
                     p_coas_code         ssrclbd.ssrclbd_coas_code%TYPE DEFAULT NULL,
                     p_acci_code         ssrclbd.ssrclbd_acci_code%TYPE DEFAULT NULL,
                     p_fund_code         ssrclbd.ssrclbd_fund_code%TYPE DEFAULT NULL,
                     p_orgn_code         ssrclbd.ssrclbd_orgn_code%TYPE DEFAULT NULL,
                     p_acct_code         ssrclbd.ssrclbd_acct_code%TYPE DEFAULT NULL,
                     p_prog_code         ssrclbd.ssrclbd_prog_code%TYPE DEFAULT NULL,
                     p_actv_code         ssrclbd.ssrclbd_actv_code%TYPE DEFAULT NULL,
                     p_locn_code         ssrclbd.ssrclbd_locn_code%TYPE DEFAULT NULL,
                     p_proj_code         ssrclbd.ssrclbd_proj_code%TYPE DEFAULT NULL,
                     p_ctyp_code         ssrclbd.ssrclbd_ctyp_code%TYPE DEFAULT NULL,
                     p_acct_external_cde ssrclbd.ssrclbd_acct_external_cde%TYPE DEFAULT NULL)

Validates all data in the record.

Parameters
p_term_code   The term code of the course section. VARCHAR2(6) Required Key
p_crn   The reference number of the section. VARCHAR2(5) Required Key
p_seq_no   Sequence number of the class 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)