DBA Data[Home] [Help]

PACKAGE: APPS.INV_RSV_DETAIL_STAGE_PVT

Source


1 PACKAGE inv_rsv_detail_stage_pvt AUTHID CURRENT_USER AS
2 /* $Header: INVRSDSS.pls 120.0.12010000.1 2010/03/10 13:06:58 viiyer noship $ */
3 
4 ------------------------------------------------------------------------------
5 -- Note
6 --   APIs in this package conforms to the PLSQL Business Object API Coding
7 --   Standard.
8 ------------------------------------------------------------------------------
9 
10 ------------------------------------------------------------------------------
11 -- Please refers to inv_reservation_global package spec for the definitions
12 -- of mtl_reservation_rec_type, mtl_reservation_rec_type and
13 -- serial_number_tbl_type
14 ------------------------------------------------------------------------------
15 
16 ------------------------------------------------------------------------------
17 -- Procedures and Functions
18 ------------------------------------------------------------------------------
19 -- Procedure
20 --   process_reservation
21 --
22 -- Description
23 --   This api will detail and stage an org level or detailed reservation
24 --
25 -- Input Paramters
26 --   p_api_version_number       API version number (current version is 1.0)
27 --
28 --   p_init_msg_lst             Whether initialize the error message list or
29 --                              not.
30 --                              Should be fnd_api.g_false or fnd_api.g_true
31 --
32 --   p_rsv_rec                  Contains info to be used to process the
33 --                              reservation
34 --
35 --   p_serial_number            Contains serial numbers to be staged
36 --
37 --   p_rsv_status               'DETAIL' or 'STAGE'
38 --				IF DETAIL then the reservation would be detailed
39 --                              to the sku passed
40 --                              IF STAGE then the reservation would be
41 --                              detailed and then staged
42 --
43 -- Output Parameters
44 --   x_return_status            = fnd_api.g_ret_sts_success, if succeeded
45 --                              = fnd_api.g_ret_sts_exc_error, if an expected
46 --                              error occurred
47 --                              = fnd_api.g_ret_sts_unexp_error, if
48 --                              an unexpected error occurred
49 --
50 --   x_msg_count                Number of error message in the error message
51 --                              list
52 --
53 --   x_msg_data                 If the number of error message in the error
54 --                              message list is one, the error message
55 --                              is in this output parameter
56 --
57  PROCEDURE Process_Reservation
58  (
59     p_api_version_number IN  NUMBER ,
60     p_init_msg_lst       IN  VARCHAR2 DEFAULT fnd_api.g_false ,
61     p_rsv_rec            IN  inv_reservation_global.mtl_reservation_rec_type ,
62     p_serial_number      IN  inv_reservation_global.serial_number_tbl_type ,
63     p_rsv_status         IN  VARCHAR2,
64     x_return_status      OUT NOCOPY  VARCHAR2 ,
65     x_msg_count          OUT NOCOPY  NUMBER   ,
66     x_msg_data           OUT NOCOPY  VARCHAR2
67  );
68 
69 END inv_rsv_detail_stage_pvt ;