DBA Data[Home] [Help]

APPS.FA_ADDITION_PVT dependencies on FA_CACHE_PKG

Line 171: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then

167: px_asset_dist_tbl(i).units_assigned;
168: end loop;
169:
170: -- For corporate books, default the following info if its null
171: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
172:
173: if (px_asset_hdr_rec.asset_id is null) then
174: -- Pop the asset_id
175: select fa_additions_s.nextval

Line 181: if not fa_cache_pkg.fazcat (

177: from dual;
178: end if;
179:
180: -- Get defaults from the category.
181: if not fa_cache_pkg.fazcat (
182: X_cat_id => px_asset_cat_rec.category_id,
183: p_log_level_rec => p_log_level_rec) then
184: raise init_err;
185: end if;

Line 236: fa_cache_pkg.fazcat_record.inventorial;

232:
233: if (px_asset_desc_rec.inventorial = FND_API.G_MISS_CHAR or
234: px_asset_desc_rec.inventorial is null) then
235: px_asset_desc_rec.inventorial :=
236: fa_cache_pkg.fazcat_record.inventorial;
237: end if;
238:
239: if (px_asset_desc_rec.property_type_code = FND_API.G_MISS_CHAR or
240: px_asset_desc_rec.property_type_code is null) then

Line 242: fa_cache_pkg.fazcat_record.property_type_code;

238:
239: if (px_asset_desc_rec.property_type_code = FND_API.G_MISS_CHAR or
240: px_asset_desc_rec.property_type_code is null) then
241: px_asset_desc_rec.property_type_code :=
242: fa_cache_pkg.fazcat_record.property_type_code;
243: end if;
244:
245: if (px_asset_desc_rec.property_1245_1250_code = FND_API.G_MISS_CHAR or
246: px_asset_desc_rec.property_1245_1250_code is null) then

Line 248: fa_cache_pkg.fazcat_record.property_1245_1250_code;

244:
245: if (px_asset_desc_rec.property_1245_1250_code = FND_API.G_MISS_CHAR or
246: px_asset_desc_rec.property_1245_1250_code is null) then
247: px_asset_desc_rec.property_1245_1250_code :=
248: fa_cache_pkg.fazcat_record.property_1245_1250_code;
249: end if;
250:
251: if (px_asset_desc_rec.owned_leased = FND_API.G_MISS_CHAR or
252: px_asset_desc_rec.owned_leased is null) then

Line 254: fa_cache_pkg.fazcat_record.owned_leased;

250:
251: if (px_asset_desc_rec.owned_leased = FND_API.G_MISS_CHAR or
252: px_asset_desc_rec.owned_leased is null) then
253: px_asset_desc_rec.owned_leased :=
254: fa_cache_pkg.fazcat_record.owned_leased;
255: end if;
256:
257: if (px_asset_desc_rec.new_used = FND_API.G_MISS_CHAR or
258: px_asset_desc_rec.new_used is null) then

Line 291: fa_cache_pkg.fazcat_record.capitalize_flag;

287: end if;
288:
289: if (px_asset_fin_rec.capitalize_flag = NULL) then
290: px_asset_fin_rec.capitalize_flag :=
291: fa_cache_pkg.fazcat_record.capitalize_flag;
292: end if;
293:
294: if (px_asset_fin_rec.global_attribute1 = FND_API.G_MISS_CHAR) then
295: px_asset_fin_rec.global_attribute1 := NULL;

Line 380: l_return_status := fa_cache_pkg.fazsys;

376: end if;
377:
378: if (px_asset_cat_rec.desc_flex.attribute_category_code is null) then
379:
380: l_return_status := fa_cache_pkg.fazsys;
381:
382: if not (l_return_status) then
383: raise init_err;
384: else

Line 386: fa_cache_pkg.fazsys_record.category_flex_structure;

382: if not (l_return_status) then
383: raise init_err;
384: else
385: l_category_chart_id :=
386: fa_cache_pkg.fazsys_record.category_flex_structure;
387: end if;
388:
389: l_return_status := fa_flex_pvt.get_concat_segs (
390: p_ccid => px_asset_cat_rec.category_id,

Line 426: fa_cache_pkg.fazcbc_record.distribution_source_book

422: into px_asset_fin_rec.cost,
423: px_asset_fin_rec.date_placed_in_service
424: from fa_books bks
425: where book_type_code =
426: fa_cache_pkg.fazcbc_record.distribution_source_book
427: and asset_id = px_asset_hdr_rec.asset_id
428: and transaction_header_id_out is null;
429: end if;
430:

Line 470: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then

466:
467: if ((px_trans_rec.transaction_date_entered is null) and
468: (px_asset_fin_rec.date_placed_in_service is null)) then
469:
470: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
471: -- Default to last day of the period
472: px_asset_fin_rec.date_placed_in_service :=
473: l_period_rec.calendar_period_close_date;
474: end if;

Line 523: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then

519: else
520: px_trans_rec.transaction_type_code := 'ADDITION';
521: end if;
522:
523: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
524: -- Set the default values for the distribution trans rec if corp book
525: px_dist_trans_rec.transaction_type_code := 'TRANSFER IN';
526:
527: px_dist_trans_rec.transaction_date_entered :=

Line 563: if not fa_cache_pkg.fazccbd (X_book => px_asset_hdr_rec.book_type_code,

559: -- following section is for setting various defaults from the category
560: -- if needed - this code used to reside in the calculation engine
561: -- but has grown complex and easier to place it here.
562:
563: if not fa_cache_pkg.fazccbd (X_book => px_asset_hdr_rec.book_type_code,
564: X_cat_id => px_asset_cat_rec.category_id,
565: X_jdpis => to_number(to_char(px_asset_fin_rec.date_placed_in_service, 'J')),
566: p_log_level_rec => p_log_level_rec) then
567: raise init_err;

Line 575: px_asset_fin_rec.deprn_method_code := fa_cache_pkg.fazccbd_record.deprn_method;

571: -- default from the parent rules (if applicable) or from the category
572:
573: if (px_asset_fin_rec.deprn_method_code is null) then
574:
575: px_asset_fin_rec.deprn_method_code := fa_cache_pkg.fazccbd_record.deprn_method;
576: px_asset_fin_rec.life_in_months := fa_cache_pkg.fazccbd_record.life_in_months;
577: px_asset_fin_rec.basic_rate := fa_cache_pkg.fazccbd_record.basic_rate;
578: px_asset_fin_rec.adjusted_rate := fa_cache_pkg.fazccbd_record.adjusted_rate;
579:

Line 576: px_asset_fin_rec.life_in_months := fa_cache_pkg.fazccbd_record.life_in_months;

572:
573: if (px_asset_fin_rec.deprn_method_code is null) then
574:
575: px_asset_fin_rec.deprn_method_code := fa_cache_pkg.fazccbd_record.deprn_method;
576: px_asset_fin_rec.life_in_months := fa_cache_pkg.fazccbd_record.life_in_months;
577: px_asset_fin_rec.basic_rate := fa_cache_pkg.fazccbd_record.basic_rate;
578: px_asset_fin_rec.adjusted_rate := fa_cache_pkg.fazccbd_record.adjusted_rate;
579:
580: -- BUG# 2417520 - mass additions can send in prod capacity only, so allow this

Line 577: px_asset_fin_rec.basic_rate := fa_cache_pkg.fazccbd_record.basic_rate;

573: if (px_asset_fin_rec.deprn_method_code is null) then
574:
575: px_asset_fin_rec.deprn_method_code := fa_cache_pkg.fazccbd_record.deprn_method;
576: px_asset_fin_rec.life_in_months := fa_cache_pkg.fazccbd_record.life_in_months;
577: px_asset_fin_rec.basic_rate := fa_cache_pkg.fazccbd_record.basic_rate;
578: px_asset_fin_rec.adjusted_rate := fa_cache_pkg.fazccbd_record.adjusted_rate;
579:
580: -- BUG# 2417520 - mass additions can send in prod capacity only, so allow this
581: px_asset_fin_rec.production_capacity := nvl(px_asset_fin_rec.production_capacity,

Line 578: px_asset_fin_rec.adjusted_rate := fa_cache_pkg.fazccbd_record.adjusted_rate;

574:
575: px_asset_fin_rec.deprn_method_code := fa_cache_pkg.fazccbd_record.deprn_method;
576: px_asset_fin_rec.life_in_months := fa_cache_pkg.fazccbd_record.life_in_months;
577: px_asset_fin_rec.basic_rate := fa_cache_pkg.fazccbd_record.basic_rate;
578: px_asset_fin_rec.adjusted_rate := fa_cache_pkg.fazccbd_record.adjusted_rate;
579:
580: -- BUG# 2417520 - mass additions can send in prod capacity only, so allow this
581: px_asset_fin_rec.production_capacity := nvl(px_asset_fin_rec.production_capacity,
582: fa_cache_pkg.fazccbd_record.production_capacity);

Line 582: fa_cache_pkg.fazccbd_record.production_capacity);

578: px_asset_fin_rec.adjusted_rate := fa_cache_pkg.fazccbd_record.adjusted_rate;
579:
580: -- BUG# 2417520 - mass additions can send in prod capacity only, so allow this
581: px_asset_fin_rec.production_capacity := nvl(px_asset_fin_rec.production_capacity,
582: fa_cache_pkg.fazccbd_record.production_capacity);
583:
584: -- BUG# 3066139 - need to default UOP as well
585: px_asset_fin_rec.unit_of_measure := nvl(px_asset_fin_rec.unit_of_measure,
586: fa_cache_pkg.fazccbd_record.unit_of_measure);

Line 586: fa_cache_pkg.fazccbd_record.unit_of_measure);

582: fa_cache_pkg.fazccbd_record.production_capacity);
583:
584: -- BUG# 3066139 - need to default UOP as well
585: px_asset_fin_rec.unit_of_measure := nvl(px_asset_fin_rec.unit_of_measure,
586: fa_cache_pkg.fazccbd_record.unit_of_measure);
587:
588: if (nvl(fa_cache_pkg.fazccbd_record.subcomponent_life_rule, 'NULL') <> 'NULL' and
589: nvl(px_asset_desc_rec.parent_asset_id, -99) <> -99) then
590:

Line 588: if (nvl(fa_cache_pkg.fazccbd_record.subcomponent_life_rule, 'NULL') <> 'NULL' and

584: -- BUG# 3066139 - need to default UOP as well
585: px_asset_fin_rec.unit_of_measure := nvl(px_asset_fin_rec.unit_of_measure,
586: fa_cache_pkg.fazccbd_record.unit_of_measure);
587:
588: if (nvl(fa_cache_pkg.fazccbd_record.subcomponent_life_rule, 'NULL') <> 'NULL' and
589: nvl(px_asset_desc_rec.parent_asset_id, -99) <> -99) then
590:
591: if not FA_ASSET_CALC_PVT.calc_subcomp_life
592: (p_trans_rec => px_trans_rec,

Line 623: fa_cache_pkg.fazccbd_record.bonus_rule;

619: --Bug# 7198185 end
620:
621: if (px_asset_fin_rec.bonus_rule is null) then
622: px_asset_fin_rec.bonus_rule :=
623: fa_cache_pkg.fazccbd_record.bonus_rule;
624: elsif (px_asset_fin_rec.bonus_rule = FND_API.G_MISS_CHAR) then
625: px_asset_fin_rec.bonus_rule := NULL;
626: end if;
627:

Line 630: fa_cache_pkg.fazccbd_record.ceiling_name;

626: end if;
627:
628: if (px_asset_fin_rec.ceiling_name is null) then
629: px_asset_fin_rec.ceiling_name :=
630: fa_cache_pkg.fazccbd_record.ceiling_name;
631: elsif (px_asset_fin_rec.ceiling_name = FND_API.G_MISS_CHAR) then
632: px_asset_fin_rec.ceiling_name := NULL;
633: end if;
634:

Line 642: (p_group_asset_id => fa_cache_pkg.fazccbd_record.group_asset_id,

638: if px_asset_type_rec.asset_type <> 'GROUP' then
639: if (px_asset_fin_rec.group_asset_id is null) then
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',

Line 654: (fa_cache_pkg.fazcbc_record.allow_cip_member_flag = 'Y')) then

650: end if;
651: --HH do this check for conditional group defaulting
652: if (px_asset_type_rec.asset_type <> 'CIP') OR
653: ((px_asset_type_rec.asset_type = 'CIP') AND
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',

Line 655: px_asset_fin_rec.group_asset_id := fa_cache_pkg.fazccbd_record.group_asset_id;

651: --HH do this check for conditional group defaulting
652: if (px_asset_type_rec.asset_type <> 'CIP') OR
653: ((px_asset_type_rec.asset_type = 'CIP') AND
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'

Line 679: if (fa_cache_pkg.fazcbc_record.book_class = 'TAX' and

675:
676: if (px_asset_fin_rec.salvage_type is null) then
677: if (px_asset_fin_rec.percent_salvage_value is null and
678: px_asset_fin_rec.salvage_value is null) then
679: if (fa_cache_pkg.fazcbc_record.book_class = 'TAX' and
680: px_trans_rec.source_transaction_header_id is not null and
681: fa_cache_pkg.fazcbc_record.copy_salvage_value_flag = 'YES') then
682: -- get the primary corp book value from source transaction
683: -- using this and then converting in case mrc is anabled on tax

Line 681: fa_cache_pkg.fazcbc_record.copy_salvage_value_flag = 'YES') then

677: if (px_asset_fin_rec.percent_salvage_value is null and
678: px_asset_fin_rec.salvage_value is null) then
679: if (fa_cache_pkg.fazcbc_record.book_class = 'TAX' and
680: px_trans_rec.source_transaction_header_id is not null and
681: fa_cache_pkg.fazcbc_record.copy_salvage_value_flag = 'YES') then
682: -- get the primary corp book value from source transaction
683: -- using this and then converting in case mrc is anabled on tax
684: -- books but not on corp
685:

Line 696: fa_cache_pkg.fazccbd_record.percent_salvage_value;

692: px_asset_fin_rec.salvage_value := 0;
693: end if;
694: else -- corp, manual tax, or no copy salvage
695: px_asset_fin_rec.percent_salvage_value :=
696: fa_cache_pkg.fazccbd_record.percent_salvage_value;
697: end if;
698: end if;
699:
700: if (px_asset_fin_rec.percent_salvage_value is null) then

Line 713: px_asset_fin_rec.percent_salvage_value := nvl(fa_cache_pkg.fazccbd_record.percent_salvage_value, 0);

709: end if;
710:
711: elsif (px_asset_fin_rec.salvage_type = 'PCT' and
712: px_asset_fin_rec.percent_salvage_value is null) then
713: px_asset_fin_rec.percent_salvage_value := nvl(fa_cache_pkg.fazccbd_record.percent_salvage_value, 0);
714: elsif (px_asset_fin_rec.salvage_type = 'AMT' and
715: px_asset_fin_rec.salvage_value is null) then
716: px_asset_fin_rec.salvage_value := 0;
717: elsif (px_asset_fin_rec.salvage_type <> 'PCT' and

Line 737: if (fa_cache_pkg.fazccbd_record.use_deprn_limits_flag = 'YES') then

733:
734: if (px_asset_fin_rec.deprn_limit_type is null) then
735: if (px_asset_fin_rec.allowed_deprn_limit_amount is null and
736: px_asset_fin_rec.allowed_deprn_limit is null) then
737: if (fa_cache_pkg.fazccbd_record.use_deprn_limits_flag = 'YES') then
738: px_asset_fin_rec.allowed_deprn_limit :=
739: fa_cache_pkg.fazccbd_record.allowed_deprn_limit;
740: px_asset_fin_rec.allowed_deprn_limit_amount :=
741: fa_cache_pkg.fazccbd_record.special_deprn_limit_amount;

Line 739: fa_cache_pkg.fazccbd_record.allowed_deprn_limit;

735: if (px_asset_fin_rec.allowed_deprn_limit_amount is null and
736: px_asset_fin_rec.allowed_deprn_limit is null) then
737: if (fa_cache_pkg.fazccbd_record.use_deprn_limits_flag = 'YES') then
738: px_asset_fin_rec.allowed_deprn_limit :=
739: fa_cache_pkg.fazccbd_record.allowed_deprn_limit;
740: px_asset_fin_rec.allowed_deprn_limit_amount :=
741: fa_cache_pkg.fazccbd_record.special_deprn_limit_amount;
742: end if;
743: end if;

Line 741: fa_cache_pkg.fazccbd_record.special_deprn_limit_amount;

737: if (fa_cache_pkg.fazccbd_record.use_deprn_limits_flag = 'YES') then
738: px_asset_fin_rec.allowed_deprn_limit :=
739: fa_cache_pkg.fazccbd_record.allowed_deprn_limit;
740: px_asset_fin_rec.allowed_deprn_limit_amount :=
741: fa_cache_pkg.fazccbd_record.special_deprn_limit_amount;
742: end if;
743: end if;
744:
745: if (px_asset_fin_rec.allowed_deprn_limit is not null) then

Line 756: fa_cache_pkg.fazccbd_record.allowed_deprn_limit;

752:
753: elsif (px_asset_fin_rec.deprn_limit_type = 'PCT' and
754: px_asset_fin_rec.allowed_deprn_limit is null) then
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***'

Line 767: fa_cache_pkg.fazccbd_record.special_deprn_limit_amount;

763: end if;
764: elsif (px_asset_fin_rec.deprn_limit_type = 'AMT' and
765: px_asset_fin_rec.allowed_deprn_limit_amount is null) then
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***'

Line 869: if not fa_cache_pkg.fazccmt

865: px_asset_fin_rec.over_depreciate_option
866: ,p_log_level_rec => p_log_level_rec);
867: end if;
868:
869: if not fa_cache_pkg.fazccmt
870: (X_method => px_asset_fin_rec.deprn_method_code,
871: X_life => px_asset_fin_rec.life_in_months,
872: p_log_level_rec => p_log_level_rec) then
873: raise init_err;

Line 876: if (nvl(fa_cache_pkg.fazcdrd_record.allow_reduction_rate_flag, 'N') = 'N') then

872: p_log_level_rec => p_log_level_rec) then
873: raise init_err;
874: end if;
875:
876: if (nvl(fa_cache_pkg.fazcdrd_record.allow_reduction_rate_flag, 'N') = 'N') then
877: px_asset_fin_rec.reduction_rate := to_number(null);
878: px_asset_fin_rec.reduce_addition_flag := null;
879: px_asset_fin_rec.reduce_adjustment_flag := null;
880: px_asset_fin_rec.reduce_adjustment_flag := null;

Line 1135: l_period_counter := fa_cache_pkg.fazcbc_record.last_period_counter;

1131:
1132:
1133: begin
1134:
1135: l_period_counter := fa_cache_pkg.fazcbc_record.last_period_counter;
1136:
1137: l_rowid := NULL;
1138: l_transaction_header_id := p_trans_rec.transaction_header_id;
1139: l_trans_in_header_id := p_dist_trans_rec.transaction_header_id;

Line 1147: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then

1143: deprn_override_flag_default:= fa_std_types.FA_NO_OVERRIDE;
1144:
1145: if (p_mrc_sob_type_code <> 'R') then
1146:
1147: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
1148:
1149: -- Insert into fa_additions.
1150: l_rowid := NULL;
1151: l_asset_id := p_asset_hdr_rec.asset_id;

Line 1392: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then

1388: end if;
1389:
1390: l_rowid := NULL;
1391:
1392: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
1393:
1394: fa_transaction_headers_pkg.insert_row (
1395: X_Rowid => l_rowid,
1396: X_Transaction_Header_Id => l_trans_in_header_id,

Line 1572: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then

1568: raise general_error;
1569: end if;
1570:
1571: if ( p_mrc_sob_type_code <> 'R') then
1572: if (fa_cache_pkg.fazcbc_record.book_class = 'CORPORATE') then
1573:
1574: -- Insert into fa_asset_history.
1575: l_rowid := NULL;
1576:

Line 1688: l_status := fa_cache_pkg.fazcbc (

1684:
1685:
1686: -- BUG# 2115343 need to reset the cache to the active book after faxindd
1687:
1688: l_status := fa_cache_pkg.fazcbc (
1689: X_book => p_asset_hdr_rec.book_type_code,
1690: p_log_level_rec => p_log_level_rec);
1691:
1692: if not (l_status) then

Line 1697: if not fa_cache_pkg.fazccmt

1693: raise general_error;
1694: end if;
1695:
1696: -- Insert into fa_books_summary if polish rule
1697: if not fa_cache_pkg.fazccmt
1698: (X_method => p_asset_fin_rec.deprn_method_code,
1699: X_life => p_asset_fin_rec.life_in_months,
1700: p_log_level_rec => p_log_level_rec) then
1701: raise general_error;

Line 1704: if (fa_cache_pkg.fazcdbr_record.polish_rule in

1700: p_log_level_rec => p_log_level_rec) then
1701: raise general_error;
1702: end if;
1703:
1704: if (fa_cache_pkg.fazcdbr_record.polish_rule in
1705: (FA_STD_TYPES.FAD_DBR_POLISH_1,
1706: FA_STD_TYPES.FAD_DBR_POLISH_2,
1707: FA_STD_TYPES.FAD_DBR_POLISH_3,
1708: FA_STD_TYPES.FAD_DBR_POLISH_4,

Line 2066: l_adj.period_counter_created := fa_cache_pkg.fazcbc_record.last_period_counter + 1;

2062:
2063: l_adj.transaction_header_id := p_trans_rec.transaction_header_id;
2064: l_adj.asset_id := p_asset_hdr_rec.asset_id;
2065: l_adj.book_type_code := p_asset_hdr_rec.book_type_code;
2066: l_adj.period_counter_created := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
2067: l_adj.period_counter_adjusted := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
2068: l_adj.current_units := p_asset_desc_rec.current_units ;
2069: l_adj.selection_mode := FA_ADJUST_TYPE_PKG.FA_AJ_ACTIVE;
2070: l_adj.selection_thid := 0;

Line 2067: l_adj.period_counter_adjusted := fa_cache_pkg.fazcbc_record.last_period_counter + 1;

2063: l_adj.transaction_header_id := p_trans_rec.transaction_header_id;
2064: l_adj.asset_id := p_asset_hdr_rec.asset_id;
2065: l_adj.book_type_code := p_asset_hdr_rec.book_type_code;
2066: l_adj.period_counter_created := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
2067: l_adj.period_counter_adjusted := fa_cache_pkg.fazcbc_record.last_period_counter + 1;
2068: l_adj.current_units := p_asset_desc_rec.current_units ;
2069: l_adj.selection_mode := FA_ADJUST_TYPE_PKG.FA_AJ_ACTIVE;
2070: l_adj.selection_thid := 0;
2071: l_adj.selection_retid := 0;

Line 2213: if nvl(fa_cache_pkg.fazccmt_record.guarantee_rate_method_flag,'NO') = 'YES' then

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)
2213: if nvl(fa_cache_pkg.fazccmt_record.guarantee_rate_method_flag,'NO') = 'YES' then
2214:
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