DBA Data[Home] [Help]

APPS.HR_HTL_SHD dependencies on HR_KI_HIERARCHIES

Line 21: If (p_constraint_name = 'HR_KI_HIERARCHIES_TL_PK') Then

17: l_proc varchar2(72) := g_package||'constraint_error';
18: --
19: Begin
20: --
21: If (p_constraint_name = 'HR_KI_HIERARCHIES_TL_PK') Then
22: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
23: fnd_message.set_token('PROCEDURE', l_proc);
24: fnd_message.set_token('STEP','5');
25: fnd_message.raise_error;

Line 53: from hr_ki_hierarchies_tl

49: ,name
50: ,description
51: ,language
52: ,source_lang
53: from hr_ki_hierarchies_tl
54: where
55: hierarchy_id = p_hierarchy_id and language = p_language;
56: --
57: l_fct_ret boolean;

Line 120: from hr_ki_hierarchies_tl

116: ,name
117: ,description
118: ,language
119: ,source_lang
120: from hr_ki_hierarchies_tl
121: where
122: hierarchy_id = p_hierarchy_id and language = p_language
123: for update nowait;
124: --

Line 166: fnd_message.set_token('TABLE_NAME', 'hr_ki_hierarchies_tl');

162: -- The object is locked therefore we need to supply a meaningful
163: -- error message.
164: --
165: fnd_message.set_name('PAY', 'HR_7165_OBJECT_LOCKED');
166: fnd_message.set_token('TABLE_NAME', 'hr_ki_hierarchies_tl');
167: fnd_message.raise_error;
168: End lck;
169: --
170: -- ----------------------------------------------------------------------------

Line 183: delete from HR_KI_HIERARCHIES_TL T

179: -- ----------------------------------------------------------------------------
180: PROCEDURE add_language IS
181: Begin
182: --
183: delete from HR_KI_HIERARCHIES_TL T
184: where not exists
185: (select NULL
186: from HR_KI_HIERARCHIES B
187: where B.HIERARCHY_ID = T.HIERARCHY_ID

Line 186: from HR_KI_HIERARCHIES B

182: --
183: delete from HR_KI_HIERARCHIES_TL T
184: where not exists
185: (select NULL
186: from HR_KI_HIERARCHIES B
187: where B.HIERARCHY_ID = T.HIERARCHY_ID
188: );
189:
190: update HR_KI_HIERARCHIES_TL T set (

Line 190: update HR_KI_HIERARCHIES_TL T set (

186: from HR_KI_HIERARCHIES B
187: where B.HIERARCHY_ID = T.HIERARCHY_ID
188: );
189:
190: update HR_KI_HIERARCHIES_TL T set (
191: NAME,
192: DESCRIPTION
193: ) = (select
194: B.NAME,

Line 196: from HR_KI_HIERARCHIES_TL B

192: DESCRIPTION
193: ) = (select
194: B.NAME,
195: B.DESCRIPTION
196: from HR_KI_HIERARCHIES_TL B
197: where B.HIERARCHY_ID = T.HIERARCHY_ID
198: and B.LANGUAGE = T.SOURCE_LANG)
199: where (
200: T.HIERARCHY_ID,

Line 205: from HR_KI_HIERARCHIES_TL SUBB, HR_KI_HIERARCHIES_TL SUBT

201: T.LANGUAGE
202: ) in (select
203: SUBT.HIERARCHY_ID,
204: SUBT.LANGUAGE
205: from HR_KI_HIERARCHIES_TL SUBB, HR_KI_HIERARCHIES_TL SUBT
206: where SUBB.HIERARCHY_ID = SUBT.HIERARCHY_ID
207: and SUBB.LANGUAGE = SUBT.SOURCE_LANG
208: and (SUBB.NAME <> SUBT.NAME
209: or SUBB.DESCRIPTION <> SUBT.DESCRIPTION

Line 214: insert into HR_KI_HIERARCHIES_TL (

210: or (SUBB.DESCRIPTION is null and SUBT.DESCRIPTION is not null)
211: or (SUBB.DESCRIPTION is not null and SUBT.DESCRIPTION is null)
212: ));
213:
214: insert into HR_KI_HIERARCHIES_TL (
215: HIERARCHY_ID,
216: NAME,
217: LAST_UPDATED_BY,
218: LAST_UPDATE_LOGIN,

Line 236: from HR_KI_HIERARCHIES_TL B, FND_LANGUAGES L

232: B.LAST_UPDATE_DATE,
233: B.DESCRIPTION,
234: L.LANGUAGE_CODE,
235: B.SOURCE_LANG
236: from HR_KI_HIERARCHIES_TL B, FND_LANGUAGES L
237: where L.INSTALLED_FLAG in ('I', 'B')
238: and B.LANGUAGE = userenv('LANG')
239: and not exists
240: (select NULL

Line 241: from HR_KI_HIERARCHIES_TL T

237: where L.INSTALLED_FLAG in ('I', 'B')
238: and B.LANGUAGE = userenv('LANG')
239: and not exists
240: (select NULL
241: from HR_KI_HIERARCHIES_TL T
242: where T.HIERARCHY_ID = B.HIERARCHY_ID
243: and T.LANGUAGE = L.LANGUAGE_CODE);
244:
245: --