DBA Data[Home] [Help]

APPS.OKL_INTEREST_CALC_PVT dependencies on OKL_ACCOUNTING_UTIL

Line 33: l_error_msg_rec OKL_ACCOUNTING_UTIL.Error_message_Type;

29: l_khrv_rec_in OKL_CONTRACT_PUB.khrv_rec_type;
30: l_khrv_rec_out OKL_CONTRACT_PUB.khrv_rec_type;
31: l_chrv_rec_in okl_okc_migration_pvt.chrv_rec_type;
32: l_chrv_rec_out okl_okc_migration_pvt.chrv_rec_type;
33: l_error_msg_rec OKL_ACCOUNTING_UTIL.Error_message_Type;
34:
35: l_tmpl_identify_rec OKL_ACCOUNT_DIST_PUB.TMPL_IDENTIFY_REC_TYPE;
36: l_dist_info_rec OKL_ACCOUNT_DIST_PUB.DIST_INFO_REC_TYPE;
37: l_ctxt_val_tbl OKL_ACCOUNT_DIST_PUB.CTXT_VAL_TBL_TYPE;

Line 181: l_functional_currency := OKL_ACCOUNTING_UTIL.GET_FUNC_CURR_CODE;

177: RAISE OKL_API.G_EXCEPTION_ERROR;
178: END IF;
179:
180: -- Fetch the functional currency
181: l_functional_currency := OKL_ACCOUNTING_UTIL.GET_FUNC_CURR_CODE;
182:
183: -- Added by Santonyr on 22-Nov-2002. Multi-Currency Changes
184: -- Fetch the currency conversion factors from Contracts table
185:

Line 198: l_currency_conversion_rate := okl_accounting_util.get_curr_con_rate

194: -- conversion type is not 'USER'.
195:
196: IF UPPER(l_currency_conversion_type) <> 'USER' THEN
197: l_currency_conversion_date := SYSDATE;
198: l_currency_conversion_rate := okl_accounting_util.get_curr_con_rate
199: (p_from_curr_code => l_currency_code,
200: p_to_curr_code => l_functional_currency,
201: p_con_date => l_currency_conversion_date,
202: p_con_type => l_currency_conversion_type);

Line 206: l_amount := OKL_ACCOUNTING_UTIL.CROSS_CURRENCY_ROUND_AMOUNT

202: p_con_type => l_currency_conversion_type);
203:
204: END IF; -- End IF for (UPPER(l_currency_conversion_type) <> 'USER')
205:
206: l_amount := OKL_ACCOUNTING_UTIL.CROSS_CURRENCY_ROUND_AMOUNT
207: (p_amount => p_amount,
208: p_currency_code => l_currency_code);
209:
210: -- Code can be commented to create billing transaction - HKPATEL

Line 862: l_error_msg_rec OKL_ACCOUNTING_UTIL.Error_message_Type;

858: l_khrv_tbl_in OKL_CONTRACT_PUB.KHRV_TBL_TYPE;
859: l_khrv_tbl_out OKL_CONTRACT_PUB.KHRV_TBL_TYPE;
860:
861:
862: l_error_msg_rec OKL_ACCOUNTING_UTIL.Error_message_Type;
863:
864:
865: -- Cursor for getting all the eligible contracts (which have capitalization flag = 'N') and
866: -- which are in certain status

Line 932: OKL_ACCOUNTING_UTIL.get_period_info(p_date => l_int_calc_upto,

928:
929: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Given Interest Calculation Upto Date : ' || l_int_calc_upto);
930: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Starting the Interest Calculation Process');
931:
932: OKL_ACCOUNTING_UTIL.get_period_info(p_date => l_int_calc_upto,
933: p_period_name => l_period_name,
934: p_start_date => l_start_date,
935: p_end_date => l_period_end_date);
936:

Line 1006: 'Total Amount was ' || OKL_ACCOUNTING_UTIL.ROUND_AMOUNT(p_amount => l_amount,

1002: IF (l_return_status = OKL_API.G_RET_STS_SUCCESS) THEN
1003: l_count := l_count + 1;
1004: COMMIT WORK;
1005: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Interest Successfully Calculated. ' ||
1006: 'Total Amount was ' || OKL_ACCOUNTING_UTIL.ROUND_AMOUNT(p_amount => l_amount,
1007: p_currency_code => OKL_ACCOUNTING_UTIL.get_func_curr_code));
1008: ELSE
1009: ROLLBACK TO CREATE_TRX_ACCT;
1010: FND_FILE.PUT_LINE(FND_FILE.LOG, 'There was a problem calculating interest for ' ||

Line 1007: p_currency_code => OKL_ACCOUNTING_UTIL.get_func_curr_code));

1003: l_count := l_count + 1;
1004: COMMIT WORK;
1005: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Interest Successfully Calculated. ' ||
1006: 'Total Amount was ' || OKL_ACCOUNTING_UTIL.ROUND_AMOUNT(p_amount => l_amount,
1007: p_currency_code => OKL_ACCOUNTING_UTIL.get_func_curr_code));
1008: ELSE
1009: ROLLBACK TO CREATE_TRX_ACCT;
1010: FND_FILE.PUT_LINE(FND_FILE.LOG, 'There was a problem calculating interest for ' ||
1011: 'Contract Number ' || cont_head_rec.contract_number);

Line 1016: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);

1012:
1013: -- Commented out code to fix bug 3695764
1014:
1015: /*
1016: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);
1017: IF (l_error_msg_rec.COUNT > 0) THEN
1018: FOR i IN l_error_msg_rec.FIRST..l_error_msg_rec.LAST
1019: LOOP
1020: FND_FILE.PUT_LINE(FND_FILE.LOG, l_error_msg_rec(i));

Line 1066: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);

1062:
1063: WHEN Okl_Api.G_EXCEPTION_ERROR THEN
1064:
1065: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Interest Calculation Process Aborted');
1066: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);
1067: IF (l_error_msg_rec.COUNT > 0) THEN
1068: FOR i IN l_error_msg_rec.FIRST..l_error_msg_rec.LAST
1069: LOOP
1070: FND_FILE.PUT_LINE(FND_FILE.LOG, l_error_msg_rec(i));

Line 1080: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);

1076: p_errbuf := SQLERRM;
1077: p_retcode := 2;
1078:
1079: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Interest Calculation Process Aborted');
1080: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);
1081: IF (l_error_msg_rec.COUNT > 0) THEN
1082: FOR i IN l_error_msg_rec.FIRST..l_error_msg_rec.LAST
1083: LOOP
1084: FND_FILE.PUT_LINE(FND_FILE.LOG, l_error_msg_rec(i));