DBA Data[Home] [Help]

APPS.FA_ASSET_DESC_PUB dependencies on FND_PROFILE

Line 155: if (nvl(fnd_profile.value('CRL-FA ENABLED'), 'N') = 'Y') then

151: raise pub_error;
152: end if;
153:
154: -- check if CRL enabled
155: if (nvl(fnd_profile.value('CRL-FA ENABLED'), 'N') = 'Y') then
156:
157: -- If called from Asset Hierarchy batch ignore CRL validations
158: if px_trans_rec.calling_interface <> 'ASSET_HIERARCHY' then
159: l_crl_enabled := TRUE;

Line 1502: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);

1498: px_asset_hdr_rec.set_of_books_id :=
1499: fa_cache_pkg.fazcbc_record.set_of_books_id;
1500:
1501: -- Set the gl_sob profile to this book
1502: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);
1503: fnd_client_info.set_currency_context (px_asset_hdr_rec.set_of_books_id);
1504:
1505: if (NOT FA_UTIL_PVT.get_period_rec (
1506: p_book => px_asset_hdr_rec.book_type_code,

Line 1547: fnd_profile.put('GL_SET_OF_BKS_ID', l_mrc_asset_hdr_rec.set_of_books_id);

1543: l_reporting_flag := 'R';
1544: end if;
1545:
1546: -- Set the gl_sob profile to this reporting book
1547: fnd_profile.put('GL_SET_OF_BKS_ID', l_mrc_asset_hdr_rec.set_of_books_id);
1548: fnd_client_info.set_currency_context
1549: (l_mrc_asset_hdr_rec.set_of_books_id);
1550:
1551: -- Need to always call fazcbcs

Line 1987: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);

1983: COMMIT WORK;
1984: end if;
1985:
1986: -- Reset the gl_sob profile to this book
1987: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);
1988: fnd_client_info.set_currency_context (px_asset_hdr_rec.set_of_books_id);
1989:
1990: -- Standard call to get message count and if count is 1 get message info.
1991: fnd_msg_pub.count_and_get (

Line 2005: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);

2001:
2002: ROLLBACK TO do_invoice_desc_update;
2003:
2004: -- set back to original environment when the procedure is finished
2005: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);
2006: fnd_client_info.set_currency_context (px_asset_hdr_rec.set_of_books_id);
2007:
2008: fa_srvr_msg.add_message
2009: (calling_fn => l_calling_fn,

Line 2024: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);

2020:
2021: ROLLBACK TO do_invoice_desc_update;
2022:
2023: -- set back to original environment when the procedure is finished
2024: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);
2025: fnd_client_info.set_currency_context (px_asset_hdr_rec.set_of_books_id);
2026:
2027: fa_srvr_msg.add_sql_error
2028: (calling_fn => l_calling_fn

Line 2136: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);

2132: px_asset_hdr_rec.set_of_books_id :=
2133: fa_cache_pkg.fazcbc_record.set_of_books_id;
2134:
2135: -- Set the gl_sob profile to this book
2136: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);
2137: fnd_client_info.set_currency_context (px_asset_hdr_rec.set_of_books_id);
2138:
2139: if (NOT FA_UTIL_PVT.get_period_rec (
2140: p_book => px_asset_hdr_rec.book_type_code,

Line 2181: fnd_profile.put('GL_SET_OF_BKS_ID', l_mrc_asset_hdr_rec.set_of_books_id);

2177: l_reporting_flag := 'R';
2178: end if;
2179:
2180: -- Set the gl_sob profile to this reporting book
2181: fnd_profile.put('GL_SET_OF_BKS_ID', l_mrc_asset_hdr_rec.set_of_books_id);
2182: fnd_client_info.set_currency_context
2183: (l_mrc_asset_hdr_rec.set_of_books_id);
2184:
2185: -- Need to always call fazcbcs

Line 2714: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);

2710: COMMIT WORK;
2711: end if;
2712:
2713: -- Reset the gl_sob profile to this book
2714: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);
2715: fnd_client_info.set_currency_context (px_asset_hdr_rec.set_of_books_id);
2716:
2717: -- Standard call to get message count and if count is 1 get message info.
2718: fnd_msg_pub.count_and_get (

Line 2732: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);

2728:
2729: ROLLBACK TO do_retirement_desc_update;
2730:
2731: -- set back to original environment when the procedure is finished
2732: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);
2733: fnd_client_info.set_currency_context (px_asset_hdr_rec.set_of_books_id);
2734:
2735: fa_srvr_msg.add_message
2736: (calling_fn => l_calling_fn,

Line 2751: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);

2747:
2748: ROLLBACK TO do_retirement_desc_update;
2749:
2750: -- set back to original environment when the procedure is finished
2751: fnd_profile.put('GL_SET_OF_BKS_ID', px_asset_hdr_rec.set_of_books_id);
2752: fnd_client_info.set_currency_context (px_asset_hdr_rec.set_of_books_id);
2753:
2754: fa_srvr_msg.add_sql_error
2755: (calling_fn => l_calling_fn