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 187: l_functional_currency := OKL_ACCOUNTING_UTIL.GET_FUNC_CURR_CODE;

183: RAISE OKL_API.G_EXCEPTION_ERROR;
184: END IF;
185:
186: -- Fetch the functional currency
187: l_functional_currency := OKL_ACCOUNTING_UTIL.GET_FUNC_CURR_CODE;
188:
189: -- Added by Santonyr on 22-Nov-2002. Multi-Currency Changes
190: -- Fetch the currency conversion factors from Contracts table
191:

Line 204: l_currency_conversion_rate := okl_accounting_util.get_curr_con_rate

200: -- conversion type is not 'USER'.
201:
202: IF UPPER(l_currency_conversion_type) <> 'USER' THEN
203: l_currency_conversion_date := SYSDATE;
204: l_currency_conversion_rate := okl_accounting_util.get_curr_con_rate
205: (p_from_curr_code => l_currency_code,
206: p_to_curr_code => l_functional_currency,
207: p_con_date => l_currency_conversion_date,
208: p_con_type => l_currency_conversion_type);

Line 212: l_amount := OKL_ACCOUNTING_UTIL.CROSS_CURRENCY_ROUND_AMOUNT

208: p_con_type => l_currency_conversion_type);
209:
210: END IF; -- End IF for (UPPER(l_currency_conversion_type) <> 'USER')
211:
212: l_amount := OKL_ACCOUNTING_UTIL.CROSS_CURRENCY_ROUND_AMOUNT
213: (p_amount => p_amount,
214: p_currency_code => l_currency_code);
215:
216: -- Code can be commented to create billing transaction - HKPATEL

Line 712: l_error_msg_rec OKL_ACCOUNTING_UTIL.Error_message_Type;

708: l_khrv_tbl_in OKL_CONTRACT_PUB.KHRV_TBL_TYPE;
709: l_khrv_tbl_out OKL_CONTRACT_PUB.KHRV_TBL_TYPE;
710:
711:
712: l_error_msg_rec OKL_ACCOUNTING_UTIL.Error_message_Type;
713:
714:
715: -- Cursor for getting all the eligible contracts (which have capitalization flag = 'N') and
716: -- which are in certain status

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

779:
780: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Given Interest Calculation Upto Date : ' || l_int_calc_upto);
781: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Starting the Interest Calculation Process');
782:
783: OKL_ACCOUNTING_UTIL.get_period_info(p_date => l_int_calc_upto,
784: p_period_name => l_period_name,
785: p_start_date => l_start_date,
786: p_end_date => l_period_end_date);
787:

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

853: IF (l_return_status = OKL_API.G_RET_STS_SUCCESS) THEN
854: l_count := l_count + 1;
855: COMMIT WORK;
856: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Interest Successfully Calculated. ' ||
857: 'Total Amount was ' || OKL_ACCOUNTING_UTIL.ROUND_AMOUNT(p_amount => l_amount,
858: p_currency_code => OKL_ACCOUNTING_UTIL.get_func_curr_code));
859: ELSE
860: ROLLBACK TO CREATE_TRX_ACCT;
861: FND_FILE.PUT_LINE(FND_FILE.LOG, 'There was a problem calculating interest for ' ||

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

854: l_count := l_count + 1;
855: COMMIT WORK;
856: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Interest Successfully Calculated. ' ||
857: 'Total Amount was ' || OKL_ACCOUNTING_UTIL.ROUND_AMOUNT(p_amount => l_amount,
858: p_currency_code => OKL_ACCOUNTING_UTIL.get_func_curr_code));
859: ELSE
860: ROLLBACK TO CREATE_TRX_ACCT;
861: FND_FILE.PUT_LINE(FND_FILE.LOG, 'There was a problem calculating interest for ' ||
862: 'Contract Number ' || cont_head_rec.contract_number);

Line 867: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);

863:
864: -- Commented out code to fix bug 3695764
865:
866: /*
867: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);
868: IF (l_error_msg_rec.COUNT > 0) THEN
869: FOR i IN l_error_msg_rec.FIRST..l_error_msg_rec.LAST
870: LOOP
871: FND_FILE.PUT_LINE(FND_FILE.LOG, l_error_msg_rec(i));

Line 917: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);

913:
914: WHEN Okl_Api.G_EXCEPTION_ERROR THEN
915:
916: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Interest Calculation Process Aborted');
917: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);
918: IF (l_error_msg_rec.COUNT > 0) THEN
919: FOR i IN l_error_msg_rec.FIRST..l_error_msg_rec.LAST
920: LOOP
921: FND_FILE.PUT_LINE(FND_FILE.LOG, l_error_msg_rec(i));

Line 931: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);

927: p_errbuf := SQLERRM;
928: p_retcode := 2;
929:
930: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Interest Calculation Process Aborted');
931: Okl_Accounting_Util.GET_ERROR_MESSAGE(l_error_msg_rec);
932: IF (l_error_msg_rec.COUNT > 0) THEN
933: FOR i IN l_error_msg_rec.FIRST..l_error_msg_rec.LAST
934: LOOP
935: FND_FILE.PUT_LINE(FND_FILE.LOG, l_error_msg_rec(i));