DBA Data[Home] [Help]

APPS.FA_TXRSV_PKG dependencies on FA_STD_TYPES

Line 310: h_dpr fa_std_types.fa_deprn_row_struct;

306: ,X_mrc_sob_type_code varchar2
307: )
308: return boolean is
309:
310: h_dpr fa_std_types.fa_deprn_row_struct;
311: h_dummy_bool boolean;
312: begin <>
313:
314: h_dpr.asset_id := X_asset_id;

Line 351: X_fin_info_ptr IN OUT NOCOPY fa_std_types.fin_info_struct,

347: end FAUTGPR;
348:
349: Function fautxa
350: (
351: X_fin_info_ptr IN OUT NOCOPY fa_std_types.fin_info_struct,
352: X_old_ytd_deprn_rsv number,
353: X_new_ytd_deprn_rsv number,
354: X_fiscal_year integer,
355: X_new_raf_out OUT NOCOPY number,

Line 374: dpr fa_std_types.dpr_struct;

370: GROUP BY DP.FISCAL_YEAR
371: ORDER BY MIN(DP.PERIOD_OPEN_DATE);
372:
373: -- Local variables
374: dpr fa_std_types.dpr_struct;
375: dpr_out fa_std_types.dpr_out_struct;
376: dpr_row fa_std_types.fa_deprn_row_struct;
377: -- TOBEDONE - change this to point to fa_std_types
378: -- adj fa_std_types.fa_adj_row_struct;

Line 375: dpr_out fa_std_types.dpr_out_struct;

371: ORDER BY MIN(DP.PERIOD_OPEN_DATE);
372:
373: -- Local variables
374: dpr fa_std_types.dpr_struct;
375: dpr_out fa_std_types.dpr_out_struct;
376: dpr_row fa_std_types.fa_deprn_row_struct;
377: -- TOBEDONE - change this to point to fa_std_types
378: -- adj fa_std_types.fa_adj_row_struct;
379: adj FA_ADJUST_TYPE_PKG.fa_adj_row_struct;

Line 376: dpr_row fa_std_types.fa_deprn_row_struct;

372:
373: -- Local variables
374: dpr fa_std_types.dpr_struct;
375: dpr_out fa_std_types.dpr_out_struct;
376: dpr_row fa_std_types.fa_deprn_row_struct;
377: -- TOBEDONE - change this to point to fa_std_types
378: -- adj fa_std_types.fa_adj_row_struct;
379: adj FA_ADJUST_TYPE_PKG.fa_adj_row_struct;
380:

Line 377: -- TOBEDONE - change this to point to fa_std_types

373: -- Local variables
374: dpr fa_std_types.dpr_struct;
375: dpr_out fa_std_types.dpr_out_struct;
376: dpr_row fa_std_types.fa_deprn_row_struct;
377: -- TOBEDONE - change this to point to fa_std_types
378: -- adj fa_std_types.fa_adj_row_struct;
379: adj FA_ADJUST_TYPE_PKG.fa_adj_row_struct;
380:
381: new_deprn_rsv number; -- new ltd deprn reserve at end of fy

Line 378: -- adj fa_std_types.fa_adj_row_struct;

374: dpr fa_std_types.dpr_struct;
375: dpr_out fa_std_types.dpr_out_struct;
376: dpr_row fa_std_types.fa_deprn_row_struct;
377: -- TOBEDONE - change this to point to fa_std_types
378: -- adj fa_std_types.fa_adj_row_struct;
379: adj FA_ADJUST_TYPE_PKG.fa_adj_row_struct;
380:
381: new_deprn_rsv number; -- new ltd deprn reserve at end of fy
382: old_deprn_rsv_taken number; -- the reserve previously calculated

Line 413: h_dummy_dpr_arr fa_std_types.dpr_arr_type;

409:
410: h_dummy_int integer;
411: h_dummy_varch varchar2(124);
412: h_dummy_bool boolean;
413: h_dummy_dpr_arr fa_std_types.dpr_arr_type;
414:
415: l_signed_adj_amount NUMBER; -- Added for bug 3045324.
416:
417: fautxa_error exception;

Line 592: if (deprn_basis_rule = fa_std_types.FAD_DBR_COST) then

588: -- Make sure the reserve doesn't exceed recoverable cost
589:
590: -- For NBV check for current open period. Also check end of fy since
591: -- following fy's will be checked by deprn engine calls
592: if (deprn_basis_rule = fa_std_types.FAD_DBR_COST) then
593: if (X_fin_info_ptr.rec_cost > 0 and
594: X_fin_info_ptr.rec_cost < (cur_rsv + adj_amount)) or
595: (X_fin_info_ptr.rec_cost < 0 and
596: X_fin_info_ptr.rec_cost > (cur_rsv + adj_amount)) then

Line 625: adj.selection_mode := fa_std_types.FA_AJ_ACTIVE;

621: adj.period_counter_adjusted := period_ctr_adjusted;
622: adj.distribution_id := 0;
623: adj.last_update_date := X_fin_info_ptr.current_time;
624: adj.current_units := X_fin_info_ptr.units;
625: adj.selection_mode := fa_std_types.FA_AJ_ACTIVE;
626: adj.flush_adj_flag := TRUE;
627: adj.gen_ccid_flag := TRUE;
628: adj.leveling_flag := TRUE;
629: adj.asset_invoice_id := 0;

Line 669: if deprn_basis_rule = fa_std_types.FAD_DBR_COST then

665: * (We don't want to insert any more FA_ADJUSTMENTS rows, and
666: * don't want to terminate and insert FA_BOOKS rows, for non NBV-based
667: * assets unless asset is no longer fully reserved.
668: */
669: if deprn_basis_rule = fa_std_types.FAD_DBR_COST then
670: if (X_was_fully_rsv and new_deprn_rsv < X_fin_info_ptr.rec_cost) then
671: if not fautubk (
672: X_fin_info_ptr.book,
673: X_fin_info_ptr.asset_id,

Line 717: fa_std_types.FA_DPR_NORMAL

713: if not fa_cde_pkg.faxcde (
714: dpr,
715: h_dummy_dpr_arr,
716: dpr_out,
717: fa_std_types.FA_DPR_NORMAL
718: ) then
719: raise fautxa_error;
720: end if;
721:

Line 788: dpr, h_dummy_dpr_arr, dpr_out, fa_std_types.FA_DPR_NORMAL

784: dpr.mrc_sob_type_code := X_mrc_sob_type_code;
785:
786: -- Call deprn engine to calc expense
787: if not fa_cde_pkg.faxcde (
788: dpr, h_dummy_dpr_arr, dpr_out, fa_std_types.FA_DPR_NORMAL
789: ) then
790: raise fautxa_error;
791: end if;
792:

Line 801: adj.selection_mode := fa_std_types.FA_AJ_ACTIVE;

797:
798:
799: adj.last_update_date := X_fin_info_ptr.current_time;
800: adj.current_units := X_fin_info_ptr.units;
801: adj.selection_mode := fa_std_types.FA_AJ_ACTIVE;
802: adj.flush_adj_flag := TRUE;
803: adj.gen_ccid_flag := TRUE;
804: adj.asset_invoice_id := 0;
805: adj.leveling_flag := TRUE;

Line 951: fin_info fa_std_types.fin_info_struct;

947: ) return boolean is
948:
949: h_new_raf number := 0;
950: h_new_adj_cost number := 0;
951: fin_info fa_std_types.fin_info_struct;
952: h_was_fully_rsv boolean;
953: h_dummy_int integer;
954:
955: /* added for mrc */

Line 1018: fin_info.deprn_rounding_flag := fa_std_types.FA_DPR_ROUND_ADJ;

1014: fin_info.prorate_date := X_prorate_date;
1015: fin_info.deprn_start_date := X_deprn_start_date;
1016: fin_info.capacity := X_production_capacity;
1017: fin_info.adj_capacity := fin_info.capacity;
1018: fin_info.deprn_rounding_flag := fa_std_types.FA_DPR_ROUND_ADJ;
1019:
1020: if (X_depreciate_flag = 'YES') then
1021: fin_info.dep_flag := TRUE;
1022: else