DBA Data[Home] [Help]

APPS.PAY_BTT_SHD dependencies on PAY_BALANCE_TYPES

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

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

49: ,balance_name
50: ,reporting_name
51: ,language
52: ,source_lang
53: from pay_balance_types_tl
54: where balance_type_id = p_balance_type_id
55: and language = p_language;
56: --
57: l_fct_ret boolean;

Line 120: from pay_balance_types_tl

116: ,balance_name
117: ,reporting_name
118: ,language
119: ,source_lang
120: from pay_balance_types_tl
121: where balance_type_id = p_balance_type_id
122: and language = p_language
123: for update nowait;
124: --

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

Line 183: delete from PAY_BALANCE_TYPES_TL T

179: -- ----------------------------------------------------------------------------
180: procedure ADD_LANGUAGE
181: is
182: begin
183: delete from PAY_BALANCE_TYPES_TL T
184: where not exists
185: (select NULL
186: from PAY_BALANCE_TYPES B
187: where B.BALANCE_TYPE_ID = T.BALANCE_TYPE_ID

Line 186: from PAY_BALANCE_TYPES B

182: begin
183: delete from PAY_BALANCE_TYPES_TL T
184: where not exists
185: (select NULL
186: from PAY_BALANCE_TYPES B
187: where B.BALANCE_TYPE_ID = T.BALANCE_TYPE_ID
188: );
189:
190: update PAY_BALANCE_TYPES_TL T set (

Line 190: update PAY_BALANCE_TYPES_TL T set (

186: from PAY_BALANCE_TYPES B
187: where B.BALANCE_TYPE_ID = T.BALANCE_TYPE_ID
188: );
189:
190: update PAY_BALANCE_TYPES_TL T set (
191: BALANCE_NAME,
192: REPORTING_NAME
193: ) = (select
194: B.BALANCE_NAME,

Line 196: from PAY_BALANCE_TYPES_TL B

192: REPORTING_NAME
193: ) = (select
194: B.BALANCE_NAME,
195: B.REPORTING_NAME
196: from PAY_BALANCE_TYPES_TL B
197: where B.BALANCE_TYPE_ID = T.BALANCE_TYPE_ID
198: and B.LANGUAGE = T.SOURCE_LANG)
199: where (
200: T.BALANCE_TYPE_ID,

Line 205: from PAY_BALANCE_TYPES_TL SUBB, PAY_BALANCE_TYPES_TL SUBT

201: T.LANGUAGE
202: ) in (select
203: SUBT.BALANCE_TYPE_ID,
204: SUBT.LANGUAGE
205: from PAY_BALANCE_TYPES_TL SUBB, PAY_BALANCE_TYPES_TL SUBT
206: where SUBB.BALANCE_TYPE_ID = SUBT.BALANCE_TYPE_ID
207: and SUBB.LANGUAGE = SUBT.SOURCE_LANG
208: and (SUBB.BALANCE_NAME <> SUBT.BALANCE_NAME
209: or SUBB.REPORTING_NAME <> SUBT.REPORTING_NAME

Line 214: insert into PAY_BALANCE_TYPES_TL (

210: or (SUBB.REPORTING_NAME is null and SUBT.REPORTING_NAME is not null)
211: or (SUBB.REPORTING_NAME is not null and SUBT.REPORTING_NAME is null)
212: ));
213:
214: insert into PAY_BALANCE_TYPES_TL (
215: BALANCE_TYPE_ID,
216: BALANCE_NAME,
217: REPORTING_NAME,
218: LAST_UPDATE_DATE,

Line 236: from PAY_BALANCE_TYPES_TL B, FND_LANGUAGES L

232: B.CREATED_BY,
233: B.CREATION_DATE,
234: L.LANGUAGE_CODE,
235: B.SOURCE_LANG
236: from PAY_BALANCE_TYPES_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 PAY_BALANCE_TYPES_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 PAY_BALANCE_TYPES_TL T
242: where T.BALANCE_TYPE_ID = B.BALANCE_TYPE_ID
243: and T.LANGUAGE = L.LANGUAGE_CODE);
244: end ADD_LANGUAGE;
245: