338:
339: /*
340: ** Procedure Name : scheduleSET
341: ** Purpose : creates an entry for scheduling the SET CreditCard payments
342: ** in the iby_trxn_summaries_all and iby_trxn_extended
343: ** tables. Returns the transactionid created
344: ** by the system.
345: **
346: ** Parameters:
368: i_settledate iby_trxn_summaries_all.settledate%type,
369: i_authtype iby_trxn_core.authtype%type,
370: i_instrid iby_trxn_summaries_all.payerinstrid%type,
371: i_payerid iby_trxn_summaries_all.payerid%type,
372: recurringfreq iby_trxn_extended.RecurringFreq%type,
373: recurringexpdate iby_trxn_extended.RecurringExpDate%type,
374: destpostalcode iby_trxn_extended.DestPostalCode%type,
375: custrefnum iby_trxn_extended.CustRefNum%type,
376: localtaxprice iby_trxn_extended.LocalTaxPrice%type,
369: i_authtype iby_trxn_core.authtype%type,
370: i_instrid iby_trxn_summaries_all.payerinstrid%type,
371: i_payerid iby_trxn_summaries_all.payerid%type,
372: recurringfreq iby_trxn_extended.RecurringFreq%type,
373: recurringexpdate iby_trxn_extended.RecurringExpDate%type,
374: destpostalcode iby_trxn_extended.DestPostalCode%type,
375: custrefnum iby_trxn_extended.CustRefNum%type,
376: localtaxprice iby_trxn_extended.LocalTaxPrice%type,
377: localtaxcurrency iby_trxn_extended.LocalTaxCurrency%type,
370: i_instrid iby_trxn_summaries_all.payerinstrid%type,
371: i_payerid iby_trxn_summaries_all.payerid%type,
372: recurringfreq iby_trxn_extended.RecurringFreq%type,
373: recurringexpdate iby_trxn_extended.RecurringExpDate%type,
374: destpostalcode iby_trxn_extended.DestPostalCode%type,
375: custrefnum iby_trxn_extended.CustRefNum%type,
376: localtaxprice iby_trxn_extended.LocalTaxPrice%type,
377: localtaxcurrency iby_trxn_extended.LocalTaxCurrency%type,
378: authprice iby_trxn_extended.AuthPrice%type,
371: i_payerid iby_trxn_summaries_all.payerid%type,
372: recurringfreq iby_trxn_extended.RecurringFreq%type,
373: recurringexpdate iby_trxn_extended.RecurringExpDate%type,
374: destpostalcode iby_trxn_extended.DestPostalCode%type,
375: custrefnum iby_trxn_extended.CustRefNum%type,
376: localtaxprice iby_trxn_extended.LocalTaxPrice%type,
377: localtaxcurrency iby_trxn_extended.LocalTaxCurrency%type,
378: authprice iby_trxn_extended.AuthPrice%type,
379: authcurrency iby_trxn_extended.AuthCurrency%type,
372: recurringfreq iby_trxn_extended.RecurringFreq%type,
373: recurringexpdate iby_trxn_extended.RecurringExpDate%type,
374: destpostalcode iby_trxn_extended.DestPostalCode%type,
375: custrefnum iby_trxn_extended.CustRefNum%type,
376: localtaxprice iby_trxn_extended.LocalTaxPrice%type,
377: localtaxcurrency iby_trxn_extended.LocalTaxCurrency%type,
378: authprice iby_trxn_extended.AuthPrice%type,
379: authcurrency iby_trxn_extended.AuthCurrency%type,
380: splitshipment iby_trxn_extended.SplitShipment%type,
373: recurringexpdate iby_trxn_extended.RecurringExpDate%type,
374: destpostalcode iby_trxn_extended.DestPostalCode%type,
375: custrefnum iby_trxn_extended.CustRefNum%type,
376: localtaxprice iby_trxn_extended.LocalTaxPrice%type,
377: localtaxcurrency iby_trxn_extended.LocalTaxCurrency%type,
378: authprice iby_trxn_extended.AuthPrice%type,
379: authcurrency iby_trxn_extended.AuthCurrency%type,
380: splitshipment iby_trxn_extended.SplitShipment%type,
381: installtotaltrxns iby_trxn_extended.InstallTotalTrxns%type,
374: destpostalcode iby_trxn_extended.DestPostalCode%type,
375: custrefnum iby_trxn_extended.CustRefNum%type,
376: localtaxprice iby_trxn_extended.LocalTaxPrice%type,
377: localtaxcurrency iby_trxn_extended.LocalTaxCurrency%type,
378: authprice iby_trxn_extended.AuthPrice%type,
379: authcurrency iby_trxn_extended.AuthCurrency%type,
380: splitshipment iby_trxn_extended.SplitShipment%type,
381: installtotaltrxns iby_trxn_extended.InstallTotalTrxns%type,
382: splitid iby_trxn_extended.SplitId%type,
375: custrefnum iby_trxn_extended.CustRefNum%type,
376: localtaxprice iby_trxn_extended.LocalTaxPrice%type,
377: localtaxcurrency iby_trxn_extended.LocalTaxCurrency%type,
378: authprice iby_trxn_extended.AuthPrice%type,
379: authcurrency iby_trxn_extended.AuthCurrency%type,
380: splitshipment iby_trxn_extended.SplitShipment%type,
381: installtotaltrxns iby_trxn_extended.InstallTotalTrxns%type,
382: splitid iby_trxn_extended.SplitId%type,
383: batchid iby_trxn_summaries_all.BatchId%type,
376: localtaxprice iby_trxn_extended.LocalTaxPrice%type,
377: localtaxcurrency iby_trxn_extended.LocalTaxCurrency%type,
378: authprice iby_trxn_extended.AuthPrice%type,
379: authcurrency iby_trxn_extended.AuthCurrency%type,
380: splitshipment iby_trxn_extended.SplitShipment%type,
381: installtotaltrxns iby_trxn_extended.InstallTotalTrxns%type,
382: splitid iby_trxn_extended.SplitId%type,
383: batchid iby_trxn_summaries_all.BatchId%type,
384: batchseqnum iby_trxn_extended.BatchSeqNum%type,
377: localtaxcurrency iby_trxn_extended.LocalTaxCurrency%type,
378: authprice iby_trxn_extended.AuthPrice%type,
379: authcurrency iby_trxn_extended.AuthCurrency%type,
380: splitshipment iby_trxn_extended.SplitShipment%type,
381: installtotaltrxns iby_trxn_extended.InstallTotalTrxns%type,
382: splitid iby_trxn_extended.SplitId%type,
383: batchid iby_trxn_summaries_all.BatchId%type,
384: batchseqnum iby_trxn_extended.BatchSeqNum%type,
385: terminalid iby_trxn_extended.TerminalId%type)
378: authprice iby_trxn_extended.AuthPrice%type,
379: authcurrency iby_trxn_extended.AuthCurrency%type,
380: splitshipment iby_trxn_extended.SplitShipment%type,
381: installtotaltrxns iby_trxn_extended.InstallTotalTrxns%type,
382: splitid iby_trxn_extended.SplitId%type,
383: batchid iby_trxn_summaries_all.BatchId%type,
384: batchseqnum iby_trxn_extended.BatchSeqNum%type,
385: terminalid iby_trxn_extended.TerminalId%type)
386: IS
380: splitshipment iby_trxn_extended.SplitShipment%type,
381: installtotaltrxns iby_trxn_extended.InstallTotalTrxns%type,
382: splitid iby_trxn_extended.SplitId%type,
383: batchid iby_trxn_summaries_all.BatchId%type,
384: batchseqnum iby_trxn_extended.BatchSeqNum%type,
385: terminalid iby_trxn_extended.TerminalId%type)
386: IS
387:
388: l_mid NUMBER;
381: installtotaltrxns iby_trxn_extended.InstallTotalTrxns%type,
382: splitid iby_trxn_extended.SplitId%type,
383: batchid iby_trxn_summaries_all.BatchId%type,
384: batchseqnum iby_trxn_extended.BatchSeqNum%type,
385: terminalid iby_trxn_extended.TerminalId%type)
386: IS
387:
388: l_mid NUMBER;
389: l_tid NUMBER;
450: i_nlslang, l_mbatchid, batchid,
451: sysdate, sysdate, fnd_global.user_id, sysdate, fnd_global.user_id,
452: fnd_global.login_id, 1,'Y');
453:
454: INSERT INTO iby_trxn_extended
455: (TRXNMID, RecurringFreq, RecurringExpDate, DestPostalCode,
456: CustRefNum, LocalTaxPrice, LocalTaxCurrency,
457: AuthPrice, AuthCurrency, InstallTotalTrxns, SplitShipment, SplitId,
458: BatchSeqNum, TerminalId,
557: i_settledate iby_trxn_summaries_all.settledate%type,
558: i_authtype iby_trxn_core.authtype%type,
559: i_instrid iby_trxn_summaries_all.payerinstrid%type,
560: i_payerid iby_trxn_summaries_all.payerid%type,
561: splitid iby_trxn_extended.SplitId%type,
562: prevsplitid iby_trxn_extended.PrevSplitId%type,
563: subauthind iby_trxn_extended.SubAuthInd%type,
564: batchid iby_trxn_summaries_all.BatchId%type,
565: batchseqnum iby_trxn_extended.BatchSeqNum%type,
558: i_authtype iby_trxn_core.authtype%type,
559: i_instrid iby_trxn_summaries_all.payerinstrid%type,
560: i_payerid iby_trxn_summaries_all.payerid%type,
561: splitid iby_trxn_extended.SplitId%type,
562: prevsplitid iby_trxn_extended.PrevSplitId%type,
563: subauthind iby_trxn_extended.SubAuthInd%type,
564: batchid iby_trxn_summaries_all.BatchId%type,
565: batchseqnum iby_trxn_extended.BatchSeqNum%type,
566: terminalid iby_trxn_extended.TerminalId%type)
559: i_instrid iby_trxn_summaries_all.payerinstrid%type,
560: i_payerid iby_trxn_summaries_all.payerid%type,
561: splitid iby_trxn_extended.SplitId%type,
562: prevsplitid iby_trxn_extended.PrevSplitId%type,
563: subauthind iby_trxn_extended.SubAuthInd%type,
564: batchid iby_trxn_summaries_all.BatchId%type,
565: batchseqnum iby_trxn_extended.BatchSeqNum%type,
566: terminalid iby_trxn_extended.TerminalId%type)
567: IS
561: splitid iby_trxn_extended.SplitId%type,
562: prevsplitid iby_trxn_extended.PrevSplitId%type,
563: subauthind iby_trxn_extended.SubAuthInd%type,
564: batchid iby_trxn_summaries_all.BatchId%type,
565: batchseqnum iby_trxn_extended.BatchSeqNum%type,
566: terminalid iby_trxn_extended.TerminalId%type)
567: IS
568:
569: l_mid NUMBER;
562: prevsplitid iby_trxn_extended.PrevSplitId%type,
563: subauthind iby_trxn_extended.SubAuthInd%type,
564: batchid iby_trxn_summaries_all.BatchId%type,
565: batchseqnum iby_trxn_extended.BatchSeqNum%type,
566: terminalid iby_trxn_extended.TerminalId%type)
567: IS
568:
569: l_mid NUMBER;
570: l_tid NUMBER;
623: i_nlslang, l_mbatchid, batchid,
624: sysdate, sysdate, fnd_global.user_id, sysdate, fnd_global.user_id,
625: fnd_global.login_id, 1,'Y');
626:
627: INSERT INTO iby_trxn_extended
628: (TRXNMID, SplitId, PrevSplitId, SubAuthInd,
629: BatchSeqNum, TerminalId,
630: last_update_date, last_updated_by, creation_date, created_by,
631: last_update_login, object_version_number)