DBA Data[Home] [Help]

APPS.OKC_RULE_PVT dependencies on OKC_CURRENCY_API

Line 179: okc_currency_api.get_rate(

175: OPEN l_chr_csr;
176: FETCH l_chr_csr INTO l_chr_rec;
177: CLOSE l_chr_csr;
178:
179: okc_currency_api.get_rate(
180: p_FROM_CURRENCY => l_chr_rec.currency_code
181: ,p_TO_CURRENCY => okc_currency_api.get_ou_currency(l_chr_rec.authoring_org_id)
182: ,p_CONVERSION_DATE => fnd_date.canonical_to_date(l_rulv_rec.rule_information2)
183: ,p_CONVERSION_TYPE => l_rulv_rec.object1_id1

Line 181: ,p_TO_CURRENCY => okc_currency_api.get_ou_currency(l_chr_rec.authoring_org_id)

177: CLOSE l_chr_csr;
178:
179: okc_currency_api.get_rate(
180: p_FROM_CURRENCY => l_chr_rec.currency_code
181: ,p_TO_CURRENCY => okc_currency_api.get_ou_currency(l_chr_rec.authoring_org_id)
182: ,p_CONVERSION_DATE => fnd_date.canonical_to_date(l_rulv_rec.rule_information2)
183: ,p_CONVERSION_TYPE => l_rulv_rec.object1_id1
184: ,x_CONVERSION_RATE => l_rate
185: ,x_EURO_RATE => l_euro_rate

Line 217: WHEN okc_currency_api.no_rate then

213: update_minor_version(p_rulv_rec.dnz_chr_id);
214: END IF;
215:
216: EXCEPTION
217: WHEN okc_currency_api.no_rate then
218:
219: x_return_status := OKC_API.g_ret_sts_error;
220: OKC_API.SET_MESSAGE(G_APP_NAME,'OKC_NO_CONVERSION_RATE');
221: WHEN okc_currency_api.invalid_currency then

Line 221: WHEN okc_currency_api.invalid_currency then

217: WHEN okc_currency_api.no_rate then
218:
219: x_return_status := OKC_API.g_ret_sts_error;
220: OKC_API.SET_MESSAGE(G_APP_NAME,'OKC_NO_CONVERSION_RATE');
221: WHEN okc_currency_api.invalid_currency then
222:
223: x_return_status := OKC_API.g_ret_sts_error;
224: OKC_API.SET_MESSAGE(G_APP_NAME,'OKC_INVALID_CURRENCY');
225: