DBA Data[Home] [Help]

APPS.WSH_BATCH_PROCESS dependencies on FND_CONCURRENT

Line 2308: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2304: WSH_UTIL_CORE.PrintMsg('No. of Errors : ' || l_count);
2305: --
2306: l_completion_status := 'WARNING';
2307: WSH_UTIL_CORE.PrintMsg('Adjust Planned Flag error');
2308: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2309: errbuf := 'Automated Ship Confirm is completed with warning';
2310: retcode := '1';
2311: IF l_debug_on THEN
2312: WSH_DEBUG_SV.pop(l_module_name);

Line 2318: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2314:
2315: WHEN WSH_MISSING_SC_RULE THEN
2316: l_completion_status := 'WARNING';
2317: WSH_UTIL_CORE.PrintMsg('Ship Confirm Rule is not found or has expired');
2318: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2319: errbuf := 'Automated Ship Confirm is completed with warning';
2320: retcode := '1';
2321: IF l_debug_on THEN
2322: WSH_DEBUG_SV.pop(l_module_name);

Line 2328: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2324:
2325: WHEN WSH_MISSING_SC_BATCH_PREFIX THEN
2326: l_completion_status := 'WARNING';
2327: WSH_UTIL_CORE.PrintMsg('You need to specify Ship Confirm Batch Prefix');
2328: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2329: errbuf := 'Automated Ship Confirm is completed with warning';
2330: retcode := '1';
2331: IF l_debug_on THEN
2332: WSH_DEBUG_SV.pop(l_module_name);

Line 2338: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2334:
2335: WHEN WSH_NO_FUTURE_SHIPDATE THEN
2336: l_completion_status := 'WARNING';
2337: WSH_UTIL_CORE.PrintMsg('No Lines were selected for Ship Confirmation because Allow Future Ship Date Parameter is disabled and Actual Ship Date is greater than current system date');
2338: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2339: errbuf := 'Automated Ship Confirm is completed with warning';
2340: retcode := '1';
2341: IF l_debug_on THEN
2342: WSH_DEBUG_SV.pop(l_module_name);

Line 2348: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2344:
2345: WHEN WSH_SELECT_ERR THEN
2346: l_completion_status := 'WARNING';
2347: WSH_UTIL_CORE.PrintMsg('Failed to select deliveries for the batch');
2348: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2349: errbuf := 'Automated Ship Confirm is completed with warning';
2350: retcode := '1';
2351: IF l_debug_on THEN
2352: WSH_DEBUG_SV.pop(l_module_name);

Line 2358: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2354:
2355: WHEN WSH_SC_BATCH_ERR THEN
2356: l_completion_status := 'WARNING';
2357: WSH_UTIL_CORE.PrintMsg('Ship Confirm failed for this batch');
2358: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2359: errbuf := 'Automated Ship Confirm is completed with warning';
2360: retcode := '1';
2361: IF l_debug_on THEN
2362: WSH_DEBUG_SV.pop(l_module_name);

Line 2371: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2367: l_error_code := SQLCODE;
2368: l_error_text := SQLERRM;
2369: WSH_UTIL_CORE.PrintMsg('Confirm Delivery SRS failed with unexpected error.');
2370: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
2371: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2372: errbuf := 'Automated Ship Confirm failed with unexpected error';
2373: retcode := '2';
2374: IF l_debug_on THEN
2375: WSH_DEBUG_SV.pop(l_module_name);

Line 2717: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2713:
2714: WHEN WSH_INVALID_AUTO_PACK_LEVEL THEN
2715: l_completion_status := 'WARNING';
2716: WSH_UTIL_CORE.PrintMsg('Invalid Auto Packing Level');
2717: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2718: errbuf := 'Auto Pack Deliveries is completed with warning';
2719: retcode := '1';
2720: IF l_debug_on THEN
2721: WSH_DEBUG_SV.pop(l_module_name);

Line 2727: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2723:
2724: WHEN WSH_PK_BATCH_ERR THEN
2725: l_completion_status := 'WARNING';
2726: WSH_UTIL_CORE.PrintMsg('Auto Pack Deliveries failed for this batch');
2727: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2728: errbuf := 'Auto Pack Deliveries is completed with warning';
2729: retcode := '1';
2730: IF l_debug_on THEN
2731: WSH_DEBUG_SV.pop(l_module_name);

Line 2737: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2733:
2734: WHEN WSH_SELECT_ERR THEN
2735: l_completion_status := 'WARNING';
2736: WSH_UTIL_CORE.PrintMsg('Failed to select deliveries for the batch');
2737: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2738: errbuf := 'Auto Pack Deliveries is completed with warning';
2739: retcode := '1';
2740: IF l_debug_on THEN
2741: WSH_DEBUG_SV.pop(l_module_name);

Line 2750: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2746: l_error_code := SQLCODE;
2747: l_error_text := SQLERRM;
2748: WSH_UTIL_CORE.PrintMsg('Auto Pack Deliveries SRS failed with unexpected error.');
2749: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
2750: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2751: errbuf := 'Auto Pack Deliveries failed with unexpected error';
2752: retcode := '2';
2753: IF l_debug_on THEN
2754: WSH_DEBUG_SV.pop(l_module_name);

Line 4443: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

4439: END IF;
4440:
4441: errbuf := 'Process Deliveries is completed successfully';
4442: retcode := '0';
4443: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4444:
4445: IF l_debug_on THEN
4446: WSH_DEBUG_SV.pop(l_module_name);
4447: END IF;

Line 4454: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

4450: EXCEPTION
4451:
4452: WHEN Create_Consolidated_Trips_ERR THEN
4453: l_completion_status := 'WARNING';
4454: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4455: errbuf := 'Process Deliveries completed with warnings';
4456: retcode := '1';
4457: IF l_debug_on THEN
4458: WSH_DEBUG_SV.pop(l_module_name);

Line 4463: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

4459: END IF;
4460:
4461: WHEN Process_Delivery_Lines_ERR THEN
4462: l_completion_status := 'WARNING';
4463: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4464: errbuf := 'Process Deliveries completed with warnings';
4465: retcode := '1';
4466: IF l_debug_on THEN
4467: WSH_DEBUG_SV.pop(l_module_name);

Line 4474: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

4470: WHEN WSH_SELECT_ERR THEN
4471: WSH_UTIL_CORE.PrintMsg('Error Messages: ' || l_msg_data);
4472: l_completion_status := 'ERROR';
4473: WSH_UTIL_CORE.PrintMsg('Failed to select delivery lines for processing');
4474: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4475: errbuf := 'Process Deliveries is completed with warning';
4476: retcode := '1';
4477: IF l_debug_on THEN
4478: WSH_DEBUG_SV.pop(l_module_name);

Line 4483: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

4479: END IF;
4480:
4481: WHEN Parameters_ERR THEN
4482: l_completion_status := 'WARNING';
4483: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4484: errbuf := 'Process Deliveries is completed with warning';
4485: retcode := '1';
4486: IF l_debug_on THEN
4487: WSH_DEBUG_SV.pop(l_module_name);

Line 4497: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

4493: l_error_code := SQLCODE;
4494: l_error_text := SQLERRM;
4495: WSH_UTIL_CORE.PrintMsg('Process Deliveries SRS failed with unexpected error.');
4496: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
4497: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4498: errbuf := 'Process Deliveries failed with unexpected error';
4499: retcode := '2';
4500: IF l_debug_on THEN
4501: WSH_DEBUG_SV.pop(l_module_name);