DBA Data[Home] [Help]

APPS.IBY_TRANSACTIONSET_PKG dependencies on IBY_BATCHES_ALL

Line 227: l_mbatchid iby_batches_all.mbatchid%type;

223: l_tmid iby_trxn_summaries_all.mtangibleid%type;
224: l_order_id iby_trxn_summaries_all.tangibleid%type;
225:
226: l_mpayeeid iby_payee.mpayeeid%type;
227: l_mbatchid iby_batches_all.mbatchid%type;
228: BEGIN
229: -- Initialize variables
230: num_trxns := 0;
231:

Line 517: l_mbatchid iby_batches_all.mbatchid%type;

513: trxn_mid NUMBER;
514: transaction_id NUMBER;
515: l_tmid iby_trxn_summaries_all.mtangibleid%type;
516: l_mpayeeid iby_payee.mpayeeid%type;
517: l_mbatchid iby_batches_all.mbatchid%type;
518: BEGIN
519: -- NULL optional parameters if they are empty string
520: IF (batch_id_in = '')
521: THEN

Line 772: l_mbatchid iby_batches_all.mbatchid%type;

768: transaction_id NUMBER;
769: l_tmid iby_trxn_summaries_all.mtangibleid%type;
770: l_order_id iby_trxn_summaries_all.tangibleid%type;
771: l_mpayeeid iby_payee.mpayeeid%type;
772: l_mbatchid iby_batches_all.mbatchid%type;
773: BEGIN
774: -- NULL optional parameters if they are empty string
775: IF (batch_id_in = '')
776: THEN

Line 1161: (batch_id_in IN iby_batches_all.BatchID%TYPE,

1157: /* Inserts or updates a batch summary row into the PS_BATCH */
1158: /* table. This should happen for open or close batch operations. */
1159:
1160: PROCEDURE insert_batch_status
1161: (batch_id_in IN iby_batches_all.BatchID%TYPE,
1162: merchant_id_in IN iby_batches_all.PayeeID%TYPE,
1163: bep_id_in IN iby_batches_all.BEPID%TYPE,
1164: /* vendor_suffix_in IN iby_batches_all.vendor_suffix%TYPE, */
1165: /* close_status_in IN iby_batches_all.BatchCloseStatus%TYPE, */

Line 1162: merchant_id_in IN iby_batches_all.PayeeID%TYPE,

1158: /* table. This should happen for open or close batch operations. */
1159:
1160: PROCEDURE insert_batch_status
1161: (batch_id_in IN iby_batches_all.BatchID%TYPE,
1162: merchant_id_in IN iby_batches_all.PayeeID%TYPE,
1163: bep_id_in IN iby_batches_all.BEPID%TYPE,
1164: /* vendor_suffix_in IN iby_batches_all.vendor_suffix%TYPE, */
1165: /* close_status_in IN iby_batches_all.BatchCloseStatus%TYPE, */
1166: currency_in IN iby_batches_all.CurrencyNameCode%TYPE,

Line 1163: bep_id_in IN iby_batches_all.BEPID%TYPE,

1159:
1160: PROCEDURE insert_batch_status
1161: (batch_id_in IN iby_batches_all.BatchID%TYPE,
1162: merchant_id_in IN iby_batches_all.PayeeID%TYPE,
1163: bep_id_in IN iby_batches_all.BEPID%TYPE,
1164: /* vendor_suffix_in IN iby_batches_all.vendor_suffix%TYPE, */
1165: /* close_status_in IN iby_batches_all.BatchCloseStatus%TYPE, */
1166: currency_in IN iby_batches_all.CurrencyNameCode%TYPE,
1167: sale_price_in IN iby_batches_all.BatchSales%TYPE,

Line 1164: /* vendor_suffix_in IN iby_batches_all.vendor_suffix%TYPE, */

1160: PROCEDURE insert_batch_status
1161: (batch_id_in IN iby_batches_all.BatchID%TYPE,
1162: merchant_id_in IN iby_batches_all.PayeeID%TYPE,
1163: bep_id_in IN iby_batches_all.BEPID%TYPE,
1164: /* vendor_suffix_in IN iby_batches_all.vendor_suffix%TYPE, */
1165: /* close_status_in IN iby_batches_all.BatchCloseStatus%TYPE, */
1166: currency_in IN iby_batches_all.CurrencyNameCode%TYPE,
1167: sale_price_in IN iby_batches_all.BatchSales%TYPE,
1168: credit_price_in IN iby_batches_all.BatchCredit%TYPE,

Line 1165: /* close_status_in IN iby_batches_all.BatchCloseStatus%TYPE, */

1161: (batch_id_in IN iby_batches_all.BatchID%TYPE,
1162: merchant_id_in IN iby_batches_all.PayeeID%TYPE,
1163: bep_id_in IN iby_batches_all.BEPID%TYPE,
1164: /* vendor_suffix_in IN iby_batches_all.vendor_suffix%TYPE, */
1165: /* close_status_in IN iby_batches_all.BatchCloseStatus%TYPE, */
1166: currency_in IN iby_batches_all.CurrencyNameCode%TYPE,
1167: sale_price_in IN iby_batches_all.BatchSales%TYPE,
1168: credit_price_in IN iby_batches_all.BatchCredit%TYPE,
1169: trxn_count_in IN iby_batches_all.NumTrxns%TYPE,

Line 1166: currency_in IN iby_batches_all.CurrencyNameCode%TYPE,

1162: merchant_id_in IN iby_batches_all.PayeeID%TYPE,
1163: bep_id_in IN iby_batches_all.BEPID%TYPE,
1164: /* vendor_suffix_in IN iby_batches_all.vendor_suffix%TYPE, */
1165: /* close_status_in IN iby_batches_all.BatchCloseStatus%TYPE, */
1166: currency_in IN iby_batches_all.CurrencyNameCode%TYPE,
1167: sale_price_in IN iby_batches_all.BatchSales%TYPE,
1168: credit_price_in IN iby_batches_all.BatchCredit%TYPE,
1169: trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1170: sale_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,

Line 1167: sale_price_in IN iby_batches_all.BatchSales%TYPE,

1163: bep_id_in IN iby_batches_all.BEPID%TYPE,
1164: /* vendor_suffix_in IN iby_batches_all.vendor_suffix%TYPE, */
1165: /* close_status_in IN iby_batches_all.BatchCloseStatus%TYPE, */
1166: currency_in IN iby_batches_all.CurrencyNameCode%TYPE,
1167: sale_price_in IN iby_batches_all.BatchSales%TYPE,
1168: credit_price_in IN iby_batches_all.BatchCredit%TYPE,
1169: trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1170: sale_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1171: credit_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,

Line 1168: credit_price_in IN iby_batches_all.BatchCredit%TYPE,

1164: /* vendor_suffix_in IN iby_batches_all.vendor_suffix%TYPE, */
1165: /* close_status_in IN iby_batches_all.BatchCloseStatus%TYPE, */
1166: currency_in IN iby_batches_all.CurrencyNameCode%TYPE,
1167: sale_price_in IN iby_batches_all.BatchSales%TYPE,
1168: credit_price_in IN iby_batches_all.BatchCredit%TYPE,
1169: trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1170: sale_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1171: credit_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1172: open_date_in IN iby_batches_all.BatchOpenDate%TYPE,

Line 1169: trxn_count_in IN iby_batches_all.NumTrxns%TYPE,

1165: /* close_status_in IN iby_batches_all.BatchCloseStatus%TYPE, */
1166: currency_in IN iby_batches_all.CurrencyNameCode%TYPE,
1167: sale_price_in IN iby_batches_all.BatchSales%TYPE,
1168: credit_price_in IN iby_batches_all.BatchCredit%TYPE,
1169: trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1170: sale_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1171: credit_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1172: open_date_in IN iby_batches_all.BatchOpenDate%TYPE,
1173: close_date_in IN iby_batches_all.BatchCloseDate%TYPE,

Line 1170: sale_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,

1166: currency_in IN iby_batches_all.CurrencyNameCode%TYPE,
1167: sale_price_in IN iby_batches_all.BatchSales%TYPE,
1168: credit_price_in IN iby_batches_all.BatchCredit%TYPE,
1169: trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1170: sale_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1171: credit_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1172: open_date_in IN iby_batches_all.BatchOpenDate%TYPE,
1173: close_date_in IN iby_batches_all.BatchCloseDate%TYPE,
1174: status_in IN iby_batches_all.BatchStatus%TYPE,

Line 1171: credit_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,

1167: sale_price_in IN iby_batches_all.BatchSales%TYPE,
1168: credit_price_in IN iby_batches_all.BatchCredit%TYPE,
1169: trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1170: sale_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1171: credit_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1172: open_date_in IN iby_batches_all.BatchOpenDate%TYPE,
1173: close_date_in IN iby_batches_all.BatchCloseDate%TYPE,
1174: status_in IN iby_batches_all.BatchStatus%TYPE,
1175: vendor_code_in IN iby_batches_all.BEPCode%TYPE,

Line 1172: open_date_in IN iby_batches_all.BatchOpenDate%TYPE,

1168: credit_price_in IN iby_batches_all.BatchCredit%TYPE,
1169: trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1170: sale_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1171: credit_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1172: open_date_in IN iby_batches_all.BatchOpenDate%TYPE,
1173: close_date_in IN iby_batches_all.BatchCloseDate%TYPE,
1174: status_in IN iby_batches_all.BatchStatus%TYPE,
1175: vendor_code_in IN iby_batches_all.BEPCode%TYPE,
1176: vendor_message_in IN iby_batches_all.BEPMessage%TYPE,

Line 1173: close_date_in IN iby_batches_all.BatchCloseDate%TYPE,

1169: trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1170: sale_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1171: credit_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1172: open_date_in IN iby_batches_all.BatchOpenDate%TYPE,
1173: close_date_in IN iby_batches_all.BatchCloseDate%TYPE,
1174: status_in IN iby_batches_all.BatchStatus%TYPE,
1175: vendor_code_in IN iby_batches_all.BEPCode%TYPE,
1176: vendor_message_in IN iby_batches_all.BEPMessage%TYPE,
1177: error_location_in IN iby_batches_all.ErrorLocation%TYPE,

Line 1174: status_in IN iby_batches_all.BatchStatus%TYPE,

1170: sale_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1171: credit_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1172: open_date_in IN iby_batches_all.BatchOpenDate%TYPE,
1173: close_date_in IN iby_batches_all.BatchCloseDate%TYPE,
1174: status_in IN iby_batches_all.BatchStatus%TYPE,
1175: vendor_code_in IN iby_batches_all.BEPCode%TYPE,
1176: vendor_message_in IN iby_batches_all.BEPMessage%TYPE,
1177: error_location_in IN iby_batches_all.ErrorLocation%TYPE,
1178: org_id_in IN iby_batches_all.org_id%TYPE,

Line 1175: vendor_code_in IN iby_batches_all.BEPCode%TYPE,

1171: credit_trxn_count_in IN iby_batches_all.NumTrxns%TYPE,
1172: open_date_in IN iby_batches_all.BatchOpenDate%TYPE,
1173: close_date_in IN iby_batches_all.BatchCloseDate%TYPE,
1174: status_in IN iby_batches_all.BatchStatus%TYPE,
1175: vendor_code_in IN iby_batches_all.BEPCode%TYPE,
1176: vendor_message_in IN iby_batches_all.BEPMessage%TYPE,
1177: error_location_in IN iby_batches_all.ErrorLocation%TYPE,
1178: org_id_in IN iby_batches_all.org_id%TYPE,
1179: req_type_in IN iby_batches_all.reqtype%type)

Line 1176: vendor_message_in IN iby_batches_all.BEPMessage%TYPE,

1172: open_date_in IN iby_batches_all.BatchOpenDate%TYPE,
1173: close_date_in IN iby_batches_all.BatchCloseDate%TYPE,
1174: status_in IN iby_batches_all.BatchStatus%TYPE,
1175: vendor_code_in IN iby_batches_all.BEPCode%TYPE,
1176: vendor_message_in IN iby_batches_all.BEPMessage%TYPE,
1177: error_location_in IN iby_batches_all.ErrorLocation%TYPE,
1178: org_id_in IN iby_batches_all.org_id%TYPE,
1179: req_type_in IN iby_batches_all.reqtype%type)
1180: IS

Line 1177: error_location_in IN iby_batches_all.ErrorLocation%TYPE,

1173: close_date_in IN iby_batches_all.BatchCloseDate%TYPE,
1174: status_in IN iby_batches_all.BatchStatus%TYPE,
1175: vendor_code_in IN iby_batches_all.BEPCode%TYPE,
1176: vendor_message_in IN iby_batches_all.BEPMessage%TYPE,
1177: error_location_in IN iby_batches_all.ErrorLocation%TYPE,
1178: org_id_in IN iby_batches_all.org_id%TYPE,
1179: req_type_in IN iby_batches_all.reqtype%type)
1180: IS
1181: num_trxns NUMBER;

Line 1178: org_id_in IN iby_batches_all.org_id%TYPE,

1174: status_in IN iby_batches_all.BatchStatus%TYPE,
1175: vendor_code_in IN iby_batches_all.BEPCode%TYPE,
1176: vendor_message_in IN iby_batches_all.BEPMessage%TYPE,
1177: error_location_in IN iby_batches_all.ErrorLocation%TYPE,
1178: org_id_in IN iby_batches_all.org_id%TYPE,
1179: req_type_in IN iby_batches_all.reqtype%type)
1180: IS
1181: num_trxns NUMBER;
1182: err_msg VARCHAR2(100);

Line 1179: req_type_in IN iby_batches_all.reqtype%type)

1175: vendor_code_in IN iby_batches_all.BEPCode%TYPE,
1176: vendor_message_in IN iby_batches_all.BEPMessage%TYPE,
1177: error_location_in IN iby_batches_all.ErrorLocation%TYPE,
1178: org_id_in IN iby_batches_all.org_id%TYPE,
1179: req_type_in IN iby_batches_all.reqtype%type)
1180: IS
1181: num_trxns NUMBER;
1182: err_msg VARCHAR2(100);
1183:

Line 1184: l_mbatchid iby_batches_all.mbatchid%type;

1180: IS
1181: num_trxns NUMBER;
1182: err_msg VARCHAR2(100);
1183:
1184: l_mbatchid iby_batches_all.mbatchid%type;
1185: l_mpayeeid iby_payee.mpayeeid%type;
1186: BEGIN
1187:
1188: num_trxns := 0;

Line 1192: FROM iby_batches_all

1188: num_trxns := 0;
1189: -- Get number of existing batches that match
1190: SELECT count(*)
1191: INTO num_trxns
1192: FROM iby_batches_all
1193: WHERE BatchId = batch_id_in
1194: AND PayeeID = merchant_id_in;
1195: IF (num_trxns = 0)
1196: THEN

Line 1206: INSERT INTO iby_batches_all

1202: INTO l_mbatchid
1203: FROM dual;
1204: --Bug:8363526
1205: --Inserting new column settledate VALUE:sysdate
1206: INSERT INTO iby_batches_all
1207: (MBatchID, BatchID, org_id, MPayeeID, PayeeID, /* BatchCloseStatus,*/
1208: CURRENCYNameCode, BatchSales, BatchCredit, BatchTotal,
1209: NumTrxns, BatchOpenDate, BatchCloseDate, BatchStatus,
1210: BEPCode, BEPMessage, ErrorLocation, reqtype, reqdate,

Line 1229: UPDATE iby_batches_all

1225:
1226: ELSIF (num_trxns = 1)
1227: THEN
1228: -- Update batch status row
1229: UPDATE iby_batches_all
1230: SET /* BatchCloseStatus = close_status_in, */
1231:
1232: reqtype = req_type_in,
1233: reqdate = sysdate,

Line 1298: l_mbatchid iby_batches_all.mbatchid%type;

1294: err_msg VARCHAR2(100);
1295: trxn_mid NUMBER;
1296:
1297: l_mpayeeid iby_payee.mpayeeid%type;
1298: l_mbatchid iby_batches_all.mbatchid%type;
1299: BEGIN
1300: -- Check for idempotency: see if transaction already
1301: -- exists
1302: SELECT count(*)