1 Package OKL_ACTIVATE_ASSET_PUB AUTHID CURRENT_USER As
2 /* $Header: OKLPACAS.pls 115.3 2002/06/12 12:42:44 pkm ship $ */
3 SUBTYPE cimv_rec_type is OKL_ACTIVATE_ASSET_PVT.cimv_rec_type;
4 SUBTYPE cimv_tbl_type is OKL_ACTIVATE_ASSET_PVT.cimv_tbl_type;
5 G_APP_NAME CONSTANT VARCHAR2(200) := OKL_API.G_APP_NAME;
6 --------------------------------------------------------------------------------
7 --Start of Comments
8 --Procedure Name : ACTIVATE_ASSET
9 --Description : Selects the 'CFA' - Create Asset Transaction from a ready to be
10 -- Booked Contract which has passed Approval
11 -- and created assets in FA
12 --
13 --History :
14 -- 03-Nov-2001 avsingh Created
15 -- Notes :
16 -- IN Parameters -
17 -- p_chr_id - contract id to be activated
18 -- p_call_mode - 'BOOK' for booking
19 -- 'REBOOK' for rebooking
20 -- 'RELEASE' for release
21 -- x_cimv_tbl - OKC line source table showing
22 -- fa links in ID1 , ID2 columns
23 --End of Comments
24 --------------------------------------------------------------------------------
25 PROCEDURE ACTIVATE_ASSET(p_api_version IN NUMBER,
26 p_init_msg_list IN VARCHAR2 DEFAULT OKL_API.G_FALSE,
27 x_return_status OUT NOCOPY VARCHAR2,
28 x_msg_count OUT NOCOPY NUMBER,
29 x_msg_data OUT NOCOPY VARCHAR2,
30 p_chrv_id IN NUMBER,
31 p_call_mode IN VARCHAR2,
32 x_cimv_tbl OUT NOCOPY cimv_tbl_type);
33
34 --------------------------------------------------------------------------------
35 --Start of Comments
36 --Procedure Name : REBOOK_ASSET (Activate code branch for rebook)
37 --Description : Will be called from activate asset and make rebook adjustments
38 -- in FA
39 --History :
40 -- 21-Mar-2002 ashish.singh Created
41 -- Notes :
42 -- IN Parameters -
43 -- p_rbk_chr_id - contract id of rebook copied contract
44 --
45 -- This APi should be called after syncronization of copied k
46 -- to the original (being re-booked ) K
47 --End of Comments
48 --------------------------------------------------------------------------------
49
50 PROCEDURE REBOOK_ASSET (p_api_version IN NUMBER,
51 p_init_msg_list IN VARCHAR2 DEFAULT OKL_API.G_FALSE,
52 x_return_status OUT NOCOPY VARCHAR2,
53 x_msg_count OUT NOCOPY NUMBER,
54 x_msg_data OUT NOCOPY VARCHAR2,
55 p_rbk_chr_id IN NUMBER);
56
57 PROCEDURE RELEASE_ASSET (p_api_version IN NUMBER,
58 p_init_msg_list IN VARCHAR2 DEFAULT OKL_API.G_FALSE,
59 x_return_status OUT NOCOPY VARCHAR2,
60 x_msg_count OUT NOCOPY NUMBER,
61 x_msg_data OUT NOCOPY VARCHAR2,
62 p_rel_chr_id IN NUMBER);
63 END OKL_ACTIVATE_ASSET_PUB;