DBA Data[Home] [Help]

APPS.AP_WEB_EXPENSE_WF dependencies on WF_CORE

Line 201: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRole:Called From' ||

197: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetFromRole');
198:
199: EXCEPTION
200: WHEN OTHERS THEN
201: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRole:Called From' ||
202: p_called_from,
203: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
204: raise;
205: END SetFromRole;

Line 328: l_err_name := wf_core.error_name;

324: l_item_key,
325: 'AP_EXPENSE_REPORT_PROCESS');
326: EXCEPTION
327: when others then
328: l_err_name := wf_core.error_name;
329: if (l_err_name = 'WFENG_ITEM_UNIQUE') then
330: -- the workflow process with l_item_key has been created
331: -- previously. we should still allow users to submit the
332: -- same report for bug 2203698.

Line 333: wf_core.clear;

329: if (l_err_name = 'WFENG_ITEM_UNIQUE') then
330: -- the workflow process with l_item_key has been created
331: -- previously. we should still allow users to submit the
332: -- same report for bug 2203698.
333: wf_core.clear;
334: else
335: raise;
336: end if;
337: END;

Line 366: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

362: 'ORG_ID',
363: l_n_Org_ID);
364: exception
365: when others then
366: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
367: -- ORG_ID item attribute doesn't exist, need to add it
368: WF_ENGINE.AddItemAttr(l_item_type, l_item_key, 'ORG_ID');
369: WF_ENGINE.SetItemAttrNumber(l_item_type,
370: l_item_key,

Line 420: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

416: 'RESPONSIBILITY_ID');
417:
418: exception
419: when others then
420: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
421: null;
422: else
423: raise;
424: end if;

Line 859: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartExpenseReportProcess',

855: END IF;
856:
857: EXCEPTION
858: WHEN OTHERS THEN
859: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartExpenseReportProcess',
860: l_item_type, l_item_key, to_char(0), l_debug_info);
861: raise;
862: END;
863: --END IF; --validatesession

Line 1176: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

1172: l_item_key,
1173: 'ORG_ID');
1174: exception
1175: when others then
1176: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
1177: -- ORG_ID item attribute doesn't exist, need to add it
1178: WF_ENGINE.AddItemAttr(l_item_type, l_item_key, 'ORG_ID');
1179: IF (AP_WEB_DB_EXPRPT_PKG.GetOrgIdByReportHeaderId(
1180: to_number(l_item_key),

Line 1256: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateLineErrorsClob',

1252: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GenerateLineErrorsClob');
1253:
1254: EXCEPTION
1255: WHEN OTHERS THEN
1256: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateLineErrorsClob',
1257: document_id, l_debug_info);
1258: raise;
1259: END GenerateLineErrorsClob;
1260:

Line 1285: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CashLineErrorsAP',

1281: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CashLineErrorsAP');
1282:
1283: EXCEPTION
1284: WHEN OTHERS THEN
1285: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CashLineErrorsAP',
1286: document_id, l_debug_info);
1287: raise;
1288: END CashLineErrorsAP;
1289:

Line 1314: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CashLineErrorsPreparer',

1310: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CashLineErrorsPreparer');
1311:
1312: EXCEPTION
1313: WHEN OTHERS THEN
1314: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CashLineErrorsPreparer',
1315: document_id, l_debug_info);
1316: raise;
1317: END CashLineErrorsPreparer;
1318:

Line 1343: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CCardLineErrorsAP',

1339: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CCardLineErrorsAP');
1340:
1341: EXCEPTION
1342: WHEN OTHERS THEN
1343: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CCardLineErrorsAP',
1344: document_id, l_debug_info);
1345: raise;
1346: END CCardLineErrorsAP;
1347:

Line 1372: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CCardLineErrorsPreparer',

1368: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CCardLineErrorsPreparer');
1369:
1370: EXCEPTION
1371: WHEN OTHERS THEN
1372: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CCardLineErrorsPreparer',
1373: document_id, l_debug_info);
1374: raise;
1375: END CCardLineErrorsPreparer;
1376:

Line 1690: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'APValidateExpenseReport',

1686: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end APValidateExpenseReport');
1687:
1688: EXCEPTION
1689: WHEN OTHERS THEN
1690: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'APValidateExpenseReport',
1691: p_item_type, p_item_key, to_char(0), l_debug_info || FND_MESSAGE.GET);
1692: raise;
1693: END APValidateExpenseReport;
1694:

Line 2813: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'BuildManagerApprvlMessage',

2809: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end BuildManagerApprvlMessage');
2810:
2811: EXCEPTION
2812: WHEN OTHERS THEN
2813: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'BuildManagerApprvlMessage',
2814: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
2815: raise;
2816: END BuildManagerApprvlMessage;
2817:

Line 2864: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ManagerApproved',

2860: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end ManagerApproved');
2861:
2862: EXCEPTION
2863: WHEN OTHERS THEN
2864: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ManagerApproved',
2865: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
2866: raise;
2867: END ManagerApproved;
2868:

Line 2973: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckSumMissingReceipts',

2969: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CheckSumMissingReceipts');
2970:
2971: EXCEPTION
2972: WHEN OTHERS THEN
2973: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckSumMissingReceipts',
2974: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
2975: raise;
2976: END CheckSumMissingReceipts;
2977:

Line 3029: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AnyReceiptRequired',

3025: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AnyReceiptRequired');
3026:
3027: EXCEPTION
3028: WHEN OTHERS THEN
3029: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AnyReceiptRequired',
3030: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
3031: raise;
3032: END AnyReceiptRequired;
3033:

Line 3117: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AnyJustificationRequired',

3113: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AnyJustificationRequired');
3114:
3115: EXCEPTION
3116: WHEN OTHERS THEN
3117: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AnyJustificationRequired',
3118: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
3119: raise;
3120: END AnyJustificationRequired;
3121:

Line 3160: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CreditLinesOnly',

3156: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CreditLinesOnly');
3157:
3158: EXCEPTION
3159: WHEN OTHERS THEN
3160: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CreditLinesOnly',
3161: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
3162: raise;
3163:
3164: END CreditLinesOnly;

Line 3278: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'OldAPReviewComplete',

3274: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end OldAPReviewComplete');
3275:
3276: EXCEPTION
3277: WHEN OTHERS THEN
3278: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'OldAPReviewComplete',
3279: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
3280: raise;
3281: END OldAPReviewComplete;
3282:

Line 3398: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'APReviewComplete',

3394: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end APReviewComplete');
3395:
3396: EXCEPTION
3397: WHEN OTHERS THEN
3398: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'APReviewComplete',
3399: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
3400: raise;
3401: END APReviewComplete;
3402:

Line 3728: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AnyAPAdjustments',

3724: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AnyAPAdjustments');
3725:
3726: EXCEPTION
3727: WHEN OTHERS THEN
3728: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AnyAPAdjustments',
3729: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
3730: raise;
3731: END AnyAPAdjustments;
3732:

Line 3785: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AllReqReceiptsVerified',

3781: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AllReqReceiptsVerified');
3782:
3783: EXCEPTION
3784: WHEN OTHERS THEN
3785: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AllReqReceiptsVerified',
3786: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
3787: raise;
3788: END AllReqReceiptsVerified;
3789:

Line 3842: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AllPassAPApproval',

3838: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AllPassAPApproval');
3839:
3840: EXCEPTION
3841: WHEN OTHERS THEN
3842: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AllPassAPApproval',
3843: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
3844: raise;
3845: END AllPassAPApproval;
3846:

Line 3938: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'Approved',

3934: EXCEPTION
3935: WHEN NO_DATA_FOUND THEN
3936: null;
3937: WHEN OTHERS THEN
3938: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'Approved',
3939: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
3940: raise;
3941: END Approved;
3942:

Line 4100: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetShortPaidLinesInfo',

4096: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetShortPaidLinesInfo');
4097:
4098: EXCEPTION
4099: WHEN OTHERS THEN
4100: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetShortPaidLinesInfo',
4101: p_item_type, p_item_key, null, l_debug_info);
4102: raise;
4103: END SetShortPaidLinesInfo;
4104:

Line 4367: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CreateShortPayExpReport',

4363: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CreateShortPayExpReport');
4364:
4365: EXCEPTION
4366: WHEN OTHERS THEN
4367: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CreateShortPayExpReport',
4368: null, to_char(p_orig_expense_report_id), null, l_debug_info);
4369: raise;
4370: END CreateShortPayExpReport;
4371:

Line 4669: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SplitExpenseReport',

4665: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SplitExpenseReport');
4666:
4667: EXCEPTION
4668: WHEN OTHERS THEN
4669: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SplitExpenseReport',
4670: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
4671: raise;
4672: END SplitExpenseReport;
4673:

Line 5234: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

5230: 'RESPONSIBILITY_ID');
5231:
5232: exception
5233: when others then
5234: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
5235: null;
5236: else
5237: raise;
5238: end if;

Line 5296: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetRejectStatusAndResetAttr',

5292: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetRejectStatusAndResetAttr');
5293:
5294: EXCEPTION
5295: WHEN OTHERS THEN
5296: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetRejectStatusAndResetAttr',
5297:
5298: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
5299: RAISE;
5300:

Line 5337: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'DeleteExpenseReport',

5333: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end DeleteExpenseReport');
5334:
5335: EXCEPTION
5336: WHEN OTHERS THEN
5337: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'DeleteExpenseReport',
5338: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
5339: raise;
5340: END DeleteExpenseReport;
5341:

Line 5580: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartAPApprvlSubProcess',

5576: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end StartAPApprvlSubProcess');
5577:
5578: EXCEPTION
5579: WHEN OTHERS THEN
5580: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartAPApprvlSubProcess',
5581: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
5582: raise;
5583: END StartAPApprvlSubProcess;
5584:

Line 5651: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartFromAPApproval',

5647: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end StartFromAPApproval');
5648:
5649: EXCEPTION
5650: WHEN OTHERS THEN
5651: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartFromAPApproval',
5652: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
5653: raise;
5654: END StartFromAPApproval;
5655:

Line 5705: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartFromManagerApproval',

5701: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end StartFromManagerApproval');
5702:
5703: EXCEPTION
5704: WHEN OTHERS THEN
5705: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartFromManagerApproval',
5706: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
5707: raise;
5708: END StartFromManagerApproval;
5709:

Line 5747: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckIfShortPaid',

5743: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CheckIfShortPaid');
5744:
5745: EXCEPTION
5746: WHEN OTHERS THEN
5747: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckIfShortPaid',
5748: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
5749: raise;
5750: END CheckIfShortPaid;
5751:

Line 5948: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'BuildBothpayReport',

5944: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end BuildBothpayExpReport');
5945:
5946: EXCEPTION
5947: WHEN OTHERS THEN
5948: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'BuildBothpayReport',
5949: null, to_char(l_report_header_id) || ' ' || to_char(l_new_report_id), to_char(p_actid), l_debug_info);
5950: raise;
5951: END BuildBothpayExpReport;
5952:

Line 5990: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckIfBothpay',

5986: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CheckIfBothpay');
5987:
5988: EXCEPTION
5989: WHEN OTHERS THEN
5990: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckIfBothpay',
5991: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
5992: raise;
5993: END CheckIfBothpay;
5994:

Line 6077: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'FindVendor',

6073: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end FindVendor');
6074:
6075: EXCEPTION
6076: WHEN OTHERS THEN
6077: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'FindVendor',
6078: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
6079: raise;
6080: END FindVendor;
6081:

Line 6113: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckIfSplit',

6109: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CheckIfSplit');
6110:
6111: EXCEPTION
6112: WHEN OTHERS THEN
6113: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckIfSplit',
6114: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
6115: raise;
6116: END CheckIfSplit;
6117:

Line 6186: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

6182: p_item_key,
6183: 'ORG_ID');
6184: exception
6185: when others then
6186: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
6187: -- ORG_ID item attribute doesn't exist, need to add it
6188: wf_engine.AddItemAttr(p_item_type, p_item_key, 'ORG_ID');
6189: -- get the org_id from header for old reports
6190: IF (AP_WEB_DB_EXPRPT_PKG.GetOrgIdByReportHeaderId(

Line 6221: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

6217: p_item_key,
6218: 'APPLICATION_ID');
6219: exception
6220: when others then
6221: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
6222: null;
6223: else
6224: raise;
6225: end if;

Line 6596: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

6592: 'ORG_ID',
6593: l_n_org_id);
6594: exception
6595: when others then
6596: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
6597: -- ORG_ID item attribute doesn't exist, need to add it
6598: wf_engine.AddItemAttr(p_item_type, l_item_key, 'ORG_ID');
6599: -- get the org_id from header for old reports
6600: WF_ENGINE.SetItemAttrNumber(p_item_type,

Line 6639: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

6635: l_n_resp_appl_id);
6636:
6637: exception
6638: when others then
6639: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
6640: null;
6641: else
6642: raise;
6643: end if;

Line 6684: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartPolicyShortPayProcess',

6680: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end StartPolicyShortPayProcess');
6681:
6682: EXCEPTION
6683: WHEN OTHERS THEN
6684: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartPolicyShortPayProcess',
6685: p_item_type, l_item_key, to_char(p_actid), l_debug_info);
6686: raise;
6687: END StartPolicyShortPayProcess;
6688:

Line 6855: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

6851: p_item_key,
6852: 'ORG_ID');
6853: exception
6854: when others then
6855: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
6856: -- ORG_ID item attribute doesn't exist, need to add it
6857: wf_engine.AddItemAttr(p_item_type, p_item_key, 'ORG_ID');
6858: -- get the org_id from header for old reports
6859: IF (AP_WEB_DB_EXPRPT_PKG.GetOrgIdByReportHeaderId(

Line 6889: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

6885: p_item_key,
6886: 'APPLICATION_ID');
6887: exception
6888: when others then
6889: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
6890: null;
6891: else
6892: raise;
6893: end if;

Line 7217: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

7213: 'ORG_ID',
7214: l_n_org_id);
7215: exception
7216: when others then
7217: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
7218: -- ORG_ID item attribute doesn't exist, need to add it
7219: wf_engine.AddItemAttr(p_item_type, l_item_key, 'ORG_ID');
7220: -- get the org_id from header for old reports
7221: WF_ENGINE.SetItemAttrNumber(p_item_type,

Line 7259: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

7255: l_n_resp_appl_id);
7256:
7257: exception
7258: when others then
7259: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
7260: null;
7261: else
7262: raise;
7263: end if;

Line 7307: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartNoReceiptsShortPayProcess',

7303: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end StartNoReceiptsShortPayProcess');
7304:
7305: EXCEPTION
7306: WHEN OTHERS THEN
7307: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartNoReceiptsShortPayProcess',
7308: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
7309: raise;
7310: END StartNoReceiptsShortPayProcess;
7311:

Line 7594: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartManagerApprvlSubProcess',

7590: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end StartManagerApprvlSubProcess');
7591:
7592: EXCEPTION
7593: WHEN OTHERS THEN
7594: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StartManagerApprvlSubProcess',
7595: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
7596: raise;
7597: END StartManagerApprvlSubProcess;
7598:

Line 7619: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetManager',

7615: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GetManager');
7616:
7617: EXCEPTION
7618: WHEN OTHERS THEN
7619: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetManager',
7620: null, null, null, l_debug_info);
7621: raise;
7622: END GetManager;
7623:

Line 7715: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetPersonAs',

7711: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetPersonAs');
7712:
7713: EXCEPTION
7714: WHEN OTHERS THEN
7715: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetPersonAs',
7716: p_item_type, p_item_key, null, l_debug_info);
7717: raise;
7718: END SetPersonAs;
7719:

Line 7863: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetFinalApprover',

7859: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GetFinalApprover');
7860:
7861: EXCEPTION
7862: WHEN OTHERS THEN
7863: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetFinalApprover',
7864: p_item_type, null, null, l_debug_info);
7865: raise;
7866: END GetFinalApprover;
7867:

Line 7917: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetPreparerManager',

7913: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GetPreparerManager');
7914:
7915: EXCEPTION
7916: WHEN OTHERS THEN
7917: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetPreparerManager',
7918: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
7919: raise;
7920: END GetPreparerManager;
7921:

Line 7973: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetApproverManager',

7969: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GetApproverManager');
7970:
7971: EXCEPTION
7972: WHEN OTHERS THEN
7973: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetApproverManager',
7974: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
7975: raise;
7976: END GetApproverManager;
7977:

Line 8019: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ApproverProvided',

8015: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end ApproverProvided');
8016:
8017: EXCEPTION
8018: WHEN OTHERS THEN
8019: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ApproverProvided',
8020: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8021: raise;
8022: END ApproverProvided;
8023:

Line 8074: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SameCostCenters',

8070: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SameCostCenters');
8071:
8072: EXCEPTION
8073: WHEN OTHERS THEN
8074: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SameCostCenters',
8075: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8076: raise;
8077: END SameCostCenters;
8078:

Line 8142: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetApproverEqualManager',

8138: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetApproverEqualManager');
8139:
8140: EXCEPTION
8141: WHEN OTHERS THEN
8142: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetApproverEqualManager',
8143: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8144: raise;
8145: END SetApproverEqualManager;
8146:

Line 8207: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'RecordForwardFromInfo',

8203: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end RecordForwardFromInfo');
8204:
8205: EXCEPTION
8206: WHEN OTHERS THEN
8207: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'RecordForwardFromInfo',
8208: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8209: raise;
8210: END RecordForwardFromInfo;
8211:

Line 8258: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ManagerNotEqualToApprover',

8254: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end ManagerNotEqualToApprover');
8255:
8256: EXCEPTION
8257: WHEN OTHERS THEN
8258: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ManagerNotEqualToApprover',
8259: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8260: raise;
8261: END ManagerNotEqualToApprover;
8262:

Line 8335: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'NotifyPreparer',

8331: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end NotifyPreparer');
8332:
8333: EXCEPTION
8334: WHEN OTHERS THEN
8335: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'NotifyPreparer',
8336: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8337: raise;
8338: END NotifyPreparer;
8339:

Line 8382: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

8378: 'RESPONSIBILITY_ID');
8379:
8380: EXCEPTION
8381: WHEN OTHERS THEN
8382: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
8383: null;
8384: else
8385: raise;
8386: end if;

Line 8420: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMEEnabled',

8416: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AMEEnabled');
8417:
8418: EXCEPTION
8419: WHEN OTHERS THEN
8420: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMEEnabled',
8421: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8422: raise;
8423: END AMEEnabled;
8424:

Line 8469: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'FirstApprover',

8465: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end FirstApprover');
8466:
8467: EXCEPTION
8468: WHEN OTHERS THEN
8469: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'FirstApprover',
8470: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8471: raise;
8472: END FirstApprover;
8473:

Line 8516: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ApprovalForwarded',

8512: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end ApprovalForwarded');
8513:
8514: EXCEPTION
8515: WHEN OTHERS THEN
8516: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ApprovalForwarded',
8517: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8518: raise;
8519: END ApprovalForwarded;
8520:

Line 8584: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ResetEmpCostCenter',

8580: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end ResetEmpCostCenter');
8581:
8582: EXCEPTION
8583: WHEN OTHERS THEN
8584: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ResetEmpCostCenter',
8585: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8586: raise;
8587: END ResetEmpCostCenter;
8588:

Line 8657: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'PayablesReviewed',

8653: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end PayablesReviewed');
8654:
8655: EXCEPTION
8656: WHEN OTHERS THEN
8657: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'PayablesReviewed',
8658: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8659: raise;
8660: END PayablesReviewed;
8661:

Line 8710: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'EmployeeEqualsToPreparer',

8706: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end EmployeeEqualsToPreparer');
8707:
8708: EXCEPTION
8709: WHEN OTHERS THEN
8710: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'EmployeeEqualsToPreparer',
8711: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8712: raise;
8713: END EmployeeEqualsToPreparer;
8714:

Line 8752: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'EmployeeApprovalRequired',

8748: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end EmployeeApprovalRequired');
8749:
8750: EXCEPTION
8751: WHEN OTHERS THEN
8752: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'EmployeeApprovalRequired',
8753: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8754: raise;
8755: END EmployeeApprovalRequired;
8756:

Line 8798: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'DetermineStartFromProcess',

8794: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end DetermineStartFromProcess');
8795:
8796: EXCEPTION
8797: WHEN OTHERS THEN
8798: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'DetermineStartFromProcess',
8799: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8800: RAISE;
8801:
8802: END DetermineStartFromProcess;

Line 8876: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetEmployeeAsApprover',

8872: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetEmployeeAsApprover');
8873:
8874: EXCEPTION
8875: WHEN OTHERS THEN
8876: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetEmployeeAsApprover',
8877: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8878: RAISE;
8879:
8880: END SetEmployeeAsApprover;

Line 8914: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'DeleteShortPayExpReport',

8910: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end DeleteShortPayExpReport');
8911:
8912: EXCEPTION
8913: WHEN OTHERS THEN
8914: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'DeleteShortPayExpReport',
8915: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8916: raise;
8917: END DeleteShortPayExpReport;
8918:

Line 8967: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'RequireProofOfPayment',

8963: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end RequireProofOfPayment');
8964:
8965: EXCEPTION
8966: WHEN OTHERS THEN
8967: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'RequireProofOfPayment',
8968: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
8969: RAISE;
8970:
8971: END RequireProofOfPayment;

Line 9033: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateExpLines',

9029: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GenerateExpLines');
9030:
9031: EXCEPTION
9032: WHEN OTHERS THEN
9033: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateExpLines',
9034: document_id, l_debug_info);
9035: raise;
9036: END GenerateExpLines;
9037:

Line 9099: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateDocumentAttributeValue',

9095: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GenerateDocumentAttributeValue');
9096:
9097: EXCEPTION
9098: WHEN OTHERS THEN
9099: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateDocumentAttributeValue',
9100: document_id, l_debug_info);
9101: raise;
9102: END GenerateDocumentAttributeValue;
9103:

Line 9251: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'BuildAdjustmentInfoLine',

9247: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end BuildAdjustmentInfoLine');
9248:
9249: EXCEPTION
9250: WHEN OTHERS THEN
9251: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'BuildAdjustmentInfoLine',
9252: '', l_debug_info);
9253: raise;
9254: END BuildAdjustmentInfoLine;
9255:

Line 9296: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateAdjustmentInfo',

9292: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GenerateAdjustmentInfo');
9293:
9294: EXCEPTION
9295: WHEN OTHERS THEN
9296: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateAdjustmentInfo',
9297: document_id, l_debug_info);
9298: raise;
9299: END GenerateAdjustmentInfo;
9300:

Line 9386: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

9382: l_itemkey,
9383: 'ORG_ID');
9384: exception
9385: when others then
9386: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
9387: -- ORG_ID item attribute doesn't exist, need to add it
9388: WF_ENGINE.AddItemAttr(l_itemtype, l_itemkey, 'ORG_ID');
9389: IF (AP_WEB_DB_EXPRPT_PKG.GetOrgIdByReportHeaderId(
9390: to_number(l_itemkey),

Line 9571: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateAdjustmentInfoClob',

9567: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GenerateAdjustmentInfoClob');
9568:
9569: EXCEPTION
9570: WHEN OTHERS THEN
9571: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateAdjustmentInfoClob',
9572: document_id, l_debug_info);
9573: raise;
9574: END GenerateAdjustmentInfoClob;
9575:

Line 9596: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ResetLineInfo',

9592: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end ResetLineInfo');
9593:
9594: EXCEPTION
9595: WHEN OTHERS THEN
9596: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ResetLineInfo',
9597: document_id, l_debug_info);
9598: raise;
9599: END ResetLineInfo;
9600:

Line 9629: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

9625: p_s_item_key,
9626: 'ORG_ID');
9627: exception
9628: when others then
9629: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
9630: -- ORG_ID item attribute doesn't exist, need to add it
9631: wf_engine.AddItemAttr(p_s_item_type, p_s_item_key, 'ORG_ID');
9632: -- get the org_id from header for old reports
9633: IF (AP_WEB_DB_EXPRPT_PKG.GetOrgIdByReportHeaderId(

Line 9662: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

9658: p_s_item_key,
9659: 'APPLICATION_ID');
9660: exception
9661: when others then
9662: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
9663: null;
9664: else
9665: raise;
9666: end if;

Line 9837: p_note => wf_core.translate(p_funmode)||'

9833: l_debug_info := 'store the Request More Info question/answer as a note';
9834: ------------------------------------------------------------
9835: AP_WEB_NOTES_PKG.CreateERPrepToAudNote (
9836: p_report_header_id => l_report_header_id,
9837: p_note => wf_core.translate(p_funmode)||'
9838: '||wf_engine.context_user_comment,
9839: p_lang => l_new_language_code,
9840: p_entered_by => l_entered_by
9841: );

Line 9851: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsPreparerToAuditorTransferred',

9847: END IF;
9848:
9849: EXCEPTION
9850: WHEN OTHERS THEN
9851: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsPreparerToAuditorTransferred',
9852: p_item_type, p_item_key, to_char(0), l_debug_info);
9853: RAISE;
9854:
9855: END IsPreparerToAuditorTransferred;

Line 9987: p_note => wf_core.translate(p_funmode)||'

9983: l_debug_info := 'store the Request More Info question/answer as a note';
9984: ------------------------------------------------------------
9985: AP_WEB_NOTES_PKG.CreateERPrepToAudNote (
9986: p_report_header_id => l_report_header_id,
9987: p_note => wf_core.translate(p_funmode)||'
9988: '||wf_engine.context_user_comment,
9989: p_lang => l_new_language_code,
9990: p_entered_by => l_entered_by
9991: );

Line 10027: Wf_Core.Raise(wf_core.translate('NO_ROLE_FOUND'));

10023: OPEN c_person_id;
10024: FETCH c_person_id into l_TransferToID;
10025: IF c_person_id%NOTFOUND THEN
10026: p_result := wf_engine.eng_completed||':'||wf_engine.eng_null;
10027: Wf_Core.Raise(wf_core.translate('NO_ROLE_FOUND'));
10028: RETURN;
10029: ELSE
10030: IF l_TransferToID IS NULL THEN
10031: p_result := wf_engine.eng_completed||':'||wf_engine.eng_null;

Line 10032: Wf_Core.Raise(wf_core.translate('PERSON_ID_NULL'));

10028: RETURN;
10029: ELSE
10030: IF l_TransferToID IS NULL THEN
10031: p_result := wf_engine.eng_completed||':'||wf_engine.eng_null;
10032: Wf_Core.Raise(wf_core.translate('PERSON_ID_NULL'));
10033: RETURN;
10034: END IF;
10035: END IF;
10036: CLOSE c_person_id;

Line 10084: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

10080: p_item_key,
10081: 'AME_APPROVER_AUTHORITY');
10082: exception
10083: when others then
10084: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
10085: ame_api3.getOldApprovers(
10086: applicationIdIn => AP_WEB_DB_UTIL_PKG.GetApplicationID,
10087: transactionTypeIn => 'APEXP',
10088: transactionIdIn => l_itemkey,

Line 10259: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsApprovalRequestTransferred',

10255: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end IsApprovalRequestTransferred');
10256:
10257: EXCEPTION
10258: WHEN OTHERS THEN
10259: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsApprovalRequestTransferred',
10260: p_item_type, p_item_key, to_char(0), l_debug_info);
10261: RAISE;
10262:
10263: END IsApprovalRequestTransferred;

Line 10299: Wf_Core.Raise('ICX_ALL_FIELDS_REQUIRED');

10295: /* Bug 2798344: The following code does got fire to raise a sql
10296: exception. However, it appears to be a bug than a desired feature.
10297: IF (l_WFAdminNote IS NULL OR replace(l_WFAdminNote, ' ', '') = '') THEN
10298: l_debug_info := 'Please provide specific instructions in the Note field.';
10299: Wf_Core.Raise('ICX_ALL_FIELDS_REQUIRED');
10300: end if;
10301: */
10302: end if;
10303:

Line 10309: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckWFAdminNote',

10305: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CheckWFAdminNote');
10306:
10307: EXCEPTION
10308: WHEN OTHERS THEN
10309: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckWFAdminNote',
10310: p_item_type, p_item_key, to_char(0), l_debug_info);
10311: RAISE;
10312:
10313: END CheckWFAdminNote;

Line 10415: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

10411: p_item_key,
10412: 'RESPONSIBILITY_ID');
10413: exception
10414: when others then
10415: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
10416: null;
10417: else
10418: raise;
10419: end if;

Line 10472: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetReturnStatusAndResetAttr',

10468: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetReturnStatusAndResetAttr');
10469:
10470: EXCEPTION
10471: WHEN OTHERS THEN
10472: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetReturnStatusAndResetAttr',
10473: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
10474: RAISE;
10475:
10476: END SetReturnStatusAndResetAttr;

Line 10522: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRoleBeforeApproval',

10518: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetFromRoleBeforeApproval');
10519:
10520: EXCEPTION
10521: WHEN OTHERS THEN
10522: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRoleBeforeApproval',
10523: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
10524: raise;
10525: END SetFromRoleBeforeApproval;
10526:

Line 10570: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRolePreparer',

10566: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetFromRolePreparer');
10567:
10568: EXCEPTION
10569: WHEN OTHERS THEN
10570: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRolePreparer',
10571: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
10572: raise;
10573: END SetFromRolePreparer;
10574:

Line 10618: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRoleEmployee',

10614: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetFromRoleEmployee');
10615:
10616: EXCEPTION
10617: WHEN OTHERS THEN
10618: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRoleEmployee',
10619: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
10620: raise;
10621: END SetFromRoleEmployee;
10622:

Line 10666: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRoleForwardFrom',

10662: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetFromRoleForwardFrom');
10663:
10664: EXCEPTION
10665: WHEN OTHERS THEN
10666: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRoleForwardFrom',
10667: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
10668: raise;
10669: END SetFromRoleForwardFrom;
10670:

Line 10714: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRoleApprover',

10710: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetFromRoleApprover');
10711:
10712: EXCEPTION
10713: WHEN OTHERS THEN
10714: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRoleApprover',
10715: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
10716: raise;
10717: END SetFromRoleApprover;
10718:

Line 10821: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetStatusApproverAndDate',

10817: l_error_message);
10818:
10819: p_result := 'COMPLETE:N';
10820: WHEN OTHERS THEN
10821: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetStatusApproverAndDate',
10822: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
10823: raise;
10824: END SetStatusApproverAndDate;
10825:

Line 10866: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ZeroFindApproverCount',

10862: END IF;
10863:
10864: EXCEPTION
10865: WHEN OTHERS THEN
10866: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ZeroFindApproverCount',
10867: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
10868: raise;
10869: END ZeroFindApproverCount;
10870:

Line 11027: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

11023: 'RESPONSIBILITY_ID');
11024:
11025: exception
11026: when others then
11027: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
11028: null;
11029: else
11030: raise;
11031: end if;

Line 11331: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

11327: 'RESPONSIBILITY_ID');
11328:
11329: exception
11330: when others then
11331: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
11332: null;
11333: else
11334: raise;
11335: end if;

Line 11386: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

11382: l_itemkey,
11383: 'MILEAGE_NOTE');
11384: exception
11385: when others then
11386: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
11387: null;
11388: else
11389: raise;
11390: end if;

Line 11403: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

11399: l_itemkey,
11400: 'ORG_ID');
11401: exception
11402: when others then
11403: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
11404: -- ORG_ID item attribute doesn't exist, need to add it
11405: WF_ENGINE.AddItemAttr(l_itemtype, l_itemkey, 'ORG_ID');
11406: IF (AP_WEB_DB_EXPRPT_PKG.GetOrgIdByReportHeaderId(
11407: to_number(l_itemkey),

Line 11956: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

11952: begin
11953: l_payment_due_from := WF_ENGINE.GetItemAttrText(l_itemtype,l_itemkey,'PAYMENT_DUE_FROM');
11954: exception
11955: when others then
11956: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
11957: null;
11958: else
11959: raise;
11960: end if;

Line 12198: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateExpClobLines',

12194: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GenerateExpClobLines');
12195:
12196: EXCEPTION
12197: WHEN OTHERS THEN
12198: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateExpClobLines',
12199: document_id, l_debug_info);
12200: raise;
12201: END GenerateExpClobLines;
12202:

Line 13568: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateAmountMsg',

13564: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GenerateExpLines');
13565:
13566: EXCEPTION
13567: WHEN OTHERS THEN
13568: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateAmountMsg',
13569: document_id, l_debug_info);
13570: raise;
13571: END GenerateAmountMsg;
13572:

Line 13602: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

13598: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GetRespAppInfo');
13599:
13600: EXCEPTION
13601: WHEN OTHERS THEN
13602: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
13603: null;
13604: else
13605: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetRespAppInfo',
13606: p_item_key, l_debug_info);

Line 13605: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetRespAppInfo',

13601: WHEN OTHERS THEN
13602: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
13603: null;
13604: else
13605: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetRespAppInfo',
13606: p_item_key, l_debug_info);
13607: raise;
13608: end if;
13609: END GetRespAppInfo;

Line 13701: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetAuditType',

13697: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GetAuditType');
13698:
13699: EXCEPTION
13700: WHEN OTHERS THEN
13701: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetAuditType',
13702: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
13703: raise;
13704: END GetAuditType;
13705:

Line 13734: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ResetWFNote',

13730: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end ResetWFNote');
13731:
13732: EXCEPTION
13733: WHEN OTHERS THEN
13734: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ResetWFNote',
13735: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
13736: raise;
13737: END ResetWFNote;
13738:

Line 13838: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateHeaderErrors', document_id, l_debug_info);

13834: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GenerateHeaderErrors');
13835:
13836: EXCEPTION
13837: WHEN OTHERS THEN
13838: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GenerateHeaderErrors', document_id, l_debug_info);
13839: raise;
13840:
13841: END GenerateHeaderErrors;
13842:

Line 13890: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRoleAP',

13886: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetFromRoleAP');
13887:
13888: EXCEPTION
13889: WHEN OTHERS THEN
13890: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetFromRoleAP',
13891: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
13892: raise;
13893: END SetFromRoleAP;
13894:

Line 13917: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetPolicyInfo',

13913: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetPolicyInfo');
13914:
13915: EXCEPTION
13916: WHEN OTHERS THEN
13917: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetPolicyInfo',
13918: p_item_type, p_item_key, null, l_debug_info);
13919: raise;
13920: END SetPolicyInfo;
13921:

Line 13944: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetMissingReceiptInfo',

13940: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetMissingReceiptInfo');
13941:
13942: EXCEPTION
13943: WHEN OTHERS THEN
13944: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetMissingReceiptInfo',
13945: p_item_type, p_item_key, null, l_debug_info);
13946: raise;
13947: END SetMissingReceiptInfo;
13948:

Line 13992: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetProvideMissingInfo',

13988: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end SetProvideMissingInfo');
13989:
13990: EXCEPTION
13991: WHEN OTHERS THEN
13992: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'SetProvideMissingInfo',
13993: p_item_type, p_item_key, null, l_debug_info);
13994: raise;
13995: END SetProvideMissingInfo;
13996:

Line 14022: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ResetShortpayAdjustmentInfo',

14018:
14019: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end ResetShortpayAdjustmentInfo');
14020: EXCEPTION
14021: WHEN OTHERS THEN
14022: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'ResetShortpayAdjustmentInfo',
14023: p_item_type, p_item_key, null, l_debug_info);
14024: raise;
14025: END ResetShortpayAdjustmentInfo;
14026:

Line 14135: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckAPReviewResult',

14131: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end CheckAPReviewResult');
14132:
14133: EXCEPTION
14134: WHEN OTHERS THEN
14135: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'CheckAPReviewResult',
14136: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
14137: raise;
14138: END CheckAPReviewResult;
14139:

Line 14240: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AddToAuditQueue',

14236: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AddToAuditQueue');
14237:
14238: EXCEPTION
14239: WHEN OTHERS THEN
14240: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AddToAuditQueue',
14241: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
14242: raise;
14243: END AddToAuditQueue;
14244:

Line 14292: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'RemoveFromAuditQueue',

14288: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end RemoveFromAuditQueue');
14289:
14290: EXCEPTION
14291: WHEN OTHERS THEN
14292: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'RemoveFromAuditQueue',
14293: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
14294: raise;
14295: END RemoveFromAuditQueue;
14296:

Line 14557: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StoreNote',

14553: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end StoreNote');
14554:
14555: EXCEPTION
14556: WHEN OTHERS THEN
14557: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'StoreNote',
14558: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
14559: raise;
14560: END StoreNote;
14561:

Line 14639: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsPersonTerminated',

14635: END IF;
14636:
14637: EXCEPTION
14638: WHEN OTHERS THEN
14639: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsPersonTerminated',
14640: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
14641: raise;
14642: END IsEmployeeTerminated;
14643:

Line 14682: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsEmployeeActive',

14678: END IF;
14679:
14680: EXCEPTION
14681: WHEN OTHERS THEN
14682: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsEmployeeActive',
14683: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
14684: raise;
14685: END IsEmployeeActive;
14686:

Line 14724: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsManagerActive',

14720: END IF;
14721:
14722: EXCEPTION
14723: WHEN OTHERS THEN
14724: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsManagerActive',
14725: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
14726: raise;
14727: END IsManagerActive;
14728:

Line 14815: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetManagerInfoAndCheckStatus',

14811: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end GetManagerInfoAndCheckStatus');
14812:
14813: EXCEPTION
14814: WHEN OTHERS THEN
14815: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'GetManagerInfoAndCheckStatus',
14816: null, null, null, l_debug_info);
14817: raise;
14818: END GetManagerInfoAndCheckStatus;
14819:

Line 15050: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'InitSubmit',

15046: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end InitSubmit');
15047:
15048: EXCEPTION
15049: WHEN OTHERS THEN
15050: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'InitSubmit',
15051: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
15052: raise;
15053: END InitSubmit;
15054:

Line 15324: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

15320: 'AME_APPROVER_AUTHORITY',
15321: l_nextApproversOut(i).authority);
15322: exception
15323: when others then
15324: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
15325: -- AME_APPROVER_AUTHORITY item attribute doesn't exist, need to add it
15326: WF_ENGINE.AddItemAttr(p_item_type, l_childItemKey, 'AME_APPROVER_AUTHORITY');
15327: WF_ENGINE.SetItemAttrNumber(p_item_type,
15328: l_childItemKey,

Line 15384: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then

15380: p_item_key,
15381: 'APPLICATION_ID'));
15382: EXCEPTION
15383: WHEN OTHERS THEN
15384: if (wf_core.error_name = 'WFENG_ITEM_ATTR') then
15385: null;
15386: else
15387: raise;
15388: end if;

Line 15692: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMERequestApproval',

15688: l_special_instr);
15689:
15690: p_result := 'COMPLETE:NOAPPROVER';
15691: WHEN OTHERS THEN
15692: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMERequestApproval',
15693: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
15694: raise;
15695: END AMERequestApproval;
15696:

Line 15739: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMEGetApprovalType',

15735: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AMEGetApprovalType');
15736:
15737: EXCEPTION
15738: WHEN OTHERS THEN
15739: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMEGetApprovalType',
15740: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
15741: raise;
15742: END AMEGetApprovalType;
15743:

Line 15900: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMEPropagateApprovalResult',

15896: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AMEPropagateApprovalResult');
15897:
15898: EXCEPTION
15899: WHEN OTHERS THEN
15900: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMEPropagateApprovalResult',
15901: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
15902: raise;
15903: END AMEPropagateApprovalResult;
15904:

Line 15952: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMEGetApprovalResult',

15948: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AMEGetApprovalResult');
15949:
15950: EXCEPTION
15951: WHEN OTHERS THEN
15952: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMEGetApprovalResult',
15953: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
15954: raise;
15955: END AMEGetApprovalResult;
15956:

Line 16008: wf_core.get_error(l_err_name, l_err_msg, l_err_stack);

16004: p_item_key,
16005: p_actid,
16006: 'CHECK_ERROR');
16007: if l_check_error = 'Y' then
16008: wf_core.get_error(l_err_name, l_err_msg, l_err_stack);
16009: if (l_err_name = 'WFENG_NOT_NOTIFIED') then
16010: l_result := 'N';
16011: else
16012: raise;

Line 16050: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMECompleteApproval',

16046: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AMECompleteApproval');
16047:
16048: EXCEPTION
16049: WHEN OTHERS THEN
16050: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMECompleteApproval',
16051: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
16052: raise;
16053: END AMECompleteApproval;
16054:

Line 16112: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMESetCurrentApprover',

16108: AP_WEB_UTILITIES_PKG.logProcedure('AP_WEB_EXPENSE_WF', 'end AMESetCurrentApprover');
16109:
16110: EXCEPTION
16111: WHEN OTHERS THEN
16112: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'AMESetCurrentApprover',
16113: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
16114: raise;
16115: END AMESetCurrentApprover;
16116:

Line 16204: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsPreparerActive',

16200: END IF;
16201:
16202: EXCEPTION
16203: WHEN OTHERS THEN
16204: Wf_Core.Context('AP_WEB_EXPENSE_WF', 'IsPreparerActive',
16205: p_item_type, p_item_key, to_char(p_actid), l_debug_info);
16206: raise;
16207: END IsPreparerActive;
16208: