1 PACKAGE CN_INTEL_CALC_PKG AS
2 /* $Header: cntcalcs.pls 120.1 2005/07/20 10:22:12 mblum noship $ */
3 --
4 -- Package Name
5 -- CN_INTEL_CALC_PKG
6 -- Purpose
7 -- Table handler for CN_SRP_INTEL_PERIODS
8 -- Form
9 -- N/A
10 -- Block
11 -- N/A
12 --
13 -- History
14 -- 16-SEP-99 Yonghong Mao Created
15
16 procedure insert_row (
17 x_srp_intel_period_id IN NUMBER,
18 x_salesrep_id IN NUMBER,
19 x_org_id IN NUMBER,
20 x_period_id IN NUMBER,
21 x_processing_status_code IN VARCHAR2,
22 x_process_all_flag IN VARCHAR2,
23 x_attribute_category IN VARCHAR2 := null,
24 x_attribute1 IN VARCHAR2 := null,
25 x_attribute2 IN VARCHAR2 := null,
26 x_attribute3 IN VARCHAR2 := null,
27 x_attribute4 IN VARCHAR2 := null,
28 x_attribute5 IN VARCHAR2 := null,
29 x_attribute6 IN VARCHAR2 := null,
30 x_attribute7 IN VARCHAR2 := null,
31 x_attribute8 IN VARCHAR2 := null,
32 x_attribute9 IN VARCHAR2 := null,
33 x_attribute10 IN VARCHAR2 := null,
34 x_attribute11 IN VARCHAR2 := null,
35 x_attribute12 IN VARCHAR2 := null,
36 x_attribute13 IN VARCHAR2 := null,
37 x_attribute14 IN VARCHAR2 := null,
38 x_attribute15 IN VARCHAR2 := null,
39 x_creation_date IN DATE := sysdate,
40 x_created_by IN NUMBER := fnd_global.user_id,
41 x_last_update_date IN DATE := sysdate,
42 x_last_updated_by IN NUMBER := fnd_global.user_id,
43 x_last_update_login IN NUMBER := fnd_global.login_id,
44 x_start_date IN DATE := null,
45 x_end_date IN DATE := null);
46
47 PROCEDURE lock_row (
48 x_srp_intel_period_id IN NUMBER,
49 x_salesrep_id IN NUMBER,
50 x_period_id IN NUMBER,
51 x_processing_status_code IN VARCHAR2,
52 x_process_all_flag IN VARCHAR2,
53 x_start_date IN DATE := null,
54 x_end_date IN DATE := NULL,
55 x_attribute_category IN VARCHAR2 := null,
56 x_attribute1 IN VARCHAR2 := null,
57 x_attribute2 IN VARCHAR2 := null,
58 x_attribute3 IN VARCHAR2 := null,
59 x_attribute4 IN VARCHAR2 := null,
60 x_attribute5 IN VARCHAR2 := null,
61 x_attribute6 IN VARCHAR2 := null,
62 x_attribute7 IN VARCHAR2 := null,
63 x_attribute8 IN VARCHAR2 := null,
64 x_attribute9 IN VARCHAR2 := null,
65 x_attribute10 IN VARCHAR2 := null,
66 x_attribute11 IN VARCHAR2 := null,
67 x_attribute12 IN VARCHAR2 := null,
68 x_attribute13 IN VARCHAR2 := null,
69 x_attribute14 IN VARCHAR2 := null,
70 x_attribute15 IN VARCHAR2 := null);
71 PROCEDURE update_row (
72 x_srp_intel_period_id IN NUMBER,
73 x_salesrep_id IN NUMBER,
74 x_period_id IN NUMBER,
75 x_start_date IN DATE,
76 x_end_date IN DATE,
77 x_processing_status_code IN VARCHAR2,
78 x_process_all_flag IN VARCHAR2,
79 x_attribute_category IN VARCHAR2,
80 x_attribute1 IN VARCHAR2,
81 x_attribute2 IN VARCHAR2,
82 x_attribute3 IN VARCHAR2,
83 x_attribute4 IN VARCHAR2,
84 x_attribute5 IN VARCHAR2,
85 x_attribute6 IN VARCHAR2,
86 x_attribute7 IN VARCHAR2,
87 x_attribute8 IN VARCHAR2,
88 x_attribute9 IN VARCHAR2,
89 x_attribute10 IN VARCHAR2,
90 x_attribute11 IN VARCHAR2,
91 x_attribute12 IN VARCHAR2,
92 x_attribute13 IN VARCHAR2,
93 x_attribute14 IN VARCHAR2,
94 x_attribute15 IN VARCHAR2,
95 x_last_update_date IN DATE,
96 x_last_updated_by IN NUMBER,
97 x_last_update_login IN NUMBER);
98
99 PROCEDURE delete_row (
100 x_srp_intel_period_id IN NUMBER
101 );
102
103 end CN_INTEL_CALC_PKG;