372: if (lc_stat_level >= lc_debug_level) then
373: FND_LOG.STRING(lc_stat_level, lc_mod_name,
374: 'Adding message CSD_SCW_ENTITY_EXISTS to FND_MSG stack');
375: end if;
376: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_ENTITY_EXISTS');
377: FND_MESSAGE.SET_TOKEN('SERVICE_CODE_ID',p_sc_work_entity_rec.service_code_id);
378: FND_MSG_PUB.Add;
379:
380: FND_MSG_PUB.Count_And_Get
373: FND_LOG.STRING(lc_stat_level, lc_mod_name,
374: 'Adding message CSD_SCW_ENTITY_EXISTS to FND_MSG stack');
375: end if;
376: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_ENTITY_EXISTS');
377: FND_MESSAGE.SET_TOKEN('SERVICE_CODE_ID',p_sc_work_entity_rec.service_code_id);
378: FND_MSG_PUB.Add;
379:
380: FND_MSG_PUB.Count_And_Get
381: (p_count => x_msg_count,
397: if (lc_stat_level >= lc_debug_level) then
398: FND_LOG.STRING(lc_stat_level, lc_mod_name,
399: 'Adding message CSD_SCW_INVALID_ORGANIZATION to FND_MSG stack');
400: end if;
401: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_ORGANIZATION');
402: FND_MESSAGE.SET_TOKEN('ORGANIZATION_ID',p_sc_work_entity_rec.work_entity_id3);
403: FND_MSG_PUB.Add;
404:
405: FND_MSG_PUB.Count_And_Get
398: FND_LOG.STRING(lc_stat_level, lc_mod_name,
399: 'Adding message CSD_SCW_INVALID_ORGANIZATION to FND_MSG stack');
400: end if;
401: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_ORGANIZATION');
402: FND_MESSAGE.SET_TOKEN('ORGANIZATION_ID',p_sc_work_entity_rec.work_entity_id3);
403: FND_MSG_PUB.Add;
404:
405: FND_MSG_PUB.Count_And_Get
406: (p_count => x_msg_count,
422: if (lc_stat_level >= lc_debug_level) then
423: FND_LOG.STRING(lc_stat_level, lc_mod_name,
424: 'Adding message CSD_SCW_INVALID_BILL_SEQUENCE to FND_MSG stack');
425: end if;
426: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_BILL_SEQUENCE');
427: FND_MESSAGE.SET_TOKEN('BILL_SEQUENCE_ID',p_sc_work_entity_rec.work_entity_id1);
428: FND_MSG_PUB.Add;
429:
430: FND_MSG_PUB.Count_And_Get
423: FND_LOG.STRING(lc_stat_level, lc_mod_name,
424: 'Adding message CSD_SCW_INVALID_BILL_SEQUENCE to FND_MSG stack');
425: end if;
426: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_BILL_SEQUENCE');
427: FND_MESSAGE.SET_TOKEN('BILL_SEQUENCE_ID',p_sc_work_entity_rec.work_entity_id1);
428: FND_MSG_PUB.Add;
429:
430: FND_MSG_PUB.Count_And_Get
431: (p_count => x_msg_count,
447: if (lc_stat_level >= lc_debug_level) then
448: FND_LOG.STRING(lc_stat_level, lc_mod_name,
449: 'Adding message CSD_SCW_INVALID_ROUTE_SEQUENCE to FND_MSG stack');
450: end if;
451: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_ROUTE_SEQUENCE');
452: FND_MESSAGE.SET_TOKEN('ROUTING_SEQUENCE_ID',p_sc_work_entity_rec.work_entity_id2);
453: FND_MSG_PUB.Add;
454:
455: FND_MSG_PUB.Count_And_Get
448: FND_LOG.STRING(lc_stat_level, lc_mod_name,
449: 'Adding message CSD_SCW_INVALID_ROUTE_SEQUENCE to FND_MSG stack');
450: end if;
451: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_ROUTE_SEQUENCE');
452: FND_MESSAGE.SET_TOKEN('ROUTING_SEQUENCE_ID',p_sc_work_entity_rec.work_entity_id2);
453: FND_MSG_PUB.Add;
454:
455: FND_MSG_PUB.Count_And_Get
456: (p_count => x_msg_count,
472: if (lc_stat_level >= lc_debug_level) then
473: FND_LOG.STRING(lc_stat_level, lc_mod_name,
474: 'Adding message CSD_SCW_INVALID_TASK_TEMP_GRP to FND_MSG stack');
475: end if;
476: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_TASK_TEMP_GRP');
477: FND_MESSAGE.SET_TOKEN('TASK_TEMP_GROUP_ID',p_sc_work_entity_rec.work_entity_id1);
478: FND_MSG_PUB.Add;
479:
480: FND_MSG_PUB.Count_And_Get
473: FND_LOG.STRING(lc_stat_level, lc_mod_name,
474: 'Adding message CSD_SCW_INVALID_TASK_TEMP_GRP to FND_MSG stack');
475: end if;
476: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_TASK_TEMP_GRP');
477: FND_MESSAGE.SET_TOKEN('TASK_TEMP_GROUP_ID',p_sc_work_entity_rec.work_entity_id1);
478: FND_MSG_PUB.Add;
479:
480: FND_MSG_PUB.Count_And_Get
481: (p_count => x_msg_count,
1025: if (lc_stat_level >= lc_debug_level) then
1026: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1027: 'Adding message CSD_SCW_SC_ID_MISSING to FND_MSG stack');
1028: end if;
1029: FND_MESSAGE.SET_NAME('CSD','CSD_API_MISSING_PARAM');
1030: FND_MESSAGE.SET_TOKEN('API_NAME',lc_api_name);
1031: FND_MESSAGE.SET_TOKEN('MISSING_PARAM','SERVICE_CODE_ID');
1032: FND_MSG_PUB.Add;
1033:
1026: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1027: 'Adding message CSD_SCW_SC_ID_MISSING to FND_MSG stack');
1028: end if;
1029: FND_MESSAGE.SET_NAME('CSD','CSD_API_MISSING_PARAM');
1030: FND_MESSAGE.SET_TOKEN('API_NAME',lc_api_name);
1031: FND_MESSAGE.SET_TOKEN('MISSING_PARAM','SERVICE_CODE_ID');
1032: FND_MSG_PUB.Add;
1033:
1034: FND_MSG_PUB.Count_And_Get
1027: 'Adding message CSD_SCW_SC_ID_MISSING to FND_MSG stack');
1028: end if;
1029: FND_MESSAGE.SET_NAME('CSD','CSD_API_MISSING_PARAM');
1030: FND_MESSAGE.SET_TOKEN('API_NAME',lc_api_name);
1031: FND_MESSAGE.SET_TOKEN('MISSING_PARAM','SERVICE_CODE_ID');
1032: FND_MSG_PUB.Add;
1033:
1034: FND_MSG_PUB.Count_And_Get
1035: (p_count => x_msg_count,
1051: if (lc_stat_level >= lc_debug_level) then
1052: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1053: 'Adding message CSD_SCW_ENTITY_TYPE_MISSING to FND_MSG stack');
1054: end if;
1055: FND_MESSAGE.SET_NAME('CSD','CSD_API_MISSING_PARAM');
1056: FND_MESSAGE.SET_TOKEN('API_NAME',lc_api_name);
1057: FND_MESSAGE.SET_TOKEN('MISSING_PARAM','WORK_ENTITY_TYPE_CODE');
1058: FND_MSG_PUB.Add;
1059:
1052: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1053: 'Adding message CSD_SCW_ENTITY_TYPE_MISSING to FND_MSG stack');
1054: end if;
1055: FND_MESSAGE.SET_NAME('CSD','CSD_API_MISSING_PARAM');
1056: FND_MESSAGE.SET_TOKEN('API_NAME',lc_api_name);
1057: FND_MESSAGE.SET_TOKEN('MISSING_PARAM','WORK_ENTITY_TYPE_CODE');
1058: FND_MSG_PUB.Add;
1059:
1060: FND_MSG_PUB.Count_And_Get
1053: 'Adding message CSD_SCW_ENTITY_TYPE_MISSING to FND_MSG stack');
1054: end if;
1055: FND_MESSAGE.SET_NAME('CSD','CSD_API_MISSING_PARAM');
1056: FND_MESSAGE.SET_TOKEN('API_NAME',lc_api_name);
1057: FND_MESSAGE.SET_TOKEN('MISSING_PARAM','WORK_ENTITY_TYPE_CODE');
1058: FND_MSG_PUB.Add;
1059:
1060: FND_MSG_PUB.Count_And_Get
1061: (p_count => x_msg_count,
1077: if (lc_stat_level >= lc_debug_level) then
1078: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1079: 'Adding message CSD_SCW_INVALID_ID to FND_MSG stack');
1080: end if;
1081: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_ID');
1082: FND_MESSAGE.SET_TOKEN('SC_WORK_ENTITY_ID',p_sc_work_entity_rec.sc_work_entity_id);
1083: FND_MSG_PUB.Add;
1084:
1085: FND_MSG_PUB.Count_And_Get
1078: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1079: 'Adding message CSD_SCW_INVALID_ID to FND_MSG stack');
1080: end if;
1081: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_ID');
1082: FND_MESSAGE.SET_TOKEN('SC_WORK_ENTITY_ID',p_sc_work_entity_rec.sc_work_entity_id);
1083: FND_MSG_PUB.Add;
1084:
1085: FND_MSG_PUB.Count_And_Get
1086: (p_count => x_msg_count,
1102: if (lc_stat_level >= lc_debug_level) then
1103: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1104: 'Adding message CSD_SCW_GET_OVN_ERROR to FND_MSG stack');
1105: end if;
1106: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_GET_OVN_ERROR');
1107: FND_MESSAGE.SET_TOKEN('SC_WORK_ENTITY_ID',p_sc_work_entity_rec.sc_work_entity_id);
1108: FND_MSG_PUB.Add;
1109:
1110: FND_MSG_PUB.Count_And_Get
1103: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1104: 'Adding message CSD_SCW_GET_OVN_ERROR to FND_MSG stack');
1105: end if;
1106: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_GET_OVN_ERROR');
1107: FND_MESSAGE.SET_TOKEN('SC_WORK_ENTITY_ID',p_sc_work_entity_rec.sc_work_entity_id);
1108: FND_MSG_PUB.Add;
1109:
1110: FND_MSG_PUB.Count_And_Get
1111: (p_count => x_msg_count,
1127: if (lc_stat_level >= lc_debug_level) then
1128: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1129: 'Adding message CSD_SCW_OVN_MISMATCH to FND_MSG stack');
1130: end if;
1131: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_OVN_MISMATCH');
1132: FND_MESSAGE.SET_TOKEN('SC_WORK_ENTITY_ID',p_sc_work_entity_rec.sc_work_entity_id);
1133: FND_MSG_PUB.Add;
1134:
1135: FND_MSG_PUB.Count_And_Get
1128: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1129: 'Adding message CSD_SCW_OVN_MISMATCH to FND_MSG stack');
1130: end if;
1131: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_OVN_MISMATCH');
1132: FND_MESSAGE.SET_TOKEN('SC_WORK_ENTITY_ID',p_sc_work_entity_rec.sc_work_entity_id);
1133: FND_MSG_PUB.Add;
1134:
1135: FND_MSG_PUB.Count_And_Get
1136: (p_count => x_msg_count,
1152: if (lc_stat_level >= lc_debug_level) then
1153: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1154: 'Adding message CSD_SCW_ENTITY_EXISTS to FND_MSG stack');
1155: end if;
1156: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_ENTITY_EXISTS');
1157: FND_MESSAGE.SET_TOKEN('SERVICE_CODE_ID',p_sc_work_entity_rec.service_code_id);
1158: FND_MSG_PUB.Add;
1159:
1160: FND_MSG_PUB.Count_And_Get
1153: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1154: 'Adding message CSD_SCW_ENTITY_EXISTS to FND_MSG stack');
1155: end if;
1156: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_ENTITY_EXISTS');
1157: FND_MESSAGE.SET_TOKEN('SERVICE_CODE_ID',p_sc_work_entity_rec.service_code_id);
1158: FND_MSG_PUB.Add;
1159:
1160: FND_MSG_PUB.Count_And_Get
1161: (p_count => x_msg_count,
1177: if (lc_stat_level >= lc_debug_level) then
1178: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1179: 'Adding message CSD_SCW_INVALID_ORGANIZATION to FND_MSG stack');
1180: end if;
1181: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_ORGANIZATION');
1182: FND_MESSAGE.SET_TOKEN('ORGANIZATION_ID',p_sc_work_entity_rec.work_entity_id3);
1183: FND_MSG_PUB.Add;
1184:
1185: FND_MSG_PUB.Count_And_Get
1178: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1179: 'Adding message CSD_SCW_INVALID_ORGANIZATION to FND_MSG stack');
1180: end if;
1181: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_ORGANIZATION');
1182: FND_MESSAGE.SET_TOKEN('ORGANIZATION_ID',p_sc_work_entity_rec.work_entity_id3);
1183: FND_MSG_PUB.Add;
1184:
1185: FND_MSG_PUB.Count_And_Get
1186: (p_count => x_msg_count,
1202: if (lc_stat_level >= lc_debug_level) then
1203: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1204: 'Adding message CSD_SCW_INVALID_BILL_SEQUENCE to FND_MSG stack');
1205: end if;
1206: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_BILL_SEQUENCE');
1207: FND_MESSAGE.SET_TOKEN('BILL_SEQUENCE_ID',p_sc_work_entity_rec.work_entity_id1);
1208: FND_MSG_PUB.Add;
1209:
1210: FND_MSG_PUB.Count_And_Get
1203: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1204: 'Adding message CSD_SCW_INVALID_BILL_SEQUENCE to FND_MSG stack');
1205: end if;
1206: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_BILL_SEQUENCE');
1207: FND_MESSAGE.SET_TOKEN('BILL_SEQUENCE_ID',p_sc_work_entity_rec.work_entity_id1);
1208: FND_MSG_PUB.Add;
1209:
1210: FND_MSG_PUB.Count_And_Get
1211: (p_count => x_msg_count,
1227: if (lc_stat_level >= lc_debug_level) then
1228: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1229: 'Adding message CSD_SCW_INVALID_ROUTE_SEQUENCE to FND_MSG stack');
1230: end if;
1231: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_ROUTE_SEQUENCE');
1232: FND_MESSAGE.SET_TOKEN('ROUTING_SEQUENCE_ID',p_sc_work_entity_rec.work_entity_id2);
1233: FND_MSG_PUB.Add;
1234:
1235: FND_MSG_PUB.Count_And_Get
1228: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1229: 'Adding message CSD_SCW_INVALID_ROUTE_SEQUENCE to FND_MSG stack');
1230: end if;
1231: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_ROUTE_SEQUENCE');
1232: FND_MESSAGE.SET_TOKEN('ROUTING_SEQUENCE_ID',p_sc_work_entity_rec.work_entity_id2);
1233: FND_MSG_PUB.Add;
1234:
1235: FND_MSG_PUB.Count_And_Get
1236: (p_count => x_msg_count,
1252: if (lc_stat_level >= lc_debug_level) then
1253: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1254: 'Adding message CSD_SCW_INVALID_TASK_TEMP_GRP to FND_MSG stack');
1255: end if;
1256: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_TASK_TEMP_GRP');
1257: FND_MESSAGE.SET_TOKEN('TASK_TEMP_GROUP_ID',p_sc_work_entity_rec.work_entity_id1);
1258: FND_MSG_PUB.Add;
1259:
1260: FND_MSG_PUB.Count_And_Get
1253: FND_LOG.STRING(lc_stat_level, lc_mod_name,
1254: 'Adding message CSD_SCW_INVALID_TASK_TEMP_GRP to FND_MSG stack');
1255: end if;
1256: FND_MESSAGE.SET_NAME('CSD','CSD_SCW_INVALID_TASK_TEMP_GRP');
1257: FND_MESSAGE.SET_TOKEN('TASK_TEMP_GROUP_ID',p_sc_work_entity_rec.work_entity_id1);
1258: FND_MSG_PUB.Add;
1259:
1260: FND_MSG_PUB.Count_And_Get
1261: (p_count => x_msg_count,