Package sb_section_labor
This package provides the Common Business interface for the Class Schedule Labor Distribution API (sb_section_labor).
|
M_ENTITY_NAME
M_ENTITY_NAME CONSTANT VARCHAR2(13) := 'SECTION_LABOR';
Business Entity Name
M_BASE_TABLE_NAME
M_BASE_TABLE_NAME CONSTANT VARCHAR2(7) := 'SSRCLBD';
Base table name
section_labor_rec
TYPE section_labor_rec IS RECORD (
r_term_code ssrclbd.ssrclbd_term_code%TYPE,
r_crn ssrclbd.ssrclbd_crn%TYPE,
r_seq_no ssrclbd.ssrclbd_seq_no%TYPE,
r_percent ssrclbd.ssrclbd_percent%TYPE,
r_user_id ssrclbd.ssrclbd_user_id%TYPE,
r_data_origin ssrclbd.ssrclbd_data_origin%TYPE,
r_coas_code ssrclbd.ssrclbd_coas_code%TYPE,
r_acci_code ssrclbd.ssrclbd_acci_code%TYPE,
r_fund_code ssrclbd.ssrclbd_fund_code%TYPE,
r_orgn_code ssrclbd.ssrclbd_orgn_code%TYPE,
r_acct_code ssrclbd.ssrclbd_acct_code%TYPE,
r_prog_code ssrclbd.ssrclbd_prog_code%TYPE,
r_actv_code ssrclbd.ssrclbd_actv_code%TYPE,
r_locn_code ssrclbd.ssrclbd_locn_code%TYPE,
r_proj_code ssrclbd.ssrclbd_proj_code%TYPE,
r_ctyp_code ssrclbd.ssrclbd_ctyp_code%TYPE,
r_acct_external_cde ssrclbd.ssrclbd_acct_external_cde%TYPE,
r_internal_record_id gb_common.internal_record_id_type);
Business Entity record type
section_labor_ref
TYPE section_labor_ref IS REF CURSOR RETURN section_labor_rec;
Entity cursor variable type
section_labor_tab
TYPE section_labor_tab IS TABLE OF section_labor_rec INDEX BY BINARY_INTEGER;
Entity table type
f_api_version
Function f_api_version RETURN PLS_INTEGER
Returns the API version number.
|
Version of the API signature. Changes only when the signature changes.
|
f_exists
Function f_exists(p_term_code ssrclbd.ssrclbd_term_code%TYPE,
p_crn ssrclbd.ssrclbd_crn%TYPE,
p_seq_no ssrclbd.ssrclbd_seq_no%TYPE,
p_rowid gb_common.internal_record_id_type DEFAULT NULL)
RETURN VARCHAR2
Checks if a record exists.
|
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_rowid
|
Database ROWID of the record to be selected. VARCHAR2(18)
|
f_isequal
Function f_isequal(rec_one section_labor_rec, rec_two section_labor_rec)
RETURN VARCHAR2
Compares two records for equality.
Tests each field of rec_one against the corresponding field of rec_two. Two null values are considered equal.
|
Y if all values in records are equal, otherwise N. Nulls match Nulls.
|
f_query_all
Function f_query_all(p_term_code ssrclbd.ssrclbd_term_code%TYPE,
p_crn ssrclbd.ssrclbd_crn%TYPE)
RETURN section_labor_ref
Selects all records for the entity.
|
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
|
|
A cursor variable that will fetch a set of records.
|
f_query_one
Function f_query_one(p_term_code ssrclbd.ssrclbd_term_code%TYPE,
p_crn ssrclbd.ssrclbd_crn%TYPE,
p_seq_no ssrclbd.ssrclbd_seq_no%TYPE)
RETURN section_labor_ref
Selects one record using key.
|
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
|
|
A cursor variable that will fetch exactly one record.
|
f_query_by_rowid
Function f_query_by_rowid(p_rowid gb_common.internal_record_id_type)
RETURN section_labor_ref
Selects one record using ROWID.
|
p_rowid
|
Database ROWID of the record to be selected. VARCHAR2(18) Required
|
|
A cursor variable that will fetch exactly one record.
|
f_query_one_lock
Function f_query_one_lock(p_term_code ssrclbd.ssrclbd_term_code%TYPE,
p_crn ssrclbd.ssrclbd_crn%TYPE,
p_seq_no ssrclbd.ssrclbd_seq_no%TYPE,
p_rowid gb_common.internal_record_id_type DEFAULT NULL)
RETURN section_labor_ref
Selects one record and locks it.
|
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_rowid
|
Database ROWID of the record to be selected. VARCHAR2(18)
|
|
A cursor variable for one record, locking the record.
|
p_create
Procedure p_create(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,
p_rowid_out OUT gb_common.internal_record_id_type)
Creates a record.
|
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_rowid_out
|
Database ROWID of the record to be created. VARCHAR2(18) Required
|
p_delete
Procedure p_delete(p_term_code ssrclbd.ssrclbd_term_code%TYPE,
p_crn ssrclbd.ssrclbd_crn%TYPE,
p_seq_no ssrclbd.ssrclbd_seq_no%TYPE,
p_rowid gb_common.internal_record_id_type DEFAULT NULL)
Deletes a record.
|
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_rowid
|
Database ROWID of the record to be deleted. VARCHAR2(18)
|
p_lock
Procedure p_lock(p_term_code ssrclbd.ssrclbd_term_code%TYPE,
p_crn ssrclbd.ssrclbd_crn%TYPE,
p_seq_no ssrclbd.ssrclbd_seq_no%TYPE,
p_rowid_inout IN OUT gb_common.internal_record_id_type)
Locks a record.
If ROWID is not passed in, the record is located using the key values and the ROWID of the locked row is passed in p_rowid_inout
|
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_rowid_inout
|
Database ROWID of the record to be locked. VARCHAR2(18) Required
|
p_update
Procedure p_update(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 DEFAULT dml_common.f_unspecified_number,
p_user_id ssrclbd.ssrclbd_user_id%TYPE DEFAULT gb_common.f_sct_user,
p_data_origin ssrclbd.ssrclbd_data_origin%TYPE DEFAULT dml_common.f_unspecified_string,
p_coas_code ssrclbd.ssrclbd_coas_code%TYPE DEFAULT dml_common.f_unspecified_string,
p_acci_code ssrclbd.ssrclbd_acci_code%TYPE DEFAULT dml_common.f_unspecified_string,
p_fund_code ssrclbd.ssrclbd_fund_code%TYPE DEFAULT dml_common.f_unspecified_string,
p_orgn_code ssrclbd.ssrclbd_orgn_code%TYPE DEFAULT dml_common.f_unspecified_string,
p_acct_code ssrclbd.ssrclbd_acct_code%TYPE DEFAULT dml_common.f_unspecified_string,
p_prog_code ssrclbd.ssrclbd_prog_code%TYPE DEFAULT dml_common.f_unspecified_string,
p_actv_code ssrclbd.ssrclbd_actv_code%TYPE DEFAULT dml_common.f_unspecified_string,
p_locn_code ssrclbd.ssrclbd_locn_code%TYPE DEFAULT dml_common.f_unspecified_string,
p_proj_code ssrclbd.ssrclbd_proj_code%TYPE DEFAULT dml_common.f_unspecified_string,
p_ctyp_code ssrclbd.ssrclbd_ctyp_code%TYPE DEFAULT dml_common.f_unspecified_string,
p_acct_external_cde ssrclbd.ssrclbd_acct_external_cde%TYPE DEFAULT dml_common.f_unspecified_string,
p_rowid gb_common.internal_record_id_type DEFAULT NULL)
Updates a record.
|
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_rowid
|
Database ROWID of the record to be updated. VARCHAR2(18)
|