Line 46: cursor get_enc_id is select gms_encumbrances_s.nextval from dual;
42: x_org_id in NUMBER ) is
43:
44: cursor return_rowid is select rowid from gms_encumbrances
45: where encumbrance_id = x_encumbrance_id; 46: cursor get_enc_id is select gms_encumbrances_s.nextval from dual; 47:
48: BEGIN
49:
50: if (x_encumbrance_id is null) then