971: EXCEPTION
972:
973: WHEN FND_API.G_EXC_ERROR
974: THEN
975: WF_CORE.CONTEXT(' PA_CLIENT_EXTN_BUDGET_WF ','START_BUDGET_WF', itemtype, itemkey);
976: RAISE;
977:
978: WHEN FND_API.G_EXC_UNEXPECTED_ERROR
979: THEN
976: RAISE;
977:
978: WHEN FND_API.G_EXC_UNEXPECTED_ERROR
979: THEN
980: WF_CORE.CONTEXT(' PA_CLIENT_EXTN_BUDGET_WF ','START_BUDGET_WF', itemtype, itemkey);
981: p_err_code := SQLCODE;
982: RAISE;
983:
984: WHEN OTHERS
982: RAISE;
983:
984: WHEN OTHERS
985: THEN
986: WF_CORE.CONTEXT(' PA_CLIENT_EXTN_BUDGET_WF ','START_BUDGET_WF', itemtype, itemkey);
987: p_err_code := SQLCODE;
988: RAISE;
989:
990: END;
1085: --in the error message that is send by workflow.
1086: --
1087: --IF
1088: --THEN
1089: -- WF_CORE.TOKEN('ARG1', arg1);
1090: -- WF_CORE.TOKEN('ARGn', argn);
1091: -- WF_CORE.RAISE('ERROR_NAME');
1092: --END IF;
1093:
1086: --
1087: --IF
1088: --THEN
1089: -- WF_CORE.TOKEN('ARG1', arg1);
1090: -- WF_CORE.TOKEN('ARGn', argn);
1091: -- WF_CORE.RAISE('ERROR_NAME');
1092: --END IF;
1093:
1094: EXCEPTION
1087: --IF
1088: --THEN
1089: -- WF_CORE.TOKEN('ARG1', arg1);
1090: -- WF_CORE.TOKEN('ARGn', argn);
1091: -- WF_CORE.RAISE('ERROR_NAME');
1092: --END IF;
1093:
1094: EXCEPTION
1095:
1093:
1094: EXCEPTION
1095:
1096: WHEN OTHERS THEN
1097: WF_CORE.CONTEXT('PA_CLIENT_EXTN_BUDGET_WF','SELECT_BUDGET_APPROVER',
1098: p_item_type, p_item_key);
1099: RAISE;
1100:
1101: END Select_Budget_Approver;
1229: -- );
1230: -- ---------------------------------------------------------------------------------------
1231:
1232: --
1233: -- WF_CORE Error Handling --------------------------------------------------
1234: -- To display errors using the WF_CORE functionality,
1235: -- the following algorithm can be used to handle known error conditions.
1236: -- When this code is used the arguments and there values will be displayed
1237: -- in the workflow monitor.
1230: -- ---------------------------------------------------------------------------------------
1231:
1232: --
1233: -- WF_CORE Error Handling --------------------------------------------------
1234: -- To display errors using the WF_CORE functionality,
1235: -- the following algorithm can be used to handle known error conditions.
1236: -- When this code is used the arguments and there values will be displayed
1237: -- in the workflow monitor.
1238: --
1237: -- in the workflow monitor.
1238: --
1239: --IF
1240: --THEN
1241: -- WF_CORE.TOKEN('ARG1', arg1);
1242: -- WF_CORE.TOKEN('ARGn', argn);
1243: -- WF_CORE.RAISE('ERROR_NAME');
1244: --END IF;
1245: -- ---------------------------------------------------------------------------------------
1238: --
1239: --IF
1240: --THEN
1241: -- WF_CORE.TOKEN('ARG1', arg1);
1242: -- WF_CORE.TOKEN('ARGn', argn);
1243: -- WF_CORE.RAISE('ERROR_NAME');
1244: --END IF;
1245: -- ---------------------------------------------------------------------------------------
1246:
1239: --IF
1240: --THEN
1241: -- WF_CORE.TOKEN('ARG1', arg1);
1242: -- WF_CORE.TOKEN('ARGn', argn);
1243: -- WF_CORE.RAISE('ERROR_NAME');
1244: --END IF;
1245: -- ---------------------------------------------------------------------------------------
1246:
1247: --
1253:
1254: EXCEPTION
1255:
1256: WHEN OTHERS THEN
1257: WF_CORE.CONTEXT('PA_CLIENT_EXTN_BUDGET_WF','VERIFY_BUDGET_RULES', p_item_type, p_item_key);
1258: RAISE;
1259:
1260:
1261: END Verify_Budget_Rules;