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 1861: if ( gl_currency_api.is_fixed_rate (p_base_currency,

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

Line 1867: if ( gl_currency_api.is_fixed_rate (p_base_currency,

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