DBA Data[Home] [Help]

APPS.GMA_CR_TEXT_TBL_PKG dependencies on CR_TEXT_TBL_TL

Line 17: cursor C is select ROWID from CR_TEXT_TBL_TL

13: X_LAST_UPDATE_DATE in DATE,
14: X_LAST_UPDATED_BY in NUMBER,
15: X_LAST_UPDATE_LOGIN in NUMBER
16: ) is
17: cursor C is select ROWID from CR_TEXT_TBL_TL
18: where TEXT_CODE = X_TEXT_CODE
19: and LANG_CODE = X_LANG_CODE
20: and PARAGRAPH_CODE = X_PARAGRAPH_CODE
21: and SUB_PARACODE = X_SUB_PARACODE

Line 26: insert into CR_TEXT_TBL_TL (

22: and LINE_NO = X_LINE_NO
23: and LANGUAGE = userenv('LANG')
24: ;
25: begin
26: insert into CR_TEXT_TBL_TL (
27: TEXT_CODE,
28: LANG_CODE,
29: PARAGRAPH_CODE,
30: SUB_PARACODE,

Line 58: from CR_TEXT_TBL_TL T

54: from FND_LANGUAGES L
55: where L.INSTALLED_FLAG in ('I', 'B')
56: and not exists
57: (select NULL
58: from CR_TEXT_TBL_TL T
59: where T.TEXT_CODE = X_TEXT_CODE
60: and T.LANG_CODE = X_LANG_CODE
61: and T.PARAGRAPH_CODE = X_PARAGRAPH_CODE
62: and T.SUB_PARACODE = X_SUB_PARACODE

Line 87: from CR_TEXT_TBL_TL

83: ) is
84: cursor c1 is select
85: TEXT,
86: decode(LANGUAGE, userenv('LANG'), 'Y', 'N') BASELANG
87: from CR_TEXT_TBL_TL
88: where TEXT_CODE = X_TEXT_CODE
89: and LANG_CODE = X_LANG_CODE
90: and PARAGRAPH_CODE = X_PARAGRAPH_CODE
91: and SUB_PARACODE = X_SUB_PARACODE

Line 128: from CR_TEXT_TBL_TL

124: begin
125:
126: -- added this select to retrieve the old line number with ROWID
127: select LINE_NO INTO L_LINE_NO
128: from CR_TEXT_TBL_TL
129: where ROWID=X_ROW_ID;
130:
131: update CR_TEXT_TBL_TL set
132: TEXT = X_TEXT,

Line 131: update CR_TEXT_TBL_TL set

127: select LINE_NO INTO L_LINE_NO
128: from CR_TEXT_TBL_TL
129: where ROWID=X_ROW_ID;
130:
131: update CR_TEXT_TBL_TL set
132: TEXT = X_TEXT,
133: LAST_UPDATE_DATE = X_LAST_UPDATE_DATE,
134: LAST_UPDATED_BY = X_LAST_UPDATED_BY,
135: LAST_UPDATE_LOGIN = X_LAST_UPDATE_LOGIN,

Line 161: delete from CR_TEXT_TBL_TL

157: X_LINE_NO in NUMBER,
158: X_ROW_ID in VARCHAR2
159: ) is
160: begin
161: delete from CR_TEXT_TBL_TL
162: where TEXT_CODE = X_TEXT_CODE
163: and LANG_CODE = X_LANG_CODE
164: and PARAGRAPH_CODE = X_PARAGRAPH_CODE
165: and SUB_PARACODE = X_SUB_PARACODE

Line 181: update CR_TEXT_TBL_TL T set (

177:
178: procedure ADD_LANGUAGE
179: is
180: begin
181: update CR_TEXT_TBL_TL T set (
182: TEXT
183: ) = (select
184: B.TEXT
185: from CR_TEXT_TBL_TL B

Line 185: from CR_TEXT_TBL_TL B

181: update CR_TEXT_TBL_TL T set (
182: TEXT
183: ) = (select
184: B.TEXT
185: from CR_TEXT_TBL_TL B
186: where B.TEXT_CODE = T.TEXT_CODE
187: and B.LANG_CODE = T.LANG_CODE
188: and B.PARAGRAPH_CODE = T.PARAGRAPH_CODE
189: and B.SUB_PARACODE = T.SUB_PARACODE

Line 206: from CR_TEXT_TBL_TL SUBB, CR_TEXT_TBL_TL SUBT

202: SUBT.PARAGRAPH_CODE,
203: SUBT.SUB_PARACODE,
204: SUBT.LINE_NO,
205: SUBT.LANGUAGE
206: from CR_TEXT_TBL_TL SUBB, CR_TEXT_TBL_TL SUBT
207: where SUBB.TEXT_CODE = SUBT.TEXT_CODE
208: and SUBB.LANG_CODE = SUBT.LANG_CODE
209: and SUBB.PARAGRAPH_CODE = SUBT.PARAGRAPH_CODE
210: and SUBB.SUB_PARACODE = SUBT.SUB_PARACODE

Line 218: insert into CR_TEXT_TBL_TL (

214: or (SUBB.TEXT is null and SUBT.TEXT is not null)
215: or (SUBB.TEXT is not null and SUBT.TEXT is null)
216: ));
217:
218: insert into CR_TEXT_TBL_TL (
219: TEXT_CODE,
220: LANG_CODE,
221: PARAGRAPH_CODE,
222: SUB_PARACODE,

Line 246: from CR_TEXT_TBL_TL B, FND_LANGUAGES L

242: B.CREATION_DATE,
243: B.LAST_UPDATE_LOGIN,
244: L.LANGUAGE_CODE,
245: B.SOURCE_LANG
246: from CR_TEXT_TBL_TL B, FND_LANGUAGES L
247: where L.INSTALLED_FLAG in ('I', 'B')
248: and B.LANGUAGE = userenv('LANG')
249: and not exists
250: (select NULL

Line 251: from CR_TEXT_TBL_TL T

247: where L.INSTALLED_FLAG in ('I', 'B')
248: and B.LANGUAGE = userenv('LANG')
249: and not exists
250: (select NULL
251: from CR_TEXT_TBL_TL T
252: where T.TEXT_CODE = B.TEXT_CODE
253: and T.LANG_CODE = B.LANG_CODE
254: and T.PARAGRAPH_CODE = B.PARAGRAPH_CODE
255: and T.SUB_PARACODE = B.SUB_PARACODE

Line 271: update CR_TEXT_TBL_TL set

267: X_TEXT in VARCHAR2,
268: X_OWNER in VARCHAR2
269: ) IS
270: BEGIN
271: update CR_TEXT_TBL_TL set
272: TEXT = X_TEXT,
273: SOURCE_LANG = userenv('LANG'),
274: LAST_UPDATE_DATE = sysdate,
275: LAST_UPDATED_BY = decode(X_OWNER,'SEED',1,0),

Line 303: FROM CR_TEXT_TBL_TL

299: l_user_id :=1;
300: END IF;
301:
302: SELECT text_code, rowid into l_text_code, l_row_id
303: FROM CR_TEXT_TBL_TL
304: WHERE TEXT_CODE = X_TEXT_CODE
305: and LANG_CODE = X_LANG_CODE
306: and PARAGRAPH_CODE = X_PARAGRAPH_CODE
307: and SUB_PARACODE = X_SUB_PARACODE