1 PACKAGE FA_ASSET_HIERARCHY_PVT as
2 /* $Header: FAVAHRS.pls 120.1 2002/11/12 08:06:42 glchen noship $ */
3
4
5
6 FUNCTION validate_parent ( p_parent_hierarchy_id in number,
7 p_book_type_code in varchar2 ) return boolean;
8
9 FUNCTION add_asset(
10 p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
11 p_asset_hierarchy_rec IN FA_API_TYPES.asset_hierarchy_rec_type ) return boolean;
12
13 FUNCTION derive_asset_attribute(
14 px_asset_hdr_rec IN OUT NOCOPY fa_api_types.asset_hdr_rec_type,
15 px_asset_desc_rec IN OUT NOCOPY fa_api_types.asset_desc_rec_type,
16 px_asset_cat_rec IN OUT NOCOPY fa_api_types.asset_cat_rec_type,
17 px_asset_hierarchy_rec IN OUT NOCOPY fa_api_types.asset_hierarchy_rec_type,
18 px_asset_fin_rec IN OUT NOCOPY fa_api_types.asset_fin_rec_type,
19 px_asset_dist_tbl IN OUT NOCOPY fa_api_types.asset_dist_tbl_type,
20 p_derivation_type IN varchar2 DEFAULT 'ALL',
21 p_calling_function IN varchar2 ) return boolean;
22
23 FUNCTION load_distributions(
24 p_hr_dist_set_id IN number,
25 p_asset_units IN number,
26 px_asset_dist_tbl IN OUT NOCOPY fa_api_types.asset_dist_tbl_type ) return boolean;
27
28 FUNCTION create_batch(
29 p_asset_hdr_rec IN FA_API_TYPES.asset_hdr_rec_type,
30 p_trans_rec IN FA_API_TYPES.trans_rec_type,
31 p_asset_hr_opt_rec IN FA_API_TYPES.asset_hr_options_rec_type ) return boolean;
32
33 END FA_ASSET_HIERARCHY_PVT;