DBA Data[Home] [Help]

APPS.GMA_CM_TEXT_TBL_PKG dependencies on CM_TEXT_TBL_TL

Line 17: cursor C is select ROWID from CM_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 CM_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 CM_TEXT_TBL_TL (

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

Line 58: from CM_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 CM_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 CM_TEXT_TBL_TL

83: ) is
84: cursor c1 is select
85: TEXT,
86: decode(LANGUAGE, userenv('LANG'), 'Y', 'N') BASELANG
87: from CM_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 CM_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 CM_TEXT_TBL_TL
129: where ROWID=X_ROW_ID;
130:
131: update CM_TEXT_TBL_TL set
132: TEXT = X_TEXT,

Line 131: update CM_TEXT_TBL_TL set

127: select LINE_NO INTO L_LINE_NO
128: from CM_TEXT_TBL_TL
129: where ROWID=X_ROW_ID;
130:
131: update CM_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 160: delete from CM_TEXT_TBL_TL

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

Line 180: update CM_TEXT_TBL_TL T set (

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

Line 184: from CM_TEXT_TBL_TL B

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

Line 205: from CM_TEXT_TBL_TL SUBB, CM_TEXT_TBL_TL SUBT

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

Line 217: insert into CM_TEXT_TBL_TL (

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

Line 245: from CM_TEXT_TBL_TL B, FND_LANGUAGES L

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

Line 250: from CM_TEXT_TBL_TL T

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

Line 270: update CM_TEXT_TBL_TL set

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

Line 302: FROM CM_TEXT_TBL_TL

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