DBA Data[Home] [Help]

APPS.AP_UTILITIES_PKG dependencies on GL_CURRENCY_API

Line 683: l_rate := gl_currency_api.get_rate(p_from_currency_code, p_to_currency_code,

679: current_calling_sequence :=
680: 'AP_UTILITIES_PKG.get_exchange_rate<-'||P_Calling_Sequence;
681:
682: debug_info := 'Calling GL API to get the rate';
683: l_rate := gl_currency_api.get_rate(p_from_currency_code, p_to_currency_code,
684: p_exchange_date, p_exchange_rate_type);
685:
686: return(l_rate);
687:

Line 689: WHEN gl_currency_api.NO_RATE THEN

685:
686: return(l_rate);
687:
688: EXCEPTION
689: WHEN gl_currency_api.NO_RATE THEN
690: return(l_rate);
691: WHEN OTHERS THEN
692: /* Note: this segment of code affects the purity of the function
693: (ie with it, we cannot guarantee that package/dbms state

Line 1857: if ( gl_currency_api.is_fixed_rate (p_base_currency,

1853:
1854: debug_info := 'Loop through every set of books and see if all the reporting currency is euro derived';
1855:
1856: WHILE loop_index <= l_sob_list.count LOOP
1857: if ( gl_currency_api.is_fixed_rate (p_base_currency,
1858: l_sob_list(loop_index).r_sob_curr,
1859: sysdate) <> 'Y' ) then
1860: p_mc_flag_enabled := 'N';
1861: EXIT;

Line 1863: if ( gl_currency_api.is_fixed_rate (p_base_currency,

1859: sysdate) <> 'Y' ) then
1860: p_mc_flag_enabled := 'N';
1861: EXIT;
1862: end if;
1863: if ( gl_currency_api.is_fixed_rate (p_base_currency,
1864: l_sob_list(loop_index).r_sob_curr,
1865: sysdate) is NULL ) then
1866: raise NO_GL_DATA;
1867: end if;