1298:
1299: BEGIN
1300:
1301: -- Bug:5907174
1302: if not FA_UTILS_PKG.faxrnd(px_inv_rec.fixed_assets_cost,
1303: p_asset_hdr_rec.book_type_code,
1304: p_asset_hdr_rec.set_of_books_id,
1305: p_log_level_rec => p_log_level_rec) then
1306: raise error_found;
1332: */
1333:
1334: if (p_asset_hdr_rec.period_of_addition = 'Y') then
1335: -- Bug:5907174
1336: if not FA_UTILS_PKG.faxrnd(px_inv_rec.payables_cost,
1337: p_asset_hdr_rec.book_type_code,
1338: p_asset_hdr_rec.set_of_books_id,
1339: p_log_level_rec => p_log_level_rec) then
1340: raise error_found;
1345: nvl(px_inv_rec.fixed_assets_cost, 0));
1346: end if;
1347:
1348:
1349: if not FA_UTILS_PKG.faxrnd(px_inv_rec.fixed_assets_cost,
1350: p_asset_hdr_rec.book_type_code,
1351: p_asset_hdr_rec.set_of_books_id,
1352: p_log_level_rec => p_log_level_rec) then
1353: raise error_found;
1352: p_log_level_rec => p_log_level_rec) then
1353: raise error_found;
1354: end if;
1355:
1356: if not FA_UTILS_PKG.faxrnd(px_inv_rec.payables_cost,
1357: p_asset_hdr_rec.book_type_code,
1358: p_asset_hdr_rec.set_of_books_id,
1359: p_log_level_rec => p_log_level_rec) then
1360: raise error_found;
1359: p_log_level_rec => p_log_level_rec) then
1360: raise error_found;
1361: end if;
1362:
1363: if not FA_UTILS_PKG.faxrnd(px_inv_rec.cip_cost,
1364: p_asset_hdr_rec.book_type_code,
1365: p_asset_hdr_rec.set_of_books_id,
1366: p_log_level_rec => p_log_level_rec) then
1367: raise error_found;
1367: raise error_found;
1368: end if;
1369:
1370: /*
1371: if not FA_UTILS_PKG.faxrnd(px_inv_rec.payables_cost,
1372: p_asset_hdr_rec.book_type_code,
1373: p_asset_hdr_rec.set_of_books_id,
1374: p_log_level_rec => p_log_level_rec) then
1375: raise error_found;
1397:
1398: -- Bug 4243541 : Load to fin_rec and round the reval_amort_bais .
1399: px_asset_fin_rec_new.reval_amortization_basis := px_asset_deprn_rec_new.reval_amortization_basis;
1400:
1401: if not FA_UTILS_PKG.faxrnd(px_inv_rec.ytd_deprn,
1402: p_asset_hdr_rec.book_type_code,
1403: p_asset_hdr_rec.set_of_books_id,
1404: p_log_level_rec => p_log_level_rec) then
1405: raise error_found;
1404: p_log_level_rec => p_log_level_rec) then
1405: raise error_found;
1406: end if;
1407:
1408: if not FA_UTILS_PKG.faxrnd(px_inv_rec.deprn_reserve ,
1409: p_asset_hdr_rec.book_type_code,
1410: p_asset_hdr_rec.set_of_books_id,
1411: p_log_level_rec => p_log_level_rec) then
1412: raise error_found;
1411: p_log_level_rec => p_log_level_rec) then
1412: raise error_found;
1413: end if;
1414:
1415: if not FA_UTILS_PKG.faxrnd(px_inv_rec.bonus_ytd_deprn ,
1416: p_asset_hdr_rec.book_type_code,
1417: p_asset_hdr_rec.set_of_books_id,
1418: p_log_level_rec => p_log_level_rec) then
1419: raise error_found;
1418: p_log_level_rec => p_log_level_rec) then
1419: raise error_found;
1420: end if;
1421:
1422: if not FA_UTILS_PKG.faxrnd(px_inv_rec.bonus_deprn_reserve ,
1423: p_asset_hdr_rec.book_type_code,
1424: p_asset_hdr_rec.set_of_books_id,
1425: p_log_level_rec => p_log_level_rec) then
1426: raise error_found;
1425: p_log_level_rec => p_log_level_rec) then
1426: raise error_found;
1427: end if;
1428:
1429: if not FA_UTILS_PKG.faxrnd(px_inv_rec.reval_ytd_deprn ,
1430: p_asset_hdr_rec.book_type_code,
1431: p_asset_hdr_rec.set_of_books_id,
1432: p_log_level_rec => p_log_level_rec) then
1433: raise error_found;
1432: p_log_level_rec => p_log_level_rec) then
1433: raise error_found;
1434: end if;
1435:
1436: if not FA_UTILS_PKG.faxrnd(px_inv_rec.reval_deprn_reserve ,
1437: p_asset_hdr_rec.book_type_code,
1438: p_asset_hdr_rec.set_of_books_id,
1439: p_log_level_rec => p_log_level_rec) then
1440: raise error_found;
1439: p_log_level_rec => p_log_level_rec) then
1440: raise error_found;
1441: end if;
1442:
1443: if not FA_UTILS_PKG.faxrnd(px_inv_rec.reval_amortization_basis,
1444: p_asset_hdr_rec.book_type_code,
1445: p_asset_hdr_rec.set_of_books_id,
1446: p_log_level_rec => p_log_level_rec) then
1447: raise error_found;
1447: raise error_found;
1448: end if;
1449:
1450: -- MVK
1451: if not FA_UTILS_PKG.faxrnd(px_asset_fin_rec_new.reval_amortization_basis,
1452: p_asset_hdr_rec.book_type_code,
1453: p_asset_hdr_rec.set_of_books_id,
1454: p_log_level_rec => p_log_level_rec) then
1455: raise error_found;