526: l_msg_data := FND_MSG_PUB.Get(
527: p_msg_index => FND_MSG_PUB.Count_Msg,
528: p_encoded => FND_API.G_FALSE);
529: result := FND_API.G_RET_STS_ERROR;
530: wf_core.token('STACK',l_msg_data);
531: wf_core.raise('WFNTF_ERROR_STACK');
532: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
533: RAISE;
534: END IF;
527: p_msg_index => FND_MSG_PUB.Count_Msg,
528: p_encoded => FND_API.G_FALSE);
529: result := FND_API.G_RET_STS_ERROR;
530: wf_core.token('STACK',l_msg_data);
531: wf_core.raise('WFNTF_ERROR_STACK');
532: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
533: RAISE;
534: END IF;
535:
528: p_encoded => FND_API.G_FALSE);
529: result := FND_API.G_RET_STS_ERROR;
530: wf_core.token('STACK',l_msg_data);
531: wf_core.raise('WFNTF_ERROR_STACK');
532: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
533: RAISE;
534: END IF;
535:
536: IF (AS_DEBUG_LOW_ON) THEN
619: l_msg_data := FND_MSG_PUB.Get(
620: p_msg_index => FND_MSG_PUB.Count_Msg,
621: p_encoded => FND_API.G_FALSE);
622: result := FND_API.G_RET_STS_ERROR;
623: wf_core.token('STACK',l_msg_data);
624:
625: -- this is what makes the workflow result turn RED!
626: wf_core.raise('WFNTF_ERROR_STACK');
627: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
622: result := FND_API.G_RET_STS_ERROR;
623: wf_core.token('STACK',l_msg_data);
624:
625: -- this is what makes the workflow result turn RED!
626: wf_core.raise('WFNTF_ERROR_STACK');
627: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
628: RAISE;
629: END IF;
630:
623: wf_core.token('STACK',l_msg_data);
624:
625: -- this is what makes the workflow result turn RED!
626: wf_core.raise('WFNTF_ERROR_STACK');
627: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
628: RAISE;
629: END IF;
630:
631: IF (AS_DEBUG_LOW_ON) THEN
645:
646: l_msg_data := FND_MSG_PUB.Get(
647: p_msg_index => FND_MSG_PUB.Count_Msg,
648: p_encoded => FND_API.G_FALSE);
649: wf_core.token('STACK',l_msg_data);
650: wf_core.raise('WFNTF_ERROR_STACK');
651:
652: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
653: raise;
646: l_msg_data := FND_MSG_PUB.Get(
647: p_msg_index => FND_MSG_PUB.Count_Msg,
648: p_encoded => FND_API.G_FALSE);
649: wf_core.token('STACK',l_msg_data);
650: wf_core.raise('WFNTF_ERROR_STACK');
651:
652: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
653: raise;
654:
648: p_encoded => FND_API.G_FALSE);
649: wf_core.token('STACK',l_msg_data);
650: wf_core.raise('WFNTF_ERROR_STACK');
651:
652: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
653: raise;
654:
655: WHEN OTHERS THEN
656:
658: p_encoded => FND_API.G_TRUE
659: ,p_count => l_msg_count
660: ,p_data => l_msg_data);
661:
662: wf_core.token('STACK', SQLERRM);
663: wf_core.raise('WFNTF_ERROR_STACK');
664: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
665: raise;
666:
659: ,p_count => l_msg_count
660: ,p_data => l_msg_data);
661:
662: wf_core.token('STACK', SQLERRM);
663: wf_core.raise('WFNTF_ERROR_STACK');
664: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
665: raise;
666:
667: END Partner_Matching;
660: ,p_data => l_msg_data);
661:
662: wf_core.token('STACK', SQLERRM);
663: wf_core.raise('WFNTF_ERROR_STACK');
664: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
665: raise;
666:
667: END Partner_Matching;
668:
1178: l_msg_data := FND_MSG_PUB.Get(
1179: p_msg_index => FND_MSG_PUB.Count_Msg,
1180: p_encoded => FND_API.G_FALSE);
1181: result := FND_API.G_RET_STS_ERROR;
1182: wf_core.token('STACK',l_msg_data);
1183: wf_core.raise('WFNTF_ERROR_STACK');
1184: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
1185: RAISE;
1186: END IF;
1179: p_msg_index => FND_MSG_PUB.Count_Msg,
1180: p_encoded => FND_API.G_FALSE);
1181: result := FND_API.G_RET_STS_ERROR;
1182: wf_core.token('STACK',l_msg_data);
1183: wf_core.raise('WFNTF_ERROR_STACK');
1184: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
1185: RAISE;
1186: END IF;
1187:
1180: p_encoded => FND_API.G_FALSE);
1181: result := FND_API.G_RET_STS_ERROR;
1182: wf_core.token('STACK',l_msg_data);
1183: wf_core.raise('WFNTF_ERROR_STACK');
1184: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
1185: RAISE;
1186: END IF;
1187:
1188: IF (AS_DEBUG_LOW_ON) THEN
1259: l_msg_data := FND_MSG_PUB.Get(
1260: p_msg_index => FND_MSG_PUB.Count_Msg,
1261: p_encoded => FND_API.G_FALSE);
1262: result := FND_API.G_RET_STS_ERROR;
1263: wf_core.token('STACK',l_msg_data);
1264:
1265: -- this is what makes the workflow result turn RED!
1266: wf_core.raise('WFNTF_ERROR_STACK');
1267: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
1262: result := FND_API.G_RET_STS_ERROR;
1263: wf_core.token('STACK',l_msg_data);
1264:
1265: -- this is what makes the workflow result turn RED!
1266: wf_core.raise('WFNTF_ERROR_STACK');
1267: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
1268: RAISE;
1269: END IF;
1270:
1263: wf_core.token('STACK',l_msg_data);
1264:
1265: -- this is what makes the workflow result turn RED!
1266: wf_core.raise('WFNTF_ERROR_STACK');
1267: wf_core.context(G_PKG_NAME, l_api_name, l_msg_data);
1268: RAISE;
1269: END IF;
1270:
1271: IF (AS_DEBUG_LOW_ON) THEN
1286:
1287: l_msg_data := FND_MSG_PUB.Get(
1288: p_msg_index => FND_MSG_PUB.Count_Msg,
1289: p_encoded => FND_API.G_FALSE);
1290: wf_core.token('STACK',l_msg_data);
1291: wf_core.raise('WFNTF_ERROR_STACK');
1292:
1293: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
1294: raise;
1287: l_msg_data := FND_MSG_PUB.Get(
1288: p_msg_index => FND_MSG_PUB.Count_Msg,
1289: p_encoded => FND_API.G_FALSE);
1290: wf_core.token('STACK',l_msg_data);
1291: wf_core.raise('WFNTF_ERROR_STACK');
1292:
1293: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
1294: raise;
1295:
1289: p_encoded => FND_API.G_FALSE);
1290: wf_core.token('STACK',l_msg_data);
1291: wf_core.raise('WFNTF_ERROR_STACK');
1292:
1293: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
1294: raise;
1295:
1296: WHEN OTHERS THEN
1297:
1299: p_encoded => FND_API.G_TRUE
1300: ,p_count => l_msg_count
1301: ,p_data => l_msg_data);
1302:
1303: wf_core.token('STACK', SQLERRM);
1304: wf_core.raise('WFNTF_ERROR_STACK');
1305: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
1306: raise;
1307:
1300: ,p_count => l_msg_count
1301: ,p_data => l_msg_data);
1302:
1303: wf_core.token('STACK', SQLERRM);
1304: wf_core.raise('WFNTF_ERROR_STACK');
1305: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
1306: raise;
1307:
1308: END Campaign_Routing;
1301: ,p_data => l_msg_data);
1302:
1303: wf_core.token('STACK', SQLERRM);
1304: wf_core.raise('WFNTF_ERROR_STACK');
1305: wf_core.context(G_PKG_NAME, l_api_name,l_msg_data);
1306: raise;
1307:
1308: END Campaign_Routing;
1309: