DBA Data[Home] [Help]

APPS.OKC_CURRENCY_API dependencies on OKC_CONTEXT

Line 481: -- Assumes the OKC Context is set, so it can call the

477: -- Parameters are needed.
478: -- Desc Provides the Euro currency code if EMU currency.
479: -- Needed for Post-EFC scenario after 01-Jan-2002.
480: -- And if SoB is already switched to EUR, using EFC.
481: -- Assumes the OKC Context is set, so it can call the
482: -- Get_OU_Currency api using the OKC Context.
483: -- Primarily intended for OKS Billing program.
484:
485: FUNCTION GET_EURO_CURRENCY_CODE( p_currency VARCHAR2 )

Line 482: -- Get_OU_Currency api using the OKC Context.

478: -- Desc Provides the Euro currency code if EMU currency.
479: -- Needed for Post-EFC scenario after 01-Jan-2002.
480: -- And if SoB is already switched to EUR, using EFC.
481: -- Assumes the OKC Context is set, so it can call the
482: -- Get_OU_Currency api using the OKC Context.
483: -- Primarily intended for OKS Billing program.
484:
485: FUNCTION GET_EURO_CURRENCY_CODE( p_currency VARCHAR2 )
486: RETURN VARCHAR2

Line 496: /* If the OKC Context is not set then Org_ID would be returned as NULL

492: l_currency_type := GET_CURRENCY_TYPE( p_currency, sysdate );
493: -- l_curr_euro := gl_currency_api.get_euro_code; /* Bugfix 2256060 - This line is moved after checking the currency_type */
494:
495:
496: /* If the OKC Context is not set then Org_ID would be returned as NULL
497: and the fnd_profile would be used.
498: If the context returns -99, then get_ou_curr api will return NULL */
499:
500: -- commented out sysdate check for testing.

Line 505: IF (get_ou_currency(okc_context.get_okc_org_id) = l_curr_euro ) then

501:
502: IF (l_currency_type = 'EMU' ) then
503: l_curr_euro := gl_currency_api.get_euro_code; /* Bugfix 2256060 - moved this line from above */
504: -- and sysdate >= to_date('01-jan-2002','dd-mon-yyyy')
505: IF (get_ou_currency(okc_context.get_okc_org_id) = l_curr_euro ) then
506: return l_curr_euro;
507: ELSE
508: return p_currency;
509: END IF;