1 PACKAGE FA_AMORT_VAL_PKG as
2 /* $Header: FAAMRTVS.pls 120.2 2005/06/23 21:40:18 dfred ship $ */
3
4 /*
5 ---------------------------------------------------------------------------------------
6
7 Name: val_amort_date
8
9 Description:
10 This function is called from both books form in asset workbench
11 and asset hierarchy/category forms in asset hierarchy to validate
12 amortization start date entered by user.
13
14 Parameters
15 x_amort_start_date amortization start date user entered
16 x_book book
17 x_asset_id asset_id
18 x_dpis date placed in service
19 x_txns_exist set to Y if any txn exists between amortization start date
20 and current period
21 x_err_code returns error
22
23 ----------------------------------------------------------------------------------------
24 */
25
26
27
28 FUNCTION val_amort_date(x_amort_start_date date,
29 x_new_amort_start_date out nocopy date,
30 x_book varchar2,
31 x_asset_id number,
32 x_dpis date,
33 x_txns_exist in out nocopy varchar2,
34 x_err_code out nocopy varchar2,
35 p_log_level_rec IN FA_API_TYPES.log_level_rec_type default null)
36 return boolean;
37
38 END FA_AMORT_VAL_PKG;