DBA Data[Home] [Help]

PACKAGE: APPS.HR_LOCATIONS_PKG

Source


1 PACKAGE HR_LOCATIONS_PKG AUTHID CURRENT_USER as
2 /* $Header: peloc01t.pkh 115.3 2002/12/06 11:27:23 pkakar ship $ */
3 
4 PROCEDURE Insert_Row(X_Rowid                         IN OUT NOCOPY VARCHAR2,
5                      X_Location_Id                          IN OUT NOCOPY NUMBER,
6                      X_Entered_By                           NUMBER,
7                      X_Location_Code                        VARCHAR2,
8                      X_Address_Line_1                       VARCHAR2,
9                      X_Address_Line_2                       VARCHAR2,
10                      X_Address_Line_3                       VARCHAR2,
11                      X_Bill_To_Site_Flag                    VARCHAR2,
12                      X_Country                              VARCHAR2,
13                      X_Description                          VARCHAR2,
14                      X_Designated_Receiver_Id               NUMBER,
15                      X_In_Organization_Flag                 VARCHAR2,
16                      X_Inactive_Date                        DATE,
17                      X_Inventory_Organization_Id            NUMBER,
18                      X_Office_Site_Flag                     VARCHAR2,
19                      X_Postal_Code                          VARCHAR2,
20                      X_Receiving_Site_Flag                  VARCHAR2,
21                      X_Region_1                             VARCHAR2,
22                      X_Region_2                             VARCHAR2,
23                      X_Region_3                             VARCHAR2,
24                      X_Ship_To_Location_Id           IN OUT NOCOPY NUMBER,
25                      X_Ship_To_Site_Flag                    VARCHAR2,
26                      X_Style                                VARCHAR2,
27                      X_Tax_Name                             VARCHAR2,
28 		     X_Ece_Tp_Location_Code                 VARCHAR2,
29                      X_Telephone_Number_1                   VARCHAR2,
30                      X_Telephone_Number_2                   VARCHAR2,
31                      X_Telephone_Number_3                   VARCHAR2,
32                      X_Town_Or_City                         VARCHAR2,
33                      X_Attribute_Category                   VARCHAR2,
34                      X_Attribute1                           VARCHAR2,
35                      X_Attribute2                           VARCHAR2,
36                      X_Attribute3                           VARCHAR2,
37                      X_Attribute4                           VARCHAR2,
38                      X_Attribute5                           VARCHAR2,
39                      X_Attribute6                           VARCHAR2,
40                      X_Attribute7                           VARCHAR2,
41                      X_Attribute8                           VARCHAR2,
42                      X_Attribute9                           VARCHAR2,
43                      X_Attribute10                          VARCHAR2,
44                      X_Attribute11                          VARCHAR2,
45                      X_Attribute12                          VARCHAR2,
46                      X_Attribute13                          VARCHAR2,
47                      X_Attribute14                          VARCHAR2,
48                      X_Attribute15                          VARCHAR2,
49                      X_Attribute16                          VARCHAR2,
50                      X_Attribute17                          VARCHAR2,
51                      X_Attribute18                          VARCHAR2,
52                      X_Attribute19                          VARCHAR2,
53                      X_Attribute20                          VARCHAR2,
54                      X_Last_Update_Date                     DATE,
55                      X_Last_Updated_By                      NUMBER,
56                      X_Last_Update_Login                    NUMBER,
57                      X_Created_By                           NUMBER,
58                      X_Creation_Date                        DATE ,
59 		     X_C_Purchasing_Ins			    VARCHAR2,
60 		     X_C_Inventory_Ins			    VARCHAR2,
61 		     X_Ship_To_Location                     VARCHAR2,
62 		     X_Global_Attribute_Category             VARCHAR2,
63 		     X_Global_Attribute1                     VARCHAR2,
64 		     X_Global_Attribute2                     VARCHAR2,
65 		     X_Global_Attribute3                     VARCHAR2,
66 		     X_Global_Attribute4                     VARCHAR2,
67 		     X_Global_Attribute5                     VARCHAR2,
68 		     X_Global_Attribute6                     VARCHAR2,
69 		     X_Global_Attribute7                     VARCHAR2,
70 		     X_Global_Attribute8                     VARCHAR2,
71 		     X_Global_Attribute9                     VARCHAR2,
72 		     X_Global_Attribute10                    VARCHAR2,
73 		     X_Global_Attribute11                    VARCHAR2,
74 		     X_Global_Attribute12                    VARCHAR2,
75 		     X_Global_Attribute13                    VARCHAR2,
76 		     X_Global_Attribute14                    VARCHAR2,
77 		     X_Global_Attribute15                    VARCHAR2,
78 		     X_Global_Attribute16                    VARCHAR2,
79 		     X_Global_Attribute17                    VARCHAR2,
80 		     X_Global_Attribute18                    VARCHAR2,
81 		     X_Global_Attribute19                    VARCHAR2,
82 		     X_Global_Attribute20                    VARCHAR2,
83                      X_Loc_Information17                     VARCHAR2,
84                      X_Loc_Information18	             VARCHAR2,
85                      X_Loc_Information19                     VARCHAR2,
86                      X_Loc_Information20                     VARCHAR2
87                      );
88 
89 PROCEDURE Lock_Row(X_Rowid                                  VARCHAR2,
90                    X_Location_Id                            NUMBER,
91                    X_Entered_By                             NUMBER,
92                    X_Location_Code                          VARCHAR2,
93                    X_Address_Line_1                         VARCHAR2,
94                    X_Address_Line_2                         VARCHAR2,
95                    X_Address_Line_3                         VARCHAR2,
96                    X_Bill_To_Site_Flag                      VARCHAR2,
97                    X_Country                                VARCHAR2,
98                    X_Description                            VARCHAR2,
99                    X_Designated_Receiver_Id                 NUMBER,
100                    X_In_Organization_Flag                   VARCHAR2,
101                    X_Inactive_Date                          DATE,
102                    X_Inventory_Organization_Id              NUMBER,
103                    X_Office_Site_Flag                       VARCHAR2,
104                    X_Postal_Code                            VARCHAR2,
105                    X_Receiving_Site_Flag                    VARCHAR2,
106                    X_Region_1                               VARCHAR2,
107                    X_Region_2                               VARCHAR2,
108                    X_Region_3                               VARCHAR2,
109                    X_Ship_To_Location_Id                    NUMBER,
110                    X_Ship_To_Site_Flag                      VARCHAR2,
111                    X_Style                                  VARCHAR2,
112                    X_Tax_Name                               VARCHAR2,
113 		   X_Ece_Tp_Location_Code                   VARCHAR2,
114                    X_Telephone_Number_1                     VARCHAR2,
115                    X_Telephone_Number_2                     VARCHAR2,
116                    X_Telephone_Number_3                     VARCHAR2,
117                    X_Town_Or_City                           VARCHAR2,
118                    X_Attribute_Category                     VARCHAR2,
119                    X_Attribute1                             VARCHAR2,
120                    X_Attribute2                             VARCHAR2,
121                    X_Attribute3                             VARCHAR2,
122                    X_Attribute4                             VARCHAR2,
123                    X_Attribute5                             VARCHAR2,
124                    X_Attribute6                             VARCHAR2,
125                    X_Attribute7                             VARCHAR2,
126                    X_Attribute8                             VARCHAR2,
127                    X_Attribute9                             VARCHAR2,
128                    X_Attribute10                            VARCHAR2,
129                    X_Attribute11                            VARCHAR2,
130                    X_Attribute12                            VARCHAR2,
131                    X_Attribute13                            VARCHAR2,
132                    X_Attribute14                            VARCHAR2,
133                    X_Attribute15                            VARCHAR2,
134                    X_Attribute16                            VARCHAR2,
135                    X_Attribute17                            VARCHAR2,
136                    X_Attribute18                            VARCHAR2,
137                    X_Attribute19                            VARCHAR2,
138                    X_Attribute20                            VARCHAR2,
139 		   X_Global_Attribute_Category               VARCHAR2,
140 		   X_Global_Attribute1                       VARCHAR2,
141 		   X_Global_Attribute2                       VARCHAR2,
142 		   X_Global_Attribute3                       VARCHAR2,
143 		   X_Global_Attribute4                       VARCHAR2,
144 		   X_Global_Attribute5                       VARCHAR2,
145 		   X_Global_Attribute6                       VARCHAR2,
146 		   X_Global_Attribute7                       VARCHAR2,
147 		   X_Global_Attribute8                       VARCHAR2,
148 		   X_Global_Attribute9                       VARCHAR2,
149 		   X_Global_Attribute10                      VARCHAR2,
150 		   X_Global_Attribute11                      VARCHAR2,
151 		   X_Global_Attribute12                      VARCHAR2,
152 		   X_Global_Attribute13                      VARCHAR2,
153 		   X_Global_Attribute14                      VARCHAR2,
154 		   X_Global_Attribute15                      VARCHAR2,
155 		   X_Global_Attribute16                      VARCHAR2,
156 		   X_Global_Attribute17                      VARCHAR2,
157 		   X_Global_Attribute18                      VARCHAR2,
158 		   X_Global_Attribute19                      VARCHAR2,
159 		   X_Global_Attribute20                      VARCHAR2,
160                    X_Loc_Information17                       VARCHAR2,
161                    X_Loc_Information18                       VARCHAR2,
162                    X_Loc_Information19                       VARCHAR2,
163                    X_Loc_Information20                       VARCHAR2
164                    );
165 
166 PROCEDURE Update_Row(X_Rowid                               VARCHAR2,
167                      X_Location_Id                         NUMBER,
168                      X_Entered_By                          NUMBER,
169                      X_Location_Code                       VARCHAR2,
170                      X_Address_Line_1                      VARCHAR2,
171                      X_Address_Line_2                      VARCHAR2,
172                      X_Address_Line_3                      VARCHAR2,
173                      X_Bill_To_Site_Flag                   VARCHAR2,
174                      X_Country                             VARCHAR2,
175                      X_Description                         VARCHAR2,
176                      X_Designated_Receiver_Id              NUMBER,
177                      X_In_Organization_Flag                VARCHAR2,
178                      X_Inactive_Date                       DATE,
179                      X_Inventory_Organization_Id           NUMBER,
180                      X_Office_Site_Flag                    VARCHAR2,
181                      X_Postal_Code                         VARCHAR2,
182                      X_Receiving_Site_Flag                 VARCHAR2,
183                      X_Region_1                            VARCHAR2,
184                      X_Region_2                            VARCHAR2,
185                      X_Region_3                            VARCHAR2,
186                      X_Ship_To_Location_Id            IN OUT NOCOPY NUMBER,
187                      X_Ship_To_Site_Flag                   VARCHAR2,
188                      X_Style                               VARCHAR2,
189                      X_Tax_Name                            VARCHAR2,
190 		     X_Ece_Tp_Location_Code                VARCHAR2,
191                      X_Telephone_Number_1                  VARCHAR2,
192                      X_Telephone_Number_2                  VARCHAR2,
193                      X_Telephone_Number_3                  VARCHAR2,
194                      X_Town_Or_City                        VARCHAR2,
195                      X_Attribute_Category                  VARCHAR2,
196                      X_Attribute1                          VARCHAR2,
197                      X_Attribute2                          VARCHAR2,
198                      X_Attribute3                          VARCHAR2,
199                      X_Attribute4                          VARCHAR2,
200                      X_Attribute5                          VARCHAR2,
201                      X_Attribute6                          VARCHAR2,
202                      X_Attribute7                          VARCHAR2,
203                      X_Attribute8                          VARCHAR2,
204                      X_Attribute9                          VARCHAR2,
205                      X_Attribute10                         VARCHAR2,
206                      X_Attribute11                         VARCHAR2,
207                      X_Attribute12                         VARCHAR2,
208                      X_Attribute13                         VARCHAR2,
209                      X_Attribute14                         VARCHAR2,
210                      X_Attribute15                         VARCHAR2,
211                      X_Attribute16                         VARCHAR2,
212                      X_Attribute17                         VARCHAR2,
213                      X_Attribute18                         VARCHAR2,
214                      X_Attribute19                         VARCHAR2,
215                      X_Attribute20                         VARCHAR2,
216                      X_Last_Update_Date                    DATE,
217                      X_Last_Updated_By                     NUMBER,
218                      X_Last_Update_Login                   NUMBER ,
219 		     X_C_Purchasing_Ins			    VARCHAR2,
220 		     X_C_Inventory_Ins			    VARCHAR2,
221 		     X_Ship_To_Location                     VARCHAR2,
222 		     X_Global_Attribute_Category             VARCHAR2,
223 		     X_Global_Attribute1                     VARCHAR2,
224 		     X_Global_Attribute2                     VARCHAR2,
225 		     X_Global_Attribute3                     VARCHAR2,
226 		     X_Global_Attribute4                     VARCHAR2,
227 		     X_Global_Attribute5                     VARCHAR2,
228 		     X_Global_Attribute6                     VARCHAR2,
229 		     X_Global_Attribute7                     VARCHAR2,
230 		     X_Global_Attribute8                     VARCHAR2,
231 		     X_Global_Attribute9                     VARCHAR2,
232 		     X_Global_Attribute10                    VARCHAR2,
233 		     X_Global_Attribute11                    VARCHAR2,
234 		     X_Global_Attribute12                    VARCHAR2,
235 		     X_Global_Attribute13                    VARCHAR2,
236 		     X_Global_Attribute14                    VARCHAR2,
237 		     X_Global_Attribute15                    VARCHAR2,
238 		     X_Global_Attribute16                    VARCHAR2,
239 		     X_Global_Attribute17                    VARCHAR2,
240 		     X_Global_Attribute18                    VARCHAR2,
241 		     X_Global_Attribute19                    VARCHAR2,
242 		     X_Global_Attribute20                    VARCHAR2,
243                      X_Loc_Information17                     VARCHAR2,
244                      X_Loc_Information18                     VARCHAR2,
245                      X_Loc_Information19                     VARCHAR2,
246                      X_Loc_Information20                     VARCHAR2
247                      );
248 
249 procedure get_start_data (
250 p_resp_appl_id      in 	number,
251 p_legislation_code  in  varchar2,
252 p_short_name        in out nocopy varchar2,
253 p_resp_name 	    in out nocopy varchar2,
254 p_country	    in out nocopy varchar2,
255 p_territory_code    in out nocopy varchar2);
256 --
257 procedure get_inv_org (
258 p_inventory_orgnization_id in number,
259 p_organization_name out nocopy varchar2);
260 --
261 procedure get_des_rec (
262 p_designated_receiver_id in number,
263 p_designated_receiver in out nocopy varchar2);
264 --
265 procedure set_ship_to_location(p_Purchasing_Ins in varchar2,
266                                p_Inventory_Ins in varchar2,
267                                p_Ship_To_Location in varchar2,
268                                p_Location_Id in number,
269 			       p_Ship_To_Location_Id in out nocopy number,
270                                p_location_code in varchar2  );
271 --
272 procedure validate_insert_location( p_location_code varchar2,
273 				    p_location_id  number,
277 END HR_LOCATIONS_PKG;
274 				    p_inventory_organization_id number);
275 --
276