DBA Data[Home] [Help]

APPS.FA_ADDITION_PVT dependencies on FA_ADDITION_PVT

Line 1: PACKAGE BODY FA_ADDITION_PVT AS

1: PACKAGE BODY FA_ADDITION_PVT AS
2: /* $Header: FAVADDB.pls 120.42.12010000.6 2009/01/23 21:57:03 bridgway ship $ */
3:
4: function initialize (
5: -- Transaction Object --

Line 139: calling_fn => 'fa_addition_pvt.initialize',

135: elsif ((px_trans_rec.amortization_start_date is null) AND
136: (px_trans_rec.transaction_subtype is not null)) then
137:
138: fa_srvr_msg.add_message(
139: calling_fn => 'fa_addition_pvt.initialize',
140: name => 'FA_INVALID_PARAMETER',
141: token1 => 'VALUE',
142: value1 => px_trans_rec.transaction_subtype,
143: token2 => 'PARAM',

Line 148: calling_fn => 'fa_addition_pvt.initialize',

144: value2 => 'TRANSACTION_SUBTYPE'
145: ,p_log_level_rec => p_log_level_rec);
146:
147: fa_srvr_msg.add_message(
148: calling_fn => 'fa_addition_pvt.initialize',
149: name => 'FA_INVALID_PARAMETER',
150: token1 => 'VALUE',
151: value1 => 'NULL',
152: token2 => 'PARAM',

Line 644: p_calling_fn => 'fa_addition_pvt.initialize'

640: --Call validate disabled_flag to confirm default group is not disabled
641: if NOT FA_ASSET_VAL_PVT.validate_group_info
642: (p_group_asset_id => fa_cache_pkg.fazccbd_record.group_asset_id,
643: p_book_type_code => px_asset_hdr_rec.book_type_code,
644: p_calling_fn => 'fa_addition_pvt.initialize'
645: ,p_log_level_rec => p_log_level_rec) then
646: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',
647: name => 'FA_DISABLED_DEFAULT_GROUP'
648: ,p_log_level_rec => p_log_level_rec);

Line 646: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',

642: (p_group_asset_id => fa_cache_pkg.fazccbd_record.group_asset_id,
643: p_book_type_code => px_asset_hdr_rec.book_type_code,
644: p_calling_fn => 'fa_addition_pvt.initialize'
645: ,p_log_level_rec => p_log_level_rec) then
646: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',
647: name => 'FA_DISABLED_DEFAULT_GROUP'
648: ,p_log_level_rec => p_log_level_rec);
649: raise init_err;
650: end if;

Line 658: /* fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',

654: (fa_cache_pkg.fazcbc_record.allow_cip_member_flag = 'Y')) then
655: px_asset_fin_rec.group_asset_id := fa_cache_pkg.fazccbd_record.group_asset_id;
656: else
657: px_asset_fin_rec.group_asset_id := NULL;
658: /* fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',
659: name => 'FA_CIP_MEMBER_NOT_ALLOWED'
660: ,p_log_level_rec => p_log_level_rec);
661: raise init_err; */
662: end if; --end HH -- conditional group defaulting

Line 721: calling_fn => 'fa_addition_pvt.initialize',

717: elsif (px_asset_fin_rec.salvage_type <> 'PCT' and
718: px_asset_fin_rec.salvage_type <> 'AMT' and
719: px_asset_fin_rec.salvage_type <> 'SUM') then
720: fa_srvr_msg.add_message(
721: calling_fn => 'fa_addition_pvt.initialize',
722: name => 'FA_INVALID_PARAMETER',
723: token1 => 'VALUE',
724: value1 => px_asset_fin_rec.salvage_type,
725: token2 => 'PARAM',

Line 759: calling_fn => 'fa_addition_pvt.initialize',

755: px_asset_fin_rec.allowed_deprn_limit:=
756: fa_cache_pkg.fazccbd_record.allowed_deprn_limit;
757: if (px_asset_fin_rec.allowed_deprn_limit is null) then
758: fa_srvr_msg.add_message(
759: calling_fn => 'fa_addition_pvt.initialize',
760: name => '***FA_MUST_SPECIFY_LIMIT***'
761: ,p_log_level_rec => p_log_level_rec);
762: raise init_err;
763: end if;

Line 770: calling_fn => 'fa_addition_pvt.initialize',

766: px_asset_fin_rec.allowed_deprn_limit_amount:=
767: fa_cache_pkg.fazccbd_record.special_deprn_limit_amount;
768: if (px_asset_fin_rec.allowed_deprn_limit_amount is null) then
769: fa_srvr_msg.add_message(
770: calling_fn => 'fa_addition_pvt.initialize',
771: name => '***FA_MUST_SPECIFY_LIMIT***'
772: ,p_log_level_rec => p_log_level_rec);
773: raise init_err;
774: end if;

Line 783: calling_fn => 'fa_addition_pvt.initialize',

779: px_asset_fin_rec.deprn_limit_type <> 'AMT' and
780: px_asset_fin_rec.deprn_limit_type <> 'SUM' and
781: px_asset_fin_rec.deprn_limit_type <> 'NONE') then
782: fa_srvr_msg.add_message(
783: calling_fn => 'fa_addition_pvt.initialize',
784: name => 'FA_INVALID_PARAMETER',
785: token1 => 'VALUE',
786: value1 => px_asset_fin_rec.deprn_limit_type,
787: token2 => 'PARAM',

Line 936: calling_fn => 'fa_addition_pvt.initialize',

932: if ((px_asset_fin_rec.recognize_gain_loss = 'NO') or
933: (px_asset_fin_rec.terminal_gain_loss <> 'YES')) and
934: (px_asset_fin_rec.member_rollup_flag = 'Y') then
935: fa_srvr_msg.add_message(
936: calling_fn => 'fa_addition_pvt.initialize',
937: name => 'FA_INVALID_PARAMETER',
938: token1 => 'VALUE',
939: value1 => px_asset_fin_rec.recognize_gain_loss,
940: token2 => 'PARAM',

Line 943: calling_fn => 'fa_addition_pvt.initialize',

939: value1 => px_asset_fin_rec.recognize_gain_loss,
940: token2 => 'PARAM',
941: value2 => 'RECOGNIZE_GAIN_LOSS');
942: fa_srvr_msg.add_message(
943: calling_fn => 'fa_addition_pvt.initialize',
944: name => 'FA_INVALID_PARAMETER',
945: token1 => 'VALUE',
946: value1 => px_asset_fin_rec.terminal_gain_loss,
947: token2 => 'PARAM',

Line 950: calling_fn => 'fa_addition_pvt.initialize',

946: value1 => px_asset_fin_rec.terminal_gain_loss,
947: token2 => 'PARAM',
948: value2 => 'TERMINAL_GAIN_LOSS');
949: fa_srvr_msg.add_message(
950: calling_fn => 'fa_addition_pvt.initialize',
951: name => 'FA_INVALID_PARAMETER',
952: token1 => 'VALUE',
953: value1 => px_asset_fin_rec.member_rollup_flag,
954: token2 => 'PARAM',

Line 1007: calling_fn => 'fa_addition_pvt.initialize'

1003:
1004: exception
1005: when init_err then
1006: fa_srvr_msg.add_message(
1007: calling_fn => 'fa_addition_pvt.initialize'
1008: ,p_log_level_rec => p_log_level_rec);
1009: x_return_status := FND_API.G_RET_STS_ERROR;
1010: return FALSE;
1011:

Line 1014: calling_fn => 'fa_addition_pvt.initialize'

1010: return FALSE;
1011:
1012: when others then
1013: fa_srvr_msg.add_sql_error(
1014: calling_fn => 'fa_addition_pvt.initialize'
1015: ,p_log_level_rec => p_log_level_rec);
1016: x_return_status := FND_API.G_RET_STS_ERROR;
1017: return FALSE;
1018:

Line 1266: X_Calling_Fn => 'fa_addition_pvt.insert_asset',

1262: X_Last_Updated_By => p_trans_rec.who_info.last_updated_by,
1263: X_Created_By => p_trans_rec.who_info.created_by,
1264: X_Creation_Date => p_trans_rec.who_info.creation_date,
1265: X_Last_Update_Login => p_trans_rec.who_info.last_update_login,
1266: X_Calling_Fn => 'fa_addition_pvt.insert_asset',
1267: p_log_level_rec => p_log_level_rec
1268: );
1269:
1270: -- Should only update the lease desc flex if modified.

Line 1334: p_calling_fn => 'fa_addition_pvt.insert_asset',

1330: (p_asset_hdr_rec => p_asset_hdr_rec,
1331: p_asset_type_rec => p_asset_type_rec,
1332: px_trans_rec => p_trans_rec,
1333: p_event_status => NULL,
1334: p_calling_fn => 'fa_addition_pvt.insert_asset',
1335: p_log_level_rec => p_log_level_rec) then
1336: raise general_error;
1337: end if;
1338:

Line 1383: X_Calling_Fn => 'fa_addition_pvt.insert_asset',

1379: X_Mass_Transaction_ID => p_trans_rec.mass_transaction_id,
1380: X_Trx_Reference_Id => p_trans_rec.trx_reference_id,
1381: X_Event_Id => p_trans_rec.event_id,
1382: X_Return_Status => l_return_status,
1383: X_Calling_Fn => 'fa_addition_pvt.insert_asset',
1384: p_log_level_rec => p_log_level_rec);
1385:
1386: if not (l_return_status) then
1387: raise general_error;

Line 1440: X_Calling_Fn => 'fa_addition_pvt.insert_asset',

1436: => p_dist_trans_rec.amortization_start_date,
1437: X_Calling_Interface => p_dist_trans_rec.calling_interface,
1438: X_Mass_Transaction_ID => p_trans_rec.mass_transaction_id,
1439: X_Return_Status => l_return_status,
1440: X_Calling_Fn => 'fa_addition_pvt.insert_asset',
1441: p_log_level_rec => p_log_level_rec);
1442:
1443: if not (l_return_status) then
1444: raise general_error;

Line 1564: X_Calling_Fn => 'fa_addition_pvt.insert_asset',

1560: X_cip_cost => p_asset_fin_rec.cip_cost,
1561: X_contract_id => p_asset_fin_rec.contract_id, -- Bug:6021567
1562: X_mrc_sob_type_code => p_mrc_sob_type_code,
1563: X_Return_Status => l_return_status,
1564: X_Calling_Fn => 'fa_addition_pvt.insert_asset',
1565: p_log_level_rec => p_log_level_rec);
1566:
1567: if not (l_return_status) then
1568: raise general_error;

Line 1592: X_Calling_Fn => 'fa_addition_pvt.insert_asset',

1588: X_Last_Update_Date => p_trans_rec.who_info.last_update_date,
1589: X_Last_Updated_By => p_trans_rec.who_info.last_updated_by,
1590: X_Last_Update_Login => p_trans_rec.who_info.last_update_login,
1591: X_Return_Status => l_return_status,
1592: X_Calling_Fn => 'fa_addition_pvt.insert_asset',
1593: p_log_level_rec => p_log_level_rec
1594: );
1595:
1596: if not (l_return_status) then

Line 1630: X_Calling_Fn => 'fa_addition_pvt.insert_asset',

1626: X_Transaction_Units => NULL,
1627: X_Retirement_Id => p_asset_fin_rec.retirement_id,
1628: X_Last_Update_Login =>
1629: p_dist_trans_rec.who_info.last_update_login,
1630: X_Calling_Fn => 'fa_addition_pvt.insert_asset',
1631: p_log_level_rec => p_log_level_rec
1632: );
1633:
1634: px_asset_dist_tbl(i).distribution_id := l_distribution_id;

Line 1669: X_Calling_Fn => 'fa_addition_pvt.insert_asset',

1665: X_Bonus_Deprn_Amount => p_asset_deprn_rec.bonus_deprn_amount,
1666: X_Bonus_Ytd_Deprn => p_asset_deprn_rec.bonus_ytd_deprn,
1667: X_Bonus_Deprn_Reserve => p_asset_deprn_rec.bonus_deprn_reserve,
1668: X_mrc_sob_type_code => p_mrc_sob_type_code,
1669: X_Calling_Fn => 'fa_addition_pvt.insert_asset',
1670: p_log_level_rec => p_log_level_rec
1671: );
1672:
1673: -- Insert into fa_deprn_detail

Line 1852: X_Calling_Fn => 'fa_addition_pvt.insert_asset',

1848: X_Change_In_Eofy_Reserve => 0,
1849: X_Switch_Code => NULL, -- derived at depreciation
1850: X_mrc_sob_type_code => p_mrc_sob_type_code,
1851: X_Return_Status => l_return_status,
1852: X_Calling_Fn => 'fa_addition_pvt.insert_asset',
1853: p_log_level_rec => p_log_level_rec);
1854:
1855: if not (l_return_status) then
1856: raise general_error;

Line 1865: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'trx_subtype', p_trans_rec.transaction_subtype

1861: -- books are processed
1862:
1863: -- SLA Uptake, do catchup if applicable...
1864: if (p_log_level_rec.statement_level) then
1865: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'trx_subtype', p_trans_rec.transaction_subtype
1866: ,p_log_level_rec => p_log_level_rec);
1867: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'asset_type', p_asset_type_rec.asset_type
1868: ,p_log_level_rec => p_log_level_rec);
1869: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'group asset id', p_asset_fin_rec.group_asset_id

Line 1867: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'asset_type', p_asset_type_rec.asset_type

1863: -- SLA Uptake, do catchup if applicable...
1864: if (p_log_level_rec.statement_level) then
1865: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'trx_subtype', p_trans_rec.transaction_subtype
1866: ,p_log_level_rec => p_log_level_rec);
1867: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'asset_type', p_asset_type_rec.asset_type
1868: ,p_log_level_rec => p_log_level_rec);
1869: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'group asset id', p_asset_fin_rec.group_asset_id
1870: ,p_log_level_rec => p_log_level_rec);
1871: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'annaul round flag', p_asset_fin_rec.annual_deprn_rounding_flag

Line 1869: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'group asset id', p_asset_fin_rec.group_asset_id

1865: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'trx_subtype', p_trans_rec.transaction_subtype
1866: ,p_log_level_rec => p_log_level_rec);
1867: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'asset_type', p_asset_type_rec.asset_type
1868: ,p_log_level_rec => p_log_level_rec);
1869: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'group asset id', p_asset_fin_rec.group_asset_id
1870: ,p_log_level_rec => p_log_level_rec);
1871: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'annaul round flag', p_asset_fin_rec.annual_deprn_rounding_flag
1872: ,p_log_level_rec => p_log_level_rec);
1873: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'p_trans_rec.transaction_date_entered', p_trans_rec.transaction_date_entered

Line 1871: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'annaul round flag', p_asset_fin_rec.annual_deprn_rounding_flag

1867: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'asset_type', p_asset_type_rec.asset_type
1868: ,p_log_level_rec => p_log_level_rec);
1869: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'group asset id', p_asset_fin_rec.group_asset_id
1870: ,p_log_level_rec => p_log_level_rec);
1871: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'annaul round flag', p_asset_fin_rec.annual_deprn_rounding_flag
1872: ,p_log_level_rec => p_log_level_rec);
1873: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'p_trans_rec.transaction_date_entered', p_trans_rec.transaction_date_entered
1874: ,p_log_level_rec => p_log_level_rec);
1875: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'p_period_rec.calendar_period_open_date', p_period_rec.calendar_period_open_date

Line 1873: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'p_trans_rec.transaction_date_entered', p_trans_rec.transaction_date_entered

1869: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'group asset id', p_asset_fin_rec.group_asset_id
1870: ,p_log_level_rec => p_log_level_rec);
1871: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'annaul round flag', p_asset_fin_rec.annual_deprn_rounding_flag
1872: ,p_log_level_rec => p_log_level_rec);
1873: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'p_trans_rec.transaction_date_entered', p_trans_rec.transaction_date_entered
1874: ,p_log_level_rec => p_log_level_rec);
1875: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'p_period_rec.calendar_period_open_date', p_period_rec.calendar_period_open_date
1876: ,p_log_level_rec => p_log_level_rec);
1877:

Line 1875: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'p_period_rec.calendar_period_open_date', p_period_rec.calendar_period_open_date

1871: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'annaul round flag', p_asset_fin_rec.annual_deprn_rounding_flag
1872: ,p_log_level_rec => p_log_level_rec);
1873: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'p_trans_rec.transaction_date_entered', p_trans_rec.transaction_date_entered
1874: ,p_log_level_rec => p_log_level_rec);
1875: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'p_period_rec.calendar_period_open_date', p_period_rec.calendar_period_open_date
1876: ,p_log_level_rec => p_log_level_rec);
1877:
1878: end if;
1879:

Line 1922: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'l_deprn_exp after faxexp',

1918: raise general_error;
1919: end if;
1920:
1921: if (p_log_level_rec.statement_level) then
1922: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'l_deprn_exp after faxexp',
1923: l_deprn_exp, p_log_level_rec => p_log_level_rec);
1924: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'l_bonus_deprn_exp after faxexp',
1925: l_bonus_deprn_exp, p_log_level_rec => p_log_level_rec);
1926: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'Calling fa_books_pkg.update_row',

Line 1924: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'l_bonus_deprn_exp after faxexp',

1920:
1921: if (p_log_level_rec.statement_level) then
1922: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'l_deprn_exp after faxexp',
1923: l_deprn_exp, p_log_level_rec => p_log_level_rec);
1924: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'l_bonus_deprn_exp after faxexp',
1925: l_bonus_deprn_exp, p_log_level_rec => p_log_level_rec);
1926: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'Calling fa_books_pkg.update_row',
1927: 'after calling faxexp', p_log_level_rec => p_log_level_rec);
1928: end if;

Line 1926: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'Calling fa_books_pkg.update_row',

1922: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'l_deprn_exp after faxexp',
1923: l_deprn_exp, p_log_level_rec => p_log_level_rec);
1924: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'l_bonus_deprn_exp after faxexp',
1925: l_bonus_deprn_exp, p_log_level_rec => p_log_level_rec);
1926: fa_debug_pkg.add('fa_addition_pvt.insert_asset', 'Calling fa_books_pkg.update_row',
1927: 'after calling faxexp', p_log_level_rec => p_log_level_rec);
1928: end if;
1929:
1930: --

Line 1943: X_calling_fn => 'fa_addition_pvt.insert_asset',

1939: X_adjusted_capacity => p_asset_fin_rec.adjusted_capacity,
1940: X_formula_factor => p_asset_fin_rec.formula_factor,
1941: X_eofy_reserve => p_asset_fin_rec.eofy_reserve,
1942: X_mrc_sob_type_code => p_mrc_sob_type_code,
1943: X_calling_fn => 'fa_addition_pvt.insert_asset',
1944: p_log_level_rec => p_log_level_rec);
1945:
1946: -- Bug:5701095
1947: FA_DEPRN_SUMMARY_PKG.Update_Row (

Line 1968: X_Calling_Fn => 'fa_addition_pvt.insert_asset',

1964: X_Reval_Reserve => p_asset_deprn_rec.reval_deprn_reserve,
1965: X_Ytd_Production => NULL,
1966: X_Ytd_Reval_Deprn_Expense => p_asset_deprn_rec.reval_ytd_deprn,
1967: X_mrc_sob_type_code => p_mrc_sob_type_code,
1968: X_Calling_Fn => 'fa_addition_pvt.insert_asset',
1969: p_log_level_rec => p_log_level_rec);
1970:
1971: elsif ((p_trans_rec.transaction_subtype = 'AMORTIZED') and
1972: (p_asset_type_rec.asset_type = 'CAPITALIZED') and

Line 2015: X_calling_fn => 'fa_addition_pvt.insert_asset',

2011: X_adjusted_capacity => p_asset_fin_rec.adjusted_capacity,
2012: X_formula_factor => p_asset_fin_rec.formula_factor,
2013: X_eofy_reserve => p_asset_fin_rec.eofy_reserve,
2014: X_mrc_sob_type_code => p_mrc_sob_type_code,
2015: X_calling_fn => 'fa_addition_pvt.insert_asset',
2016: p_log_level_rec => p_log_level_rec);
2017:
2018: -- now update the primary or reporting amounts accordingly
2019: if (p_mrc_sob_type_code <> 'R') then

Line 2056: X_Calling_Fn => 'fa_addition_pvt.insert_asset',

2052: X_Reval_Reserve => p_asset_deprn_rec.reval_deprn_reserve,
2053: X_Ytd_Production => NULL,
2054: X_Ytd_Reval_Deprn_Expense => p_asset_deprn_rec.reval_ytd_deprn,
2055: X_mrc_sob_type_code => p_mrc_sob_type_code,
2056: X_Calling_Fn => 'fa_addition_pvt.insert_asset',
2057: p_log_level_rec => p_log_level_rec);
2058: end if; -- end amort nbv
2059:
2060:

Line 2208: p_calling_fn => 'fa_addition_pvt.insert_asset',

2204: p_deprn_expense => l_deprn_exp,
2205: p_bonus_expense => l_bonus_deprn_exp,
2206: p_ann_adj_amt => l_ann_adj_deprn_exp, --0,
2207: p_mrc_sob_type_code => p_mrc_sob_type_code,
2208: p_calling_fn => 'fa_addition_pvt.insert_asset',
2209: p_log_level_rec => p_log_level_rec) then raise general_error;
2210: end if;
2211:
2212: -- Bug 6665510: FP: Japan Tax Reform Project (Start)

Line 2219: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',

2215: p_asset_fin_rec.nbv_at_switch := nvl(p_asset_fin_rec.nbv_at_switch,0);
2216:
2217: -- deprn reserve not entered and nbv_at_switch entered
2218: if (p_asset_deprn_rec.deprn_reserve = 0 and p_asset_fin_rec.nbv_at_switch <> 0) then
2219: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',
2220: name => 'FA_ADD_SWITCH_NBV_WITHOUT_RSV');
2221: raise general_error;
2222: end if;
2223:

Line 2244: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset');

2240: X_Method_Type => l_method_type,
2241: X_Success => l_success);
2242:
2243: if (l_success <= 0) then
2244: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset');
2245: raise general_error;
2246: end if;
2247:
2248: -- Fix for Bug #6334489. Do not allow addition of asset with

Line 2261: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',

2257: and f.revised_rate = l_rate_in_use;
2258:
2259: -- revised rate with nbv_at_switch not entered
2260: if (l_revised_count > 0) and (p_asset_fin_rec.nbv_at_switch = 0) then
2261: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',
2262: name => 'FA_ADD_REVISED_WITHOUT_SWITCH');
2263: raise general_error;
2264: -- original rate with nbv_at_switch entered
2265: elsif (l_revised_count = 0) and (p_asset_fin_rec.nbv_at_switch <> 0) then

Line 2266: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',

2262: name => 'FA_ADD_REVISED_WITHOUT_SWITCH');
2263: raise general_error;
2264: -- original rate with nbv_at_switch entered
2265: elsif (l_revised_count = 0) and (p_asset_fin_rec.nbv_at_switch <> 0) then
2266: fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.insert_asset',
2267: name => 'FA_ADD_SWITCH_NBV_ORIGINAL_RAT');
2268: raise general_error;
2269: end if;
2270:

Line 2286: /*fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',

2282: WHERE book_type_code = p_asset_hdr_rec.book_type_code
2283: AND asset_id = p_asset_hdr_rec.asset_id
2284: AND DEPRN_SOURCE_CODE = 'BOOKS';
2285:
2286: /*fa_srvr_msg.add_message(calling_fn => 'fa_addition_pvt.initialize',
2287: name => 'FA_ADDITION_REVISED_RATE');
2288: raise general_error; */
2289: end if;
2290:

Line 2316: p_trigger => 'fa_addition_pvt.insert_asset',

2312: p_last_updated_by => p_trans_rec.who_info.last_updated_by,
2313: p_last_update_date => p_trans_rec.who_info.last_update_date,
2314: p_last_update_login => p_trans_rec.who_info.last_update_login,
2315: p_complete => 'Y',
2316: p_trigger => 'fa_addition_pvt.insert_asset',
2317: p_currency_code => to_char(p_asset_hdr_rec.set_of_books_id),
2318: p_log_level_rec => p_log_level_rec
2319: );
2320: end if;

Line 2328: calling_fn => 'fa_addition_pvt.insert_asset'

2324:
2325: EXCEPTION
2326: when mrc_check_error then
2327: fa_srvr_msg.add_message(
2328: calling_fn => 'fa_addition_pvt.insert_asset'
2329: ,p_log_level_rec => p_log_level_rec);
2330: x_return_status := FND_API.G_RET_STS_ERROR;
2331: return FALSE;
2332:

Line 2335: calling_fn => 'fa_addition_pvt.insert_asset'

2331: return FALSE;
2332:
2333: when general_error then
2334: fa_srvr_msg.add_message(
2335: calling_fn => 'fa_addition_pvt.insert_asset'
2336: ,p_log_level_rec => p_log_level_rec);
2337: x_return_status := FND_API.G_RET_STS_ERROR;
2338: return FALSE;
2339:

Line 2342: calling_fn => 'fa_addition_pvt.insert_asset'

2338: return FALSE;
2339:
2340: when others then
2341: fa_srvr_msg.add_sql_error(
2342: calling_fn => 'fa_addition_pvt.insert_asset'
2343: ,p_log_level_rec => p_log_level_rec);
2344: x_return_status := FND_API.G_RET_STS_ERROR;
2345: return FALSE;
2346:

Line 2349: END FA_ADDITION_PVT;

2345: return FALSE;
2346:
2347: end insert_asset;
2348:
2349: END FA_ADDITION_PVT;