Package sb_transfer_equiv_cmt
This package provides the Common Business interface for the Transfer Equivalent Comments API (sb_transfer_equiv_cmt).
|
M_ENTITY_NAME
M_ENTITY_NAME CONSTANT VARCHAR2(18) := 'TRANSFER_EQUIV_CMT';
Business Entity Name
M_BASE_TABLE_NAME
M_BASE_TABLE_NAME CONSTANT VARCHAR2(7) := 'SHRICMT';
Base table name
transfer_equiv_cmt_rec
TYPE transfer_equiv_cmt_rec IS RECORD (
r_sbgi_code shricmt.shricmt_sbgi_code%TYPE,
r_program shricmt.shricmt_program%TYPE,
r_tlvl_code shricmt.shricmt_tlvl_code%TYPE,
r_subj_code_trns shricmt.shricmt_subj_code_trns%TYPE,
r_crse_numb_trns shricmt.shricmt_crse_numb_trns%TYPE,
r_term_code_eff shricmt.shricmt_term_code_eff%TYPE,
r_subj_code_inst shricmt.shricmt_subj_code_inst%TYPE,
r_crse_numb_inst shricmt.shricmt_crse_numb_inst%TYPE,
r_shrtatc_seqno shricmt.shricmt_shrtatc_seqno%TYPE,
r_seqno shricmt.shricmt_seqno%TYPE,
r_text shricmt.shricmt_text%TYPE,
r_group shricmt.shricmt_group%TYPE,
r_internal_record_id gb_common.internal_record_id_type);
Business Entity record type
transfer_equiv_cmt_ref
TYPE transfer_equiv_cmt_ref IS REF CURSOR RETURN transfer_equiv_cmt_rec;
Entity cursor variable type
transfer_equiv_cmt_tab
TYPE transfer_equiv_cmt_tab IS TABLE OF transfer_equiv_cmt_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_sbgi_code shricmt.shricmt_sbgi_code%TYPE,
p_program shricmt.shricmt_program%TYPE,
p_tlvl_code shricmt.shricmt_tlvl_code%TYPE,
p_subj_code_trns shricmt.shricmt_subj_code_trns%TYPE,
p_crse_numb_trns shricmt.shricmt_crse_numb_trns%TYPE,
p_term_code_eff shricmt.shricmt_term_code_eff%TYPE,
p_subj_code_inst shricmt.shricmt_subj_code_inst%TYPE,
p_crse_numb_inst shricmt.shricmt_crse_numb_inst%TYPE,
p_shrtatc_seqno shricmt.shricmt_shrtatc_seqno%TYPE,
p_seqno shricmt.shricmt_seqno%TYPE,
p_group shricmt.shricmt_group%TYPE,
p_rowid gb_common.internal_record_id_type DEFAULT NULL)
RETURN VARCHAR2
Checks if a record exists.
|
p_sbgi_code
|
Transfer institution the course is associated with. VARCHAR2(6) Required Key
|
|
p_program
|
Degree program (if any) associated with the institution course. VARCHAR2(12) Required Key
|
|
p_tlvl_code
|
Level associated with the institution course. VARCHAR2(2) Required Key
|
|
p_subj_code_trns
|
Transfer subject associated with the institution course. VARCHAR2(60) Required Key
|
|
p_crse_numb_trns
|
Transfer course associated with the institution course. VARCHAR2(60) Required Key
|
|
p_term_code_eff
|
Effective transfer term associated with the institution course. VARCHAR2(6) Required Key
|
|
p_subj_code_inst
|
Institution subject. VARCHAR2(4) Required Key
|
|
p_crse_numb_inst
|
Institution course number. VARCHAR2(5) Required Key
|
|
p_shrtatc_seqno
|
Internal sequence number associated the parent course equivalent record. NUMBER(23,20) Required Key
|
|
p_seqno
|
Internal sequence number associated with the line of text. NUMBER(23,20) Key
|
|
p_group
|
Group of which the transfer subject and course has been designated a member. VARCHAR2(2) Key
|
|
p_rowid
|
Database ROWID of the record to be selected. VARCHAR2(18)
|
f_isequal
Function f_isequal(rec_one transfer_equiv_cmt_rec,
rec_two transfer_equiv_cmt_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_sbgi_code shricmt.shricmt_sbgi_code%TYPE,
p_program shricmt.shricmt_program%TYPE,
p_tlvl_code shricmt.shricmt_tlvl_code%TYPE,
p_subj_code_trns shricmt.shricmt_subj_code_trns%TYPE,
p_crse_numb_trns shricmt.shricmt_crse_numb_trns%TYPE,
p_term_code_eff shricmt.shricmt_term_code_eff%TYPE,
p_shrtatc_seqno shricmt.shricmt_shrtatc_seqno%TYPE,
p_group shricmt.shricmt_group%TYPE)
RETURN transfer_equiv_cmt_ref
Selects all records for the entity.
Does not use parameter p_seqno, p_text because multiples of these may exist for each parent record in SHRTATC.
|
p_sbgi_code
|
Transfer institution the course is associated with. VARCHAR2(6) Required Key
|
|
p_program
|
Degree program (if any) associated with the institution course. VARCHAR2(12) Required Key
|
|
p_tlvl_code
|
Level associated with the institution course. VARCHAR2(2) Required Key
|
|
p_subj_code_trns
|
Transfer subject associated with the institution course. VARCHAR2(60) Required Key
|
|
p_crse_numb_trns
|
Transfer course associated with the institution course. VARCHAR2(60) Required Key
|
|
p_term_code_eff
|
Effective transfer term associated with the institution course. VARCHAR2(6) Required Key
|
|
p_subj_code_inst
|
Institution subject. VARCHAR2(4) Required Key
|
|
p_crse_numb_inst
|
Institution course number. VARCHAR2(5) Required Key
|
|
p_shrtatc_seqno
|
Internal sequence number associated the parent course equivalent record. NUMBER(23,20) Required Key
|
|
p_group
|
Group of which the transfer subject and course has been designated a member. VARCHAR2(2) Key
|
|
A cursor variable that will fetch a set of records.
|
f_query_one
Function f_query_one(p_sbgi_code shricmt.shricmt_sbgi_code%TYPE,
p_program shricmt.shricmt_program%TYPE,
p_tlvl_code shricmt.shricmt_tlvl_code%TYPE,
p_subj_code_trns shricmt.shricmt_subj_code_trns%TYPE,
p_crse_numb_trns shricmt.shricmt_crse_numb_trns%TYPE,
p_term_code_eff shricmt.shricmt_term_code_eff%TYPE,
p_subj_code_inst shricmt.shricmt_subj_code_inst%TYPE,
p_crse_numb_inst shricmt.shricmt_crse_numb_inst%TYPE,
p_shrtatc_seqno shricmt.shricmt_shrtatc_seqno%TYPE,
p_seqno shricmt.shricmt_seqno%TYPE,
p_group shricmt.shricmt_group%TYPE)
RETURN transfer_equiv_cmt_ref
Selects one record using the key.
|
p_sbgi_code
|
Transfer institution the course is associated with. VARCHAR2(6) Required Key
|
|
p_program
|
Degree program (if any) associated with the institution course. VARCHAR2(12) Required Key
|
|
p_tlvl_code
|
Level associated with the institution course. VARCHAR2(2) Required Key
|
|
p_subj_code_trns
|
Transfer subject associated with the institution course. VARCHAR2(60) Required Key
|
|
p_crse_numb_trns
|
Transfer course associated with the institution course. VARCHAR2(60) Required Key
|
|
p_term_code_eff
|
Effective transfer term associated with the institution course. VARCHAR2(6) Required Key
|
|
p_subj_code_inst
|
Institution subject. VARCHAR2(4) Required Key
|
|
p_crse_numb_inst
|
Institution course number. VARCHAR2(5) Required Key
|
|
p_shrtatc_seqno
|
Internal sequence number associated the parent course equivalent record. NUMBER(23,20) Required Key
|
|
p_seqno
|
Internal sequence number associated with the line of text. NUMBER(23,20) Key
|
|
p_group
|
Group of which the transfer subject and course has been designated a member. VARCHAR2(2) 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 transfer_equiv_cmt_ref
Selects one record using the 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_sbgi_code shricmt.shricmt_sbgi_code%TYPE,
p_program shricmt.shricmt_program%TYPE,
p_tlvl_code shricmt.shricmt_tlvl_code%TYPE,
p_subj_code_trns shricmt.shricmt_subj_code_trns%TYPE,
p_crse_numb_trns shricmt.shricmt_crse_numb_trns%TYPE,
p_term_code_eff shricmt.shricmt_term_code_eff%TYPE,
p_subj_code_inst shricmt.shricmt_subj_code_inst%TYPE,
p_crse_numb_inst shricmt.shricmt_crse_numb_inst%TYPE,
p_shrtatc_seqno shricmt.shricmt_shrtatc_seqno%TYPE,
p_seqno shricmt.shricmt_seqno%TYPE,
p_group shricmt.shricmt_group%TYPE,
p_rowid gb_common.internal_record_id_type DEFAULT NULL)
RETURN transfer_equiv_cmt_ref
Selects one record and locks it.
|
p_sbgi_code
|
Transfer institution the course is associated with. VARCHAR2(6) Required Key
|
|
p_program
|
Degree program (if any) associated with the institution course. VARCHAR2(12) Required Key
|
|
p_tlvl_code
|
Level associated with the institution course. VARCHAR2(2) Required Key
|
|
p_subj_code_trns
|
Transfer subject associated with the institution course. VARCHAR2(60) Required Key
|
|
p_crse_numb_trns
|
Transfer course associated with the institution course. VARCHAR2(60) Required Key
|
|
p_term_code_eff
|
Effective transfer term associated with the institution course. VARCHAR2(6) Required Key
|
|
p_subj_code_inst
|
Institution subject. VARCHAR2(4) Required Key
|
|
p_crse_numb_inst
|
Institution course number. VARCHAR2(5) Required Key
|
|
p_shrtatc_seqno
|
Internal sequence number associated the parent course equivalent record. NUMBER(23,20) Required Key
|
|
p_seqno
|
Internal sequence number associated with the line of text. NUMBER(23,20) Key
|
|
p_group
|
Group of which the transfer subject and course has been designated a member. VARCHAR2(2) 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_sbgi_code shricmt.shricmt_sbgi_code%TYPE,
p_program shricmt.shricmt_program%TYPE,
p_tlvl_code shricmt.shricmt_tlvl_code%TYPE,
p_subj_code_trns shricmt.shricmt_subj_code_trns%TYPE,
p_crse_numb_trns shricmt.shricmt_crse_numb_trns%TYPE,
p_term_code_eff shricmt.shricmt_term_code_eff%TYPE,
p_subj_code_inst shricmt.shricmt_subj_code_inst%TYPE,
p_crse_numb_inst shricmt.shricmt_crse_numb_inst%TYPE,
p_shrtatc_seqno shricmt.shricmt_shrtatc_seqno%TYPE,
p_seqno shricmt.shricmt_seqno%TYPE,
p_text shricmt.shricmt_text%TYPE DEFAULT NULL,
p_group shricmt.shricmt_group%TYPE,
p_rowid_out OUT gb_common.internal_record_id_type)
Creates a record.
|
p_sbgi_code
|
Transfer institution the course is associated with. VARCHAR2(6) Required Key
|
|
p_program
|
Degree program (if any) associated with the institution course. VARCHAR2(12) Required Key
|
|
p_tlvl_code
|
Level associated with the institution course. VARCHAR2(2) Required Key
|
|
p_subj_code_trns
|
Transfer subject associated with the institution course. VARCHAR2(60) Required Key
|
|
p_crse_numb_trns
|
Transfer course associated with the institution course. VARCHAR2(60) Required Key
|
|
p_term_code_eff
|
Effective transfer term associated with the institution course. VARCHAR2(6) Required Key
|
|
p_subj_code_inst
|
Institution subject. VARCHAR2(4) Required Key
|
|
p_crse_numb_inst
|
Institution course number. VARCHAR2(5) Required Key
|
|
p_shrtatc_seqno
|
Internal sequence number associated the parent course equivalent record. NUMBER(23,20) Required Key
|
|
p_seqno
|
Internal sequence number associated with the line of text. NUMBER(23,20) Key
|
|
p_text
|
Institution course comment associated with this record. An unlimited number of comment records can be maintained in this block. VARCHAR2(60)
|
|
p_group
|
Group of which the transfer subject and course has been designated a member. VARCHAR2(2) Key
|
|
p_rowid_out
|
Database ROWID of the record to be created. VARCHAR2(18) Required
|
p_delete
Procedure p_delete(p_sbgi_code shricmt.shricmt_sbgi_code%TYPE,
p_program shricmt.shricmt_program%TYPE,
p_tlvl_code shricmt.shricmt_tlvl_code%TYPE,
p_subj_code_trns shricmt.shricmt_subj_code_trns%TYPE,
p_crse_numb_trns shricmt.shricmt_crse_numb_trns%TYPE,
p_term_code_eff shricmt.shricmt_term_code_eff%TYPE,
p_subj_code_inst shricmt.shricmt_subj_code_inst%TYPE,
p_crse_numb_inst shricmt.shricmt_crse_numb_inst%TYPE,
p_shrtatc_seqno shricmt.shricmt_shrtatc_seqno%TYPE,
p_seqno shricmt.shricmt_seqno%TYPE,
p_group shricmt.shricmt_group%TYPE,
p_rowid gb_common.internal_record_id_type DEFAULT NULL)
Deletes a record.
|
p_sbgi_code
|
Transfer institution the course is associated with. VARCHAR2(6) Required Key
|
|
p_program
|
Degree program (if any) associated with the institution course. VARCHAR2(12) Required Key
|
|
p_tlvl_code
|
Level associated with the institution course. VARCHAR2(2) Required Key
|
|
p_subj_code_trns
|
Transfer subject associated with the institution course. VARCHAR2(60) Required Key
|
|
p_crse_numb_trns
|
Transfer course associated with the institution course. VARCHAR2(60) Required Key
|
|
p_term_code_eff
|
Effective transfer term associated with the institution course. VARCHAR2(6) Required Key
|
|
p_subj_code_inst
|
Institution subject. VARCHAR2(4) Required Key
|
|
p_crse_numb_inst
|
Institution course number. VARCHAR2(5) Required Key
|
|
p_shrtatc_seqno
|
Internal sequence number associated the parent course equivalent record. NUMBER(23,20) Required Key
|
|
p_seqno
|
Internal sequence number associated with the line of text. NUMBER(23,20) Key
|
|
p_group
|
Group of which the transfer subject and course has been designated a member. VARCHAR2(2) Key
|
|
p_rowid
|
Database ROWID of the record to be deleted. VARCHAR2(18)
|
p_lock
Procedure p_lock(p_sbgi_code shricmt.shricmt_sbgi_code%TYPE,
p_program shricmt.shricmt_program%TYPE,
p_tlvl_code shricmt.shricmt_tlvl_code%TYPE,
p_subj_code_trns shricmt.shricmt_subj_code_trns%TYPE,
p_crse_numb_trns shricmt.shricmt_crse_numb_trns%TYPE,
p_term_code_eff shricmt.shricmt_term_code_eff%TYPE,
p_subj_code_inst shricmt.shricmt_subj_code_inst%TYPE,
p_crse_numb_inst shricmt.shricmt_crse_numb_inst%TYPE,
p_shrtatc_seqno shricmt.shricmt_shrtatc_seqno%TYPE,
p_seqno shricmt.shricmt_seqno%TYPE,
p_group shricmt.shricmt_group%TYPE,
p_rowid_inout IN OUT NOCOPY gb_common.internal_record_id_type)
Locks a record.
If the 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_sbgi_code
|
Transfer institution the course is associated with. VARCHAR2(6) Required Key
|
|
p_program
|
Degree program (if any) associated with the institution course. VARCHAR2(12) Required Key
|
|
p_tlvl_code
|
Level associated with the institution course. VARCHAR2(2) Required Key
|
|
p_subj_code_trns
|
Transfer subject associated with the institution course. VARCHAR2(60) Required Key
|
|
p_crse_numb_trns
|
Transfer course associated with the institution course. VARCHAR2(60) Required Key
|
|
p_term_code_eff
|
Effective transfer term associated with the institution course. VARCHAR2(6) Required Key
|
|
p_subj_code_inst
|
Institution subject. VARCHAR2(4) Required Key
|
|
p_crse_numb_inst
|
Institution course number. VARCHAR2(5) Required Key
|
|
p_shrtatc_seqno
|
Internal sequence number associated the parent course equivalent record. NUMBER(23,20) Required Key
|
|
p_seqno
|
Internal sequence number associated with the line of text. NUMBER(23,20) Key
|
|
p_group
|
Group of which the transfer subject and course has been designated a member. VARCHAR2(2) Key
|
|
p_rowid_inout
|
Database ROWID of the record to be locked. VARCHAR2(18) Required
|
p_update
Procedure p_update(p_sbgi_code shricmt.shricmt_sbgi_code%TYPE,
p_program shricmt.shricmt_program%TYPE,
p_tlvl_code shricmt.shricmt_tlvl_code%TYPE,
p_subj_code_trns shricmt.shricmt_subj_code_trns%TYPE,
p_crse_numb_trns shricmt.shricmt_crse_numb_trns%TYPE,
p_term_code_eff shricmt.shricmt_term_code_eff%TYPE,
p_subj_code_inst shricmt.shricmt_subj_code_inst%TYPE,
p_crse_numb_inst shricmt.shricmt_crse_numb_inst%TYPE,
p_shrtatc_seqno shricmt.shricmt_shrtatc_seqno%TYPE,
p_seqno shricmt.shricmt_seqno%TYPE,
p_text shricmt.shricmt_text%TYPE DEFAULT dml_common.f_unspecified_string,
p_group shricmt.shricmt_group%TYPE,
p_rowid gb_common.internal_record_id_type DEFAULT NULL)
Updates a record.
|
p_sbgi_code
|
Transfer institution the course is associated with. VARCHAR2(6) Required Key
|
|
p_program
|
Degree program (if any) associated with the institution course. VARCHAR2(12) Required Key
|
|
p_tlvl_code
|
Level associated with the institution course. VARCHAR2(2) Required Key
|
|
p_subj_code_trns
|
Transfer subject associated with the institution course. VARCHAR2(60) Required Key
|
|
p_crse_numb_trns
|
Transfer course associated with the institution course. VARCHAR2(60) Required Key
|
|
p_term_code_eff
|
Effective transfer term associated with the institution course. VARCHAR2(6) Required Key
|
|
p_subj_code_inst
|
Institution subject. VARCHAR2(4) Required Key
|
|
p_crse_numb_inst
|
Institution course number. VARCHAR2(5) Required Key
|
|
p_shrtatc_seqno
|
Internal sequence number associated the parent course equivalent record. NUMBER(23,20) Required Key
|
|
p_seqno
|
Internal sequence number associated with the line of text. NUMBER(23,20) Key
|
|
p_text
|
Institution course comment for this record. An unlimited number of comment records can be maintained in this block. VARCHAR2(60)
|
|
p_group
|
Group of which the transfer subject and course has been designated a member. VARCHAR2(2) Key
|
|
p_rowid
|
Database ROWID of the record to be updated. VARCHAR2(18)
|