DBA Data[Home] [Help]

APPS.PAY_PTT_SHD dependencies on PAY_USER_TABLES_TL

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

17: l_proc varchar2(72) := g_package||'constraint_error';
18: --
19: Begin
20: --
21: If (p_constraint_name = 'PAY_USER_TABLES_TL_PRIMARY_KEY') 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 pay_user_tables_tl

49: ,language
50: ,source_lang
51: ,user_table_name
52: ,user_row_title
53: from pay_user_tables_tl
54: where user_table_id = p_user_table_id
55: and language = p_language;
56: --
57: l_fct_ret boolean;

Line 120: from pay_user_tables_tl

116: ,language
117: ,source_lang
118: ,user_table_name
119: ,user_row_title
120: from pay_user_tables_tl
121: where user_table_id = p_user_table_id
122: and language = p_language
123: for update nowait;
124: --

Line 166: fnd_message.set_token('TABLE_NAME', 'pay_user_tables_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', 'pay_user_tables_tl');
167: fnd_message.raise_error;
168: End lck;
169: --
170: -- ----------------------------------------------------------------------------

Line 175: delete from PAY_USER_TABLES_TL T

171: -- |----------------------------< add_language >------------------------------|
172: -- ----------------------------------------------------------------------------
173: PROCEDURE add_language IS
174: Begin
175: delete from PAY_USER_TABLES_TL T
176: where not exists
177: (select NULL
178: from PAY_USER_TABLES B
179: where B.USER_TABLE_ID = T.USER_TABLE_ID

Line 182: update PAY_USER_TABLES_TL T set (

178: from PAY_USER_TABLES B
179: where B.USER_TABLE_ID = T.USER_TABLE_ID
180: );
181:
182: update PAY_USER_TABLES_TL T set (
183: USER_TABLE_NAME,
184: USER_ROW_TITLE
185: ) = (select
186: B.USER_TABLE_NAME,

Line 188: from PAY_USER_TABLES_TL B

184: USER_ROW_TITLE
185: ) = (select
186: B.USER_TABLE_NAME,
187: B.USER_ROW_TITLE
188: from PAY_USER_TABLES_TL B
189: where B.USER_TABLE_ID = T.USER_TABLE_ID
190: and B.LANGUAGE = T.SOURCE_LANG)
191: where (
192: T.USER_TABLE_ID,

Line 197: from PAY_USER_TABLES_TL SUBB, PAY_USER_TABLES_TL SUBT

193: T.LANGUAGE
194: ) in (select
195: SUBT.USER_TABLE_ID,
196: SUBT.LANGUAGE
197: from PAY_USER_TABLES_TL SUBB, PAY_USER_TABLES_TL SUBT
198: where SUBB.USER_TABLE_ID = SUBT.USER_TABLE_ID
199: and SUBB.LANGUAGE = SUBT.SOURCE_LANG
200: and (SUBB.USER_TABLE_NAME <> SUBT.USER_TABLE_NAME
201: or SUBB.USER_ROW_TITLE <> SUBT.USER_ROW_TITLE

Line 206: insert into PAY_USER_TABLES_TL (

202: or (SUBB.USER_ROW_TITLE is null and SUBT.USER_ROW_TITLE is not null)
203: or (SUBB.USER_ROW_TITLE is not null and SUBT.USER_ROW_TITLE is null)
204: ));
205:
206: insert into PAY_USER_TABLES_TL (
207: USER_TABLE_ID,
208: USER_TABLE_NAME,
209: USER_ROW_TITLE,
210: LAST_UPDATE_DATE,

Line 228: from PAY_USER_TABLES_TL B, FND_LANGUAGES L

224: B.CREATED_BY,
225: B.CREATION_DATE,
226: L.LANGUAGE_CODE,
227: B.SOURCE_LANG
228: from PAY_USER_TABLES_TL B, FND_LANGUAGES L
229: where L.INSTALLED_FLAG in ('I', 'B')
230: and B.LANGUAGE = userenv('LANG')
231: and not exists
232: (select NULL

Line 233: from PAY_USER_TABLES_TL T

229: where L.INSTALLED_FLAG in ('I', 'B')
230: and B.LANGUAGE = userenv('LANG')
231: and not exists
232: (select NULL
233: from PAY_USER_TABLES_TL T
234: where T.USER_TABLE_ID = B.USER_TABLE_ID
235: and T.LANGUAGE = L.LANGUAGE_CODE);
236: End add_language;
237: --