1 PACKAGE IGI_IAC_REVAL_WRAPPER AS
2 -- $Header: igiiarws.pls 120.4.12000000.1 2007/08/01 16:18:41 npandya ship $
3
4 l_rec igi_iac_revaluation_rates%rowtype; -- create this for quicker access via sql navigator
5
6 /* function to do the revaluation calculation once the structures are initialized.
7 ** Note, use a dummy variable to deal with the fp_reval_output_asset params */
8 -- This routine would be called from additions and reclass
9 function do_reval_calc_asset ( L_reval_params in out NOCOPY IGI_IAC_TYPES.iac_reval_params
10 , fp_reval_output_asset IN OUT NOCOPY IGI_IAC_TYPES.iac_reval_output_asset
11 )
12 return boolean
13 ;
14 /*
15 -- function to do the process of the revaluation at the asset level!
16 -- this function is called by the REvaluation concurrent programs, additions and reclass
17 -- routines.
18 -- The calling program has to be set properly for the initialization.
19 */
20
21 function do_revaluation_asset
22 ( fp_revaluation_id in number
23 , fp_asset_id in number
24 , fp_book_type_code in varchar2
25 , fp_reval_mode in varchar2
26 , fp_reval_rate in number
27 , fp_period_counter in number
28 , fp_calling_program in varchar2
29 , fp_reval_output_asset in out NOCOPY IGI_IAC_TYPES.iac_reval_output_asset
30 , fp_reval_messages in out NOCOPY IGI_IAC_TYPES.iac_reval_mesg
31 , fp_reval_messages_idx in out NOCOPY IGI_IAC_TYPES.iac_reval_mesg_idx
32 , fp_reval_exceptions in out NOCOPY IGI_IAC_TYPES.iac_reval_exceptions
33 , fp_reval_exceptions_idx in out NOCOPY IGI_IAC_TYPES.iac_reval_exceptions_idx
34 )
35 return boolean;
36
37 function do_calculation_asset
38 ( fp_revaluation_id number
39 , fp_asset_id number
40 , fp_book_type_code varchar2
41 , fp_reval_mode varchar2
42 , fp_reval_rate number
43 , fp_period_counter number
44 , fp_iac_reval_output_asset out NOCOPY IGI_IAC_TYPES.iac_reval_output_asset
45 )
46 return boolean;
47
48 END;