1: package body iby_sched as
2: /*$Header: ibyscfib.pls 120.4 2005/11/17 01:53:45 syidner ship $*/
3:
4: procedure cardInfo (in_payerinstrid in iby_trans_fi_v.payerinstrid%type,
5: in_payeeid in iby_trans_fi_v.payeeid%type,
6: in_tangibleid in iby_trans_fi_v.tangibleid%type,
7: out_ccnumber_from out nocopy iby_creditcard_v.ccnumber%type,
8: out_expdate_from out nocopy iby_creditcard_v.expirydate%type,
1: package body iby_sched as
2: /*$Header: ibyscfib.pls 120.4 2005/11/17 01:53:45 syidner ship $*/
3:
4: procedure cardInfo (in_payerinstrid in iby_trans_fi_v.payerinstrid%type,
5: in_payeeid in iby_trans_fi_v.payeeid%type,
6: in_tangibleid in iby_trans_fi_v.tangibleid%type,
7: out_ccnumber_from out nocopy iby_creditcard_v.ccnumber%type,
8: out_expdate_from out nocopy iby_creditcard_v.expirydate%type,
9: out_accttype_from out nocopy iby_accttype.accttype%type,
2: /*$Header: ibyscfib.pls 120.4 2005/11/17 01:53:45 syidner ship $*/
3:
4: procedure cardInfo (in_payerinstrid in iby_trans_fi_v.payerinstrid%type,
5: in_payeeid in iby_trans_fi_v.payeeid%type,
6: in_tangibleid in iby_trans_fi_v.tangibleid%type,
7: out_ccnumber_from out nocopy iby_creditcard_v.ccnumber%type,
8: out_expdate_from out nocopy iby_creditcard_v.expirydate%type,
9: out_accttype_from out nocopy iby_accttype.accttype%type,
10: out_name out nocopy varchar2,
16: out_refinfo out nocopy iby_tangible.refinfo%type,
17: out_memo out nocopy iby_tangible.memo%type,
18: out_currency out nocopy iby_tangible.currencynamecode%type)
19: is
20: cursor c_userCardInfo (cin_payerinstrid in iby_trans_fi_v.payerinstrid%type) is
21:
22: select ccnumber,
23: expirydate,
24: accttype
26: iby_trxn_summaries_all d
27: where d.payerinstrid = cin_payerinstrid
28: and d.payerinstrid = c.instrid;
29:
30: cursor c_payeeBankInfo (cin_payeeid in iby_trans_fi_v.payeeid%type) is
31: select b.bank_party_id,
32: b.branch_party_id,
33: b.ext_bank_account_id,
34: b.bank_account_type
36: iby_trxn_summaries_all d
37: where d.payeeid = cin_payeeid
38: and d.payeeinstrid = b.ext_bank_account_id;
39:
40: cursor c_tangibleInfo (cin_tangibleid in iby_trans_fi_v.tangibleid%type) is
41: select acctno,
42: refinfo,
43: memo,
44: currencynamecode
76: end if;
77: close c_tangibleInfo;
78: end cardInfo;
79:
80: procedure bankInfo (in_payerinstrid in iby_trans_fi_v.payerinstrid%type,
81: in_payeeid in iby_trans_fi_v.payeeid%type,
82: in_tangibleid in iby_trans_fi_v.tangibleid%type,
83: out_bankid_from out nocopy iby_ext_bank_accounts_v.bank_party_id%type,
84: out_branchid_from out nocopy iby_ext_bank_accounts_v.branch_party_id%type,
77: close c_tangibleInfo;
78: end cardInfo;
79:
80: procedure bankInfo (in_payerinstrid in iby_trans_fi_v.payerinstrid%type,
81: in_payeeid in iby_trans_fi_v.payeeid%type,
82: in_tangibleid in iby_trans_fi_v.tangibleid%type,
83: out_bankid_from out nocopy iby_ext_bank_accounts_v.bank_party_id%type,
84: out_branchid_from out nocopy iby_ext_bank_accounts_v.branch_party_id%type,
85: out_acctid_from out nocopy iby_ext_bank_accounts_v.ext_bank_account_id%type,
78: end cardInfo;
79:
80: procedure bankInfo (in_payerinstrid in iby_trans_fi_v.payerinstrid%type,
81: in_payeeid in iby_trans_fi_v.payeeid%type,
82: in_tangibleid in iby_trans_fi_v.tangibleid%type,
83: out_bankid_from out nocopy iby_ext_bank_accounts_v.bank_party_id%type,
84: out_branchid_from out nocopy iby_ext_bank_accounts_v.branch_party_id%type,
85: out_acctid_from out nocopy iby_ext_bank_accounts_v.ext_bank_account_id%type,
86: out_accttype_from out nocopy iby_accttype.accttype%type,
93: out_refinfo out nocopy iby_tangible.refinfo%type,
94: out_memo out nocopy iby_tangible.memo%type,
95: out_currency out nocopy iby_tangible.currencynamecode%type)
96: is
97: cursor c_userBankInfo (cin_payerinstrid in iby_trans_fi_v.payerinstrid%type) is
98:
99: select b.bank_party_id,
100: b.branch_party_id,
101: b.ext_bank_account_id,
105: where d.payerinstrid = cin_payerinstrid
106: and d.payerinstrid = b.ext_bank_account_id;
107:
108:
109: cursor c_payeeBankInfo (cin_payeeid in iby_trans_fi_v.payeeid%type) is
110: select b.bank_party_id,
111: b.branch_party_id,
112: b.ext_bank_account_id,
113: b.bank_account_type
115: iby_trxn_summaries_all d
116: where d.payeeid = cin_payeeid
117: and d.payeeinstrid = b.ext_bank_account_id;
118:
119: cursor c_tangibleInfo (cin_tangibleid in iby_trans_fi_v.tangibleid%type) is
120: select acctno,
121: refinfo,
122: memo,
123: currencynamecode
199: AND iby_trans_core_v.ecappid = cin_ecappid;
200:
201:
202: CURSOR c_trans_fi (cin_ecappid in iby_ecapp.ecappid%type) IS
203: SELECT iby_trans_fi_v.TRANSACTIONID,
204: iby_trans_fi_v.STATUS,
205: iby_trans_fi_v.UPDATEDATE,
206: iby_trans_fi_v.REQTYPE,
207: iby_trans_fi_v.REFERENCECODE,
200:
201:
202: CURSOR c_trans_fi (cin_ecappid in iby_ecapp.ecappid%type) IS
203: SELECT iby_trans_fi_v.TRANSACTIONID,
204: iby_trans_fi_v.STATUS,
205: iby_trans_fi_v.UPDATEDATE,
206: iby_trans_fi_v.REQTYPE,
207: iby_trans_fi_v.REFERENCECODE,
208: iby_trans_fi_v.TRXNMID
201:
202: CURSOR c_trans_fi (cin_ecappid in iby_ecapp.ecappid%type) IS
203: SELECT iby_trans_fi_v.TRANSACTIONID,
204: iby_trans_fi_v.STATUS,
205: iby_trans_fi_v.UPDATEDATE,
206: iby_trans_fi_v.REQTYPE,
207: iby_trans_fi_v.REFERENCECODE,
208: iby_trans_fi_v.TRXNMID
209: FROM iby_trans_fi_v
202: CURSOR c_trans_fi (cin_ecappid in iby_ecapp.ecappid%type) IS
203: SELECT iby_trans_fi_v.TRANSACTIONID,
204: iby_trans_fi_v.STATUS,
205: iby_trans_fi_v.UPDATEDATE,
206: iby_trans_fi_v.REQTYPE,
207: iby_trans_fi_v.REFERENCECODE,
208: iby_trans_fi_v.TRXNMID
209: FROM iby_trans_fi_v
210: WHERE iby_trans_fi_v.needsupdt IN ('Y','F')
203: SELECT iby_trans_fi_v.TRANSACTIONID,
204: iby_trans_fi_v.STATUS,
205: iby_trans_fi_v.UPDATEDATE,
206: iby_trans_fi_v.REQTYPE,
207: iby_trans_fi_v.REFERENCECODE,
208: iby_trans_fi_v.TRXNMID
209: FROM iby_trans_fi_v
210: WHERE iby_trans_fi_v.needsupdt IN ('Y','F')
211: AND iby_trans_fi_v.ecappid = cin_ecappid;
204: iby_trans_fi_v.STATUS,
205: iby_trans_fi_v.UPDATEDATE,
206: iby_trans_fi_v.REQTYPE,
207: iby_trans_fi_v.REFERENCECODE,
208: iby_trans_fi_v.TRXNMID
209: FROM iby_trans_fi_v
210: WHERE iby_trans_fi_v.needsupdt IN ('Y','F')
211: AND iby_trans_fi_v.ecappid = cin_ecappid;
212:
205: iby_trans_fi_v.UPDATEDATE,
206: iby_trans_fi_v.REQTYPE,
207: iby_trans_fi_v.REFERENCECODE,
208: iby_trans_fi_v.TRXNMID
209: FROM iby_trans_fi_v
210: WHERE iby_trans_fi_v.needsupdt IN ('Y','F')
211: AND iby_trans_fi_v.ecappid = cin_ecappid;
212:
213: -- r_trans_fi c_trans_fi%ROWTYPE;
206: iby_trans_fi_v.REQTYPE,
207: iby_trans_fi_v.REFERENCECODE,
208: iby_trans_fi_v.TRXNMID
209: FROM iby_trans_fi_v
210: WHERE iby_trans_fi_v.needsupdt IN ('Y','F')
211: AND iby_trans_fi_v.ecappid = cin_ecappid;
212:
213: -- r_trans_fi c_trans_fi%ROWTYPE;
214:
207: iby_trans_fi_v.REFERENCECODE,
208: iby_trans_fi_v.TRXNMID
209: FROM iby_trans_fi_v
210: WHERE iby_trans_fi_v.needsupdt IN ('Y','F')
211: AND iby_trans_fi_v.ecappid = cin_ecappid;
212:
213: -- r_trans_fi c_trans_fi%ROWTYPE;
214:
215: CURSOR c_trans_bankacct (cin_ecappid in iby_ecapp.ecappid%type) IS