DBA Data[Home] [Help]

APPS.IGI_IAC_DEPRN_PKG dependencies on IGI_IAC_COMMON_UTILS

Line 422: IF NOT (igi_iac_common_utils.get_book_gl_info(p_book_type_code ,

418: l_Adjustment_Status := NULL;
419: l_path := g_path||'Periodic_Reval_of_Deprn';
420:
421: /* Get GL set_of_books_id for the IAC book */
422: IF NOT (igi_iac_common_utils.get_book_gl_info(p_book_type_code ,
423: l_set_of_books_id ,
424: l_chart_of_accts_id ,
425: l_currency_code ,
426: l_precision )) THEN

Line 433: IF NOT (igi_iac_common_utils.Get_Period_Info_for_Counter(p_book_type_code,

429: RETURN false;
430: END IF;
431:
432: /* Get period information from FA for the current period */
433: IF NOT (igi_iac_common_utils.Get_Period_Info_for_Counter(p_book_type_code,
434: p_period_counter,
435: l_prd_rec )) THEN
436:
437: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'***Error in get_period_info_for_counter for current open period');

Line 441: IF NOT igi_iac_common_utils.populate_iac_fa_deprn_data(p_book_type_code,

437: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'***Error in get_period_info_for_counter for current open period');
438: RETURN false;
439: END IF;
440:
441: IF NOT igi_iac_common_utils.populate_iac_fa_deprn_data(p_book_type_code,
442: 'DEPRECIATION') THEN
443: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'*** Error in Synchronizing Depreciation Data ***');
444: return FALSE;
445: END IF;

Line 488: IF NOT igi_iac_common_utils.get_dpis_period_counter(p_book_type_code,

484: END IF;
485: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Previous Life in months :'||to_char(l_prev_life_months));
486:
487: /* Bug 2434532 vgadde 28/06/2002 Start(2) */
488: IF NOT igi_iac_common_utils.get_dpis_period_counter(p_book_type_code,
489: l_fa_asset_id(l_loop_count),
490: l_dpis_period_counter) THEN
491: igi_iac_debug_pkg.debug_other_string(g_error_level,l_path,'*** Error in Fetching DPIS period counter');
492: return FALSE;

Line 526: IF NOT igi_iac_common_utils.Get_Latest_Transaction (

522: l_adjustment_id_out := NULL;
523: l_prev_adjustment_id := NULL;
524: l_Adjustment_Status := NULL;
525:
526: IF NOT igi_iac_common_utils.Get_Latest_Transaction (
527: X_book_type_code => p_book_type_code,
528: X_asset_id => l_fa_asset_id(l_loop_count),
529: X_Transaction_Type_Code => l_Transaction_Type_Code,
530: X_Transaction_Id => l_Transaction_Id,

Line 620: IF NOT (igi_iac_common_utils.iac_round(l_deprn_amount,p_book_type_code)) THEN

616: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' FA Deprn amount for period after salvage correction:'||to_char(l_deprn_amount));
617: END IF;
618: /* salvage value correction */
619:
620: IF NOT (igi_iac_common_utils.iac_round(l_deprn_amount,p_book_type_code)) THEN
621: RETURN false;
622: END IF;
623: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' FA Deprn amount for period :'||to_char(l_deprn_amount));
624:

Line 627: IF NOT (igi_iac_common_utils.iac_round(l_deprn_expense,p_book_type_code)) THEN

623: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' FA Deprn amount for period :'||to_char(l_deprn_amount));
624:
625: l_deprn_expense := (l_deprn_amount * l_asset_balance.cumulative_reval_factor) - l_deprn_amount;
626:
627: IF NOT (igi_iac_common_utils.iac_round(l_deprn_expense,p_book_type_code)) THEN
628: RETURN false;
629: END IF;
630: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Cumulative revaluation rate :'||to_char(l_asset_balance.cumulative_reval_factor));
631: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' IAC Deprn amount for period :'||to_char(l_deprn_expense));

Line 660: IF NOT (igi_iac_common_utils.iac_round(l_amount,p_book_type_code)) THEN

656: IF l_remaining_units = 0 THEN
657: l_amount := l_remaining_amount;
658: ELSE
659: l_amount := (l_distribution_units / l_asset_units) * l_deprn_expense;
660: IF NOT (igi_iac_common_utils.iac_round(l_amount,p_book_type_code)) THEN
661: RETURN false;
662: END IF;
663: l_remaining_amount := l_remaining_amount - l_amount;
664: END IF;

Line 673: IF NOT (igi_iac_common_utils.get_account_ccid(p_book_type_code ,

669: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Creating accounting entries in igi_iac_adjustments');
670: l_rowid := NULL;
671: l_account_ccid := NULL ;
672:
673: IF NOT (igi_iac_common_utils.get_account_ccid(p_book_type_code ,
674: l_asset_balance.asset_id ,
675: l_detail_balance.distribution_id ,
676: 'DEPRN_EXPENSE_ACCT' ,
677: l_account_ccid )) THEN

Line 704: IF NOT (igi_iac_common_utils.get_account_ccid(p_book_type_code ,

700:
701: l_rowid := NULL;
702: l_account_ccid := NULL ;
703:
704: IF NOT (igi_iac_common_utils.get_account_ccid(p_book_type_code ,
705: l_asset_balance.asset_id ,
706: l_detail_balance.distribution_id ,
707: 'DEPRN_RESERVE_ACCT' ,
708: l_account_ccid )) THEN

Line 737: IF NOT (igi_iac_common_utils.get_account_ccid(p_book_type_code ,

733:
734: l_rowid := NULL;
735: l_account_ccid := NULL ;
736:
737: IF NOT (igi_iac_common_utils.get_account_ccid(p_book_type_code ,
738: l_asset_balance.asset_id ,
739: l_detail_balance.distribution_id ,
740: 'REVAL_RESERVE_ACCT' ,
741: l_account_ccid )) THEN

Line 770: IF NOT (igi_iac_common_utils.get_account_ccid(p_book_type_code ,

766:
767: l_rowid := NULL;
768: l_account_ccid := NULL ;
769:
770: IF NOT (igi_iac_common_utils.get_account_ccid(p_book_type_code ,
771: l_asset_balance.asset_id ,
772: l_detail_balance.distribution_id ,
773: 'GENERAL_FUND_ACCT' ,
774: l_account_ccid )) THEN

Line 1465: IF NOT igi_iac_common_utils.is_iac_book(p_book_type_code) THEN

1461: BEGIN
1462: l_path := g_path||'Do_Depreciation';
1463: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,'*****************************************************');
1464: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' Start of IAC Depreciation Processing');
1465: IF NOT igi_iac_common_utils.is_iac_book(p_book_type_code) THEN
1466: igi_iac_debug_pkg.debug_other_string(g_state_level,l_path,' The book is not an IAC book');
1467: RETURN true;
1468: ELSE
1469: IF NOT Synchronize_Calendars(p_book_type_code) THEN