DBA Data[Home] [Help]

APPS.IEX_PROFILE dependencies on GL_CURRENCY_API

Line 433: --SELECT SUM(gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,

429:
430: CURSOR C_PARTY_CREDIT(p_party_id NUMBER)
431: IS
432: -- Begin fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
433: --SELECT SUM(gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
434: SELECT SUM(DECODE(prof_amt.overall_credit_limit, NULL, NULL, gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
435: -- End fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
436: sysdate, cm_opt.default_exchange_rate_type, prof_amt.overall_credit_limit))),
437: DECODE(MAX(DECODE(prof.credit_hold, 'Y', 1, 0)), 1, ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'Y'), ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'N')),

Line 434: SELECT SUM(DECODE(prof_amt.overall_credit_limit, NULL, NULL, gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,

430: CURSOR C_PARTY_CREDIT(p_party_id NUMBER)
431: IS
432: -- Begin fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
433: --SELECT SUM(gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
434: SELECT SUM(DECODE(prof_amt.overall_credit_limit, NULL, NULL, gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
435: -- End fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
436: sysdate, cm_opt.default_exchange_rate_type, prof_amt.overall_credit_limit))),
437: DECODE(MAX(DECODE(prof.credit_hold, 'Y', 1, 0)), 1, ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'Y'), ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'N')),
438: DECODE(MAX(DECODE(prof.dunning_letters, 'Y', 1, 0)), 1, ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'Y'), ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'N')),

Line 459: --SELECT SUM(gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,

455:
456: CURSOR C_CUST_CREDIT(p_cust_account_id NUMBER)
457: IS
458: -- Begin fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
459: --SELECT SUM(gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
460: SELECT SUM(DECODE(prof_amt.overall_credit_limit, NULL, NULL, gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
461: -- End fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
462: sysdate, cm_opt.default_exchange_rate_type, prof_amt.overall_credit_limit))),
463: DECODE(MAX(DECODE(prof.credit_hold, 'Y', 1, 0)), 1, ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'Y'), ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'N')),

Line 460: SELECT SUM(DECODE(prof_amt.overall_credit_limit, NULL, NULL, gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,

456: CURSOR C_CUST_CREDIT(p_cust_account_id NUMBER)
457: IS
458: -- Begin fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
459: --SELECT SUM(gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
460: SELECT SUM(DECODE(prof_amt.overall_credit_limit, NULL, NULL, gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
461: -- End fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
462: sysdate, cm_opt.default_exchange_rate_type, prof_amt.overall_credit_limit))),
463: DECODE(MAX(DECODE(prof.credit_hold, 'Y', 1, 0)), 1, ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'Y'), ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'N')),
464: DECODE(MAX(DECODE(prof.dunning_letters, 'Y', 1, 0)), 1, ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'Y'), ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'N')),

Line 482: --SELECT SUM(gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,

478:
479: CURSOR C_SITE_CREDIT(p_customer_site_use_id NUMBER)
480: IS
481: -- Begin fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
482: --SELECT SUM(gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
483: SELECT SUM(DECODE(prof_amt.overall_credit_limit, NULL, NULL, gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
484: -- End fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
485: sysdate, cm_opt.default_exchange_rate_type, prof_amt.overall_credit_limit))),
486: DECODE(MAX(DECODE(prof.credit_hold, 'Y', 1, 0)), 1, ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'Y'), ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'N')),

Line 483: SELECT SUM(DECODE(prof_amt.overall_credit_limit, NULL, NULL, gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,

479: CURSOR C_SITE_CREDIT(p_customer_site_use_id NUMBER)
480: IS
481: -- Begin fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
482: --SELECT SUM(gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
483: SELECT SUM(DECODE(prof_amt.overall_credit_limit, NULL, NULL, gl_currency_api.convert_amount_sql(prof_amt.currency_code, g_curr_rec.base_currency,
484: -- End fix bug #5685635-12/08/2006-return null when credit limits value is null instead of -2
485: sysdate, cm_opt.default_exchange_rate_type, prof_amt.overall_credit_limit))),
486: DECODE(MAX(DECODE(prof.credit_hold, 'Y', 1, 0)), 1, ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'Y'), ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'N')),
487: DECODE(MAX(DECODE(prof.dunning_letters, 'Y', 1, 0)), 1, ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'Y'), ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING('YES/NO', 'N')),