401: END IF;
402:
403: -- Gather the data we need to call validation in PA
404: IF (X_dist_tab(i).project_id is not null) then
405: user_id := to_number(FND_PROFILE.VALUE('USER_ID'));
406: l_pa_allows_overrides :=
407: FND_PROFILE.VALUE('PA_ALLOW_FLEXBUILDER_OVERRIDES');
408: BEGIN
409: SELECT employee_id
403: -- Gather the data we need to call validation in PA
404: IF (X_dist_tab(i).project_id is not null) then
405: user_id := to_number(FND_PROFILE.VALUE('USER_ID'));
406: l_pa_allows_overrides :=
407: FND_PROFILE.VALUE('PA_ALLOW_FLEXBUILDER_OVERRIDES');
408: BEGIN
409: SELECT employee_id
410: INTO l_employee_id
411: FROM ap_suppliers /* Bug 4718054 */
2481:
2482: BEGIN
2483:
2484: SAVEPOINT CANCEL_CHECK; --9100425
2485: fnd_profile.get('AP_ENHANCED_DEBUGGING',l_cancel_proactive_flag); --9100425
2486:
2487: l_shipment_amt_billed := 0;
2488: l_shipment_qty_billed := 0;
2489: l_shipment_amt_recouped := 0;