DBA Data[Home] [Help]

APPS.CST_SUBELEMENTS_PVT dependencies on FND_MESSAGE

Line 118: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');

114: /* ***** Added by AD for error handling ***** */
115: IF (x_return_status <>'S') THEN
116: fnd_file.put_line(fnd_file.log,x_msg_data);
117: l_api_message := 'Compatible_API_Call returned Error';
118: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
119: FND_MESSAGE.set_token('TEXT', l_api_message);
120: fnd_msg_pub.add;
121: RAISE fnd_api.g_exc_error ;
122: END IF;

Line 119: FND_MESSAGE.set_token('TEXT', l_api_message);

115: IF (x_return_status <>'S') THEN
116: fnd_file.put_line(fnd_file.log,x_msg_data);
117: l_api_message := 'Compatible_API_Call returned Error';
118: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
119: FND_MESSAGE.set_token('TEXT', l_api_message);
120: fnd_msg_pub.add;
121: RAISE fnd_api.g_exc_error ;
122: END IF;
123:

Line 153: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');

149: /* ***** Added by AD for error handling ***** */
150: IF (x_return_status <>'S') THEN
151: fnd_file.put_line(fnd_file.log,x_msg_data);
152: l_api_message := 'createSubElements returned Error';
153: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
154: FND_MESSAGE.set_token('TEXT', l_api_message);
155: fnd_msg_pub.add;
156: RAISE fnd_api.g_exc_error ;
157: END IF;

Line 154: FND_MESSAGE.set_token('TEXT', l_api_message);

150: IF (x_return_status <>'S') THEN
151: fnd_file.put_line(fnd_file.log,x_msg_data);
152: l_api_message := 'createSubElements returned Error';
153: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
154: FND_MESSAGE.set_token('TEXT', l_api_message);
155: fnd_msg_pub.add;
156: RAISE fnd_api.g_exc_error ;
157: END IF;
158:

Line 191: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');

187: /* ***** Added by AD for error handling ***** */
188: IF (x_return_status <>'S') THEN
189: fnd_file.put_line(fnd_file.log,x_msg_data);
190: l_api_message := 'summarizeSubElements returned Error';
191: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
192: FND_MESSAGE.set_token('TEXT', l_api_message);
193: fnd_msg_pub.add;
194: RAISE fnd_api.g_exc_error ;
195: END IF;

Line 192: FND_MESSAGE.set_token('TEXT', l_api_message);

188: IF (x_return_status <>'S') THEN
189: fnd_file.put_line(fnd_file.log,x_msg_data);
190: l_api_message := 'summarizeSubElements returned Error';
191: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
192: FND_MESSAGE.set_token('TEXT', l_api_message);
193: fnd_msg_pub.add;
194: RAISE fnd_api.g_exc_error ;
195: END IF;
196:

Line 351: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');

347: p_group_id IS NULL) THEN
348:
349: FND_FILE.PUT_LINE(FND_FILE.LOG,'From Org, To Org or Cost Group Info is missing');
350: l_api_message := 'From Org, To Org or Cost Group Info is missing';
351: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
352: FND_MESSAGE.set_token('TEXT', l_api_message);
353: FND_MSG_PUB.ADD;
354:
355: RAISE fnd_api.g_exc_error;

Line 352: FND_MESSAGE.set_token('TEXT', l_api_message);

348:
349: FND_FILE.PUT_LINE(FND_FILE.LOG,'From Org, To Org or Cost Group Info is missing');
350: l_api_message := 'From Org, To Org or Cost Group Info is missing';
351: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
352: FND_MESSAGE.set_token('TEXT', l_api_message);
353: FND_MSG_PUB.ADD;
354:
355: RAISE fnd_api.g_exc_error;
356: END IF;

Line 375: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');

371: l_statement := 20;
372: if (l_exists > 1) then
373: FND_FILE.PUT_LINE(FND_FILE.LOG,'Too many resource with the same code');
374: l_api_message := 'Too many resource with the same code';
375: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
376: FND_MESSAGE.set_token('TEXT', l_api_message);
377: FND_MSG_PUB.ADD;
378:
379: RAISE fnd_api.g_exc_error;

Line 376: FND_MESSAGE.set_token('TEXT', l_api_message);

372: if (l_exists > 1) then
373: FND_FILE.PUT_LINE(FND_FILE.LOG,'Too many resource with the same code');
374: l_api_message := 'Too many resource with the same code';
375: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
376: FND_MESSAGE.set_token('TEXT', l_api_message);
377: FND_MSG_PUB.ADD;
378:
379: RAISE fnd_api.g_exc_error;
380: elsif (l_exists = 0) then

Line 418: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');

414: l_statement := 70;
415: if (l_exists > 1) then
416: FND_FILE.PUT_LINE(FND_FILE.LOG,'Too many Dept with the same code');
417: l_api_message := 'Too many Dept with the same code';
418: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
419: FND_MESSAGE.set_token('TEXT', l_api_message);
420: FND_MSG_PUB.ADD;
421:
422: RAISE fnd_api.g_exc_error;

Line 419: FND_MESSAGE.set_token('TEXT', l_api_message);

415: if (l_exists > 1) then
416: FND_FILE.PUT_LINE(FND_FILE.LOG,'Too many Dept with the same code');
417: l_api_message := 'Too many Dept with the same code';
418: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
419: FND_MESSAGE.set_token('TEXT', l_api_message);
420: FND_MSG_PUB.ADD;
421:
422: RAISE fnd_api.g_exc_error;
423: elsif (l_exists = 0) then

Line 459: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');

455: l_statement := 120;
456: if (l_exists > 1) then
457: FND_FILE.PUT_LINE(FND_FILE.LOG,'Too many Activities with the same code');
458: l_api_message := 'Too many Activities with the same code';
459: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
460: FND_MESSAGE.set_token('TEXT', l_api_message);
461: FND_MSG_PUB.ADD;
462:
463:

Line 460: FND_MESSAGE.set_token('TEXT', l_api_message);

456: if (l_exists > 1) then
457: FND_FILE.PUT_LINE(FND_FILE.LOG,'Too many Activities with the same code');
458: l_api_message := 'Too many Activities with the same code';
459: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
460: FND_MESSAGE.set_token('TEXT', l_api_message);
461: FND_MSG_PUB.ADD;
462:
463:
464: RAISE fnd_api.g_exc_error;

Line 855: fnd_message.set_name('BOM', 'CST_DEPT_ACCOUNTS_NULL');

851:
852: FND_FILE.PUT_LINE(FND_FILE.LOG, '< 853:
854: IF (x_return_status = fnd_api.g_ret_sts_error) THEN
855: fnd_message.set_name('BOM', 'CST_DEPT_ACCOUNTS_NULL');
856: fnd_message.set_token('DEPT_CODE',p_department_tbl( l_counter).CODE,TRUE);
857: fnd_msg_pub.add;
858: RAISE fnd_api.g_exc_error ;
859: END IF;

Line 856: fnd_message.set_token('DEPT_CODE',p_department_tbl( l_counter).CODE,TRUE);

852: FND_FILE.PUT_LINE(FND_FILE.LOG, '< 853:
854: IF (x_return_status = fnd_api.g_ret_sts_error) THEN
855: fnd_message.set_name('BOM', 'CST_DEPT_ACCOUNTS_NULL');
856: fnd_message.set_token('DEPT_CODE',p_department_tbl( l_counter).CODE,TRUE);
857: fnd_msg_pub.add;
858: RAISE fnd_api.g_exc_error ;
859: END IF;
860:

Line 862: fnd_message.set_name('BOM', 'CST_DEPT_ACCOUNTS_NULL');

858: RAISE fnd_api.g_exc_error ;
859: END IF;
860:
861: IF (x_return_status = fnd_api.g_ret_sts_unexp_error) THEN
862: fnd_message.set_name('BOM', 'CST_DEPT_ACCOUNTS_NULL');
863: fnd_message.set_token('DEPT_CODE',p_department_tbl( l_counter).CODE,TRUE);
864: fnd_msg_pub.add;
865: RAISE fnd_api.g_exc_unexpected_error ;
866: END IF;

Line 863: fnd_message.set_token('DEPT_CODE',p_department_tbl( l_counter).CODE,TRUE);

859: END IF;
860:
861: IF (x_return_status = fnd_api.g_ret_sts_unexp_error) THEN
862: fnd_message.set_name('BOM', 'CST_DEPT_ACCOUNTS_NULL');
863: fnd_message.set_token('DEPT_CODE',p_department_tbl( l_counter).CODE,TRUE);
864: fnd_msg_pub.add;
865: RAISE fnd_api.g_exc_unexpected_error ;
866: END IF;
867:

Line 1196: fnd_message.set_name('BOM', 'CST_PURCHASE_ITEM_ERROR');

1192:
1193: FND_FILE.PUT_LINE(FND_FILE.LOG,'< 1194:
1195: IF (x_return_status = fnd_api.g_ret_sts_error) THEN
1196: fnd_message.set_name('BOM', 'CST_PURCHASE_ITEM_ERROR');
1197: fnd_msg_pub.add;
1198: RAISE fnd_api.g_exc_error ;
1199: END IF;
1200:

Line 1202: fnd_message.set_name('BOM', 'CST_PURCHASE_ITEM_ERROR');

1198: RAISE fnd_api.g_exc_error ;
1199: END IF;
1200:
1201: IF (x_return_status = fnd_api.g_ret_sts_unexp_error) THEN
1202: fnd_message.set_name('BOM', 'CST_PURCHASE_ITEM_ERROR');
1203: fnd_msg_pub.add;
1204: RAISE fnd_api.g_exc_unexpected_error ;
1205: END IF;
1206:

Line 1217: fnd_message.set_name('BOM', 'CST_PURCHASE_ITEM_NULL');

1213: -- without the OSP item.
1214: -----------------------------------------------------------------------
1215:
1216: IF l_purchase_item_id IS NULL THEN
1217: fnd_message.set_name('BOM', 'CST_PURCHASE_ITEM_NULL');
1218: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1219: fnd_msg_pub.add;
1220:
1221: FND_FILE.PUT_LINE(FND_FILE.LOG,

Line 1218: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);

1214: -----------------------------------------------------------------------
1215:
1216: IF l_purchase_item_id IS NULL THEN
1217: fnd_message.set_name('BOM', 'CST_PURCHASE_ITEM_NULL');
1218: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1219: fnd_msg_pub.add;
1220:
1221: FND_FILE.PUT_LINE(FND_FILE.LOG,
1222: 'WARNING: OSP Item is missing for Res_id: '

Line 1269: fnd_message.set_name('BOM', 'CST_NO_DEFAULT_ACTIVITY');

1265:
1266: FND_FILE.PUT_LINE(FND_FILE.LOG,'< 1267:
1268: IF (x_return_status = fnd_api.g_ret_sts_error) THEN
1269: fnd_message.set_name('BOM', 'CST_NO_DEFAULT_ACTIVITY');
1270: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1271: fnd_msg_pub.add;
1272: RAISE fnd_api.g_exc_error ;
1273: END IF;

Line 1270: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);

1266: FND_FILE.PUT_LINE(FND_FILE.LOG,'< 1267:
1268: IF (x_return_status = fnd_api.g_ret_sts_error) THEN
1269: fnd_message.set_name('BOM', 'CST_NO_DEFAULT_ACTIVITY');
1270: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1271: fnd_msg_pub.add;
1272: RAISE fnd_api.g_exc_error ;
1273: END IF;
1274:

Line 1276: fnd_message.set_name('BOM', 'CST_NO_DEFAULT_ACTIVITY');

1272: RAISE fnd_api.g_exc_error ;
1273: END IF;
1274:
1275: IF (x_return_status = fnd_api.g_ret_sts_unexp_error) THEN
1276: fnd_message.set_name('BOM', 'CST_NO_DEFAULT_ACTIVITY');
1277: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1278: fnd_msg_pub.add;
1279: RAISE fnd_api.g_exc_unexpected_error ;
1280: END IF;

Line 1277: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);

1273: END IF;
1274:
1275: IF (x_return_status = fnd_api.g_ret_sts_unexp_error) THEN
1276: fnd_message.set_name('BOM', 'CST_NO_DEFAULT_ACTIVITY');
1277: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1278: fnd_msg_pub.add;
1279: RAISE fnd_api.g_exc_unexpected_error ;
1280: END IF;
1281: ELSE

Line 1316: fnd_message.set_name('BOM', 'CST_EXPENDITURE_TYPE_NULL');

1312:
1313: FND_FILE.PUT_LINE(FND_FILE.LOG,'< 1314:
1315: IF (x_return_status = fnd_api.g_ret_sts_error) THEN
1316: fnd_message.set_name('BOM', 'CST_EXPENDITURE_TYPE_NULL');
1317: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1318: fnd_msg_pub.add;
1319: RAISE fnd_api.g_exc_error ;
1320: END IF;

Line 1317: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);

1313: FND_FILE.PUT_LINE(FND_FILE.LOG,'< 1314:
1315: IF (x_return_status = fnd_api.g_ret_sts_error) THEN
1316: fnd_message.set_name('BOM', 'CST_EXPENDITURE_TYPE_NULL');
1317: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1318: fnd_msg_pub.add;
1319: RAISE fnd_api.g_exc_error ;
1320: END IF;
1321:

Line 1323: fnd_message.set_name('BOM', 'CST_EXPENDITURE_TYPE_NULL');

1319: RAISE fnd_api.g_exc_error ;
1320: END IF;
1321:
1322: IF (x_return_status = fnd_api.g_ret_sts_unexp_error) THEN
1323: fnd_message.set_name('BOM', 'CST_EXPENDITURE_TYPE_NULL');
1324: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1325: fnd_msg_pub.add;
1326: RAISE fnd_api.g_exc_unexpected_error ;
1327: END IF;

Line 1324: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);

1320: END IF;
1321:
1322: IF (x_return_status = fnd_api.g_ret_sts_unexp_error) THEN
1323: fnd_message.set_name('BOM', 'CST_EXPENDITURE_TYPE_NULL');
1324: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1325: fnd_msg_pub.add;
1326: RAISE fnd_api.g_exc_unexpected_error ;
1327: END IF;
1328:

Line 1364: fnd_message.set_name('BOM', 'CST_SUBELEMENT_ACCTS_NULL');

1360:
1361: FND_FILE.PUT_LINE(FND_FILE.LOG,'< 1362:
1363: IF (x_return_status = fnd_api.g_ret_sts_error) THEN
1364: fnd_message.set_name('BOM', 'CST_SUBELEMENT_ACCTS_NULL');
1365: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1366: fnd_msg_pub.add;
1367: RAISE fnd_api.g_exc_error ;
1368: END IF;

Line 1365: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);

1361: FND_FILE.PUT_LINE(FND_FILE.LOG,'< 1362:
1363: IF (x_return_status = fnd_api.g_ret_sts_error) THEN
1364: fnd_message.set_name('BOM', 'CST_SUBELEMENT_ACCTS_NULL');
1365: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1366: fnd_msg_pub.add;
1367: RAISE fnd_api.g_exc_error ;
1368: END IF;
1369:

Line 1371: fnd_message.set_name('BOM', 'CST_SUBELEMENT_ACCTS_NULL');

1367: RAISE fnd_api.g_exc_error ;
1368: END IF;
1369:
1370: IF (x_return_status = fnd_api.g_ret_sts_unexp_error) THEN
1371: fnd_message.set_name('BOM', 'CST_SUBELEMENT_ACCTS_NULL');
1372: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1373: fnd_msg_pub.add;
1374: RAISE fnd_api.g_exc_unexpected_error ;
1375: END IF;

Line 1372: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);

1368: END IF;
1369:
1370: IF (x_return_status = fnd_api.g_ret_sts_unexp_error) THEN
1371: fnd_message.set_name('BOM', 'CST_SUBELEMENT_ACCTS_NULL');
1372: fnd_message.set_token('RESOURCE_CODE',p_subelement_tbl( l_counter).CODE,TRUE);
1373: fnd_msg_pub.add;
1374: RAISE fnd_api.g_exc_unexpected_error ;
1375: END IF;
1376:

Line 2808: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');

2804:
2805:
2806: IF (l_miss_def_subelem > 0) THEN
2807: l_api_message := 'At Least One required Default Subelement is missing';
2808: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
2809: FND_MESSAGE.set_token('TEXT', l_api_message);
2810: fnd_msg_pub.add;
2811: RAISE fnd_api.g_exc_error ;
2812: END IF;

Line 2809: FND_MESSAGE.set_token('TEXT', l_api_message);

2805:
2806: IF (l_miss_def_subelem > 0) THEN
2807: l_api_message := 'At Least One required Default Subelement is missing';
2808: FND_MESSAGE.set_name('BOM', 'CST_API_MESSAGE');
2809: FND_MESSAGE.set_token('TEXT', l_api_message);
2810: fnd_msg_pub.add;
2811: RAISE fnd_api.g_exc_error ;
2812: END IF;
2813: