DBA Data[Home] [Help]

PACKAGE: APPS.CN_INT_ASSIGN_PKG

Source


1 PACKAGE CN_INT_ASSIGN_PKG AS
2 /* $Header: cntintas.pls 120.2 2005/09/19 12:04:45 ymao noship $ */
3 --
4 -- Package Name
5 --   CN_INT_ASSIGN_PKG
6 -- Purpose
7 --   Table handler for CN_CAL_PER_INT_TYPES
8 -- Form
9 --   CNINTTP
10 -- Block
11 --   INTERVAL_ASSIGNS
12 --
13 -- History
14 --   16-Aug-99  Yonghong Mao  Created
15 
16 --
17 -- global variables that represent missing values
18 --
19 g_last_update_date           DATE   := Sysdate;
20 g_last_updated_by            NUMBER := fnd_global.user_id;
21 g_creation_date              DATE   := Sysdate;
22 g_created_by                 NUMBER := fnd_global.user_id;
23 g_last_update_login          NUMBER := fnd_global.login_id;
24 --/*--------------------------------------------------------------------------*
25 -- Prodedure Name
26 --  insert_row
27 -- Purpose
28 --  main insert procedure
29 -- *--------------------------------------------------------------------------*/
30 PROCEDURE insert_row
31   ( x_cal_per_int_type_id IN OUT  NOCOPY cn_cal_per_int_types.cal_per_int_type_id%TYPE,
32     x_org_id                      cn_cal_per_int_types.org_id%TYPE,
33     x_interval_type_id            cn_cal_per_int_types.interval_type_id%TYPE,
34     x_cal_period_id               cn_cal_per_int_types.cal_period_id%TYPE,
35     x_interval_number             cn_cal_per_int_types.interval_number%TYPE,
36     x_last_update_date            cn_cal_per_int_types.last_update_date%TYPE,
37     x_last_updated_by             cn_cal_per_int_types.last_updated_by%TYPE,
38     x_creation_date               cn_cal_per_int_types.creation_date%TYPE,
39     x_created_by                  cn_cal_per_int_types.created_by%TYPE,
40     x_last_update_login           cn_cal_per_int_types.last_update_login%TYPE
41     );
42 
43 --/*--------------------------------------------------------------------------*
44 -- Prodedure Name
45 --  update_row
46 -- Purpose
47 --  Populate the table cn_cal_per_int_types after creating an interval type
48 -- *--------------------------------------------------------------------------*/
49 PROCEDURE update_row
50   ( x_cal_per_int_type_id     cn_cal_per_int_types.cal_per_int_type_id%TYPE,
51     x_interval_number         cn_cal_per_int_types.interval_number%TYPE,
52     x_last_update_date        cn_cal_per_int_types.last_update_date%TYPE,
53     x_last_updated_by         cn_cal_per_int_types.last_updated_by%TYPE,
54     x_last_update_login       cn_cal_per_int_types.last_update_login%TYPE
55     );
56 
57 --/*--------------------------------------------------------------------------*
58 -- Prodedure Name
59 --  lock_row
60 -- Purpose
61 --  lock DB row after form record is changed
62 -- *--------------------------------------------------------------------------*/
63 PROCEDURE lock_row
64   ( x_cal_per_int_type_id     cn_cal_per_int_types.cal_per_int_type_id%TYPE,
65     x_cal_period_id           cn_cal_per_int_types.cal_period_id%TYPE,
66     x_interval_type_id        cn_cal_per_int_types.interval_type_id%TYPE,
67     x_interval_number         cn_cal_per_int_types.interval_number%TYPE
68     );
69 
70 
71 END CN_INT_ASSIGN_PKG;