DBA Data[Home] [Help]

APPS.WSH_BATCH_PROCESS dependencies on FND_CONCURRENT

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

2274: WSH_UTIL_CORE.PrintMsg('No. of Errors : ' || l_count);
2275: --
2276: l_completion_status := 'WARNING';
2277: WSH_UTIL_CORE.PrintMsg('Adjust Planned Flag error');
2278: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2279: errbuf := 'Automated Ship Confirm is completed with warning';
2280: retcode := '1';
2281: IF l_debug_on THEN
2282: WSH_DEBUG_SV.pop(l_module_name);

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

2284:
2285: WHEN WSH_MISSING_SC_RULE THEN
2286: l_completion_status := 'WARNING';
2287: WSH_UTIL_CORE.PrintMsg('Ship Confirm Rule is not found or has expired');
2288: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2289: errbuf := 'Automated Ship Confirm is completed with warning';
2290: retcode := '1';
2291: IF l_debug_on THEN
2292: WSH_DEBUG_SV.pop(l_module_name);

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

2294:
2295: WHEN WSH_MISSING_SC_BATCH_PREFIX THEN
2296: l_completion_status := 'WARNING';
2297: WSH_UTIL_CORE.PrintMsg('You need to specify Ship Confirm Batch Prefix');
2298: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2299: errbuf := 'Automated Ship Confirm is completed with warning';
2300: retcode := '1';
2301: IF l_debug_on THEN
2302: WSH_DEBUG_SV.pop(l_module_name);

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

2304:
2305: WHEN WSH_NO_FUTURE_SHIPDATE THEN
2306: l_completion_status := 'WARNING';
2307: 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');
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_SELECT_ERR THEN
2316: l_completion_status := 'WARNING';
2317: WSH_UTIL_CORE.PrintMsg('Failed to select deliveries for the batch');
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_SC_BATCH_ERR THEN
2326: l_completion_status := 'WARNING';
2327: WSH_UTIL_CORE.PrintMsg('Ship Confirm failed for this batch');
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 2341: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');

2337: l_error_code := SQLCODE;
2338: l_error_text := SQLERRM;
2339: WSH_UTIL_CORE.PrintMsg('Confirm Delivery SRS failed with unexpected error.');
2340: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
2341: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2342: errbuf := 'Automated Ship Confirm failed with unexpected error';
2343: retcode := '2';
2344: IF l_debug_on THEN
2345: WSH_DEBUG_SV.pop(l_module_name);

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

2683:
2684: WHEN WSH_INVALID_AUTO_PACK_LEVEL THEN
2685: l_completion_status := 'WARNING';
2686: WSH_UTIL_CORE.PrintMsg('Invalid Auto Packing Level');
2687: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2688: errbuf := 'Auto Pack Deliveries is completed with warning';
2689: retcode := '1';
2690: IF l_debug_on THEN
2691: WSH_DEBUG_SV.pop(l_module_name);

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

2693:
2694: WHEN WSH_PK_BATCH_ERR THEN
2695: l_completion_status := 'WARNING';
2696: WSH_UTIL_CORE.PrintMsg('Auto Pack Deliveries failed for this batch');
2697: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2698: errbuf := 'Auto Pack Deliveries is completed with warning';
2699: retcode := '1';
2700: IF l_debug_on THEN
2701: WSH_DEBUG_SV.pop(l_module_name);

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

2703:
2704: WHEN WSH_SELECT_ERR THEN
2705: l_completion_status := 'WARNING';
2706: WSH_UTIL_CORE.PrintMsg('Failed to select deliveries for the batch');
2707: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2708: errbuf := 'Auto Pack Deliveries is completed with warning';
2709: retcode := '1';
2710: IF l_debug_on THEN
2711: WSH_DEBUG_SV.pop(l_module_name);

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

2716: l_error_code := SQLCODE;
2717: l_error_text := SQLERRM;
2718: WSH_UTIL_CORE.PrintMsg('Auto Pack Deliveries SRS failed with unexpected error.');
2719: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
2720: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
2721: errbuf := 'Auto Pack Deliveries failed with unexpected error';
2722: retcode := '2';
2723: IF l_debug_on THEN
2724: WSH_DEBUG_SV.pop(l_module_name);

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

4286: END IF;
4287:
4288: errbuf := 'Process Deliveries is completed successfully';
4289: retcode := '0';
4290: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4291:
4292: IF l_debug_on THEN
4293: WSH_DEBUG_SV.pop(l_module_name);
4294: END IF;

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

4297: EXCEPTION
4298:
4299: WHEN Create_Consolidated_Trips_ERR THEN
4300: l_completion_status := 'WARNING';
4301: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4302: errbuf := 'Process Deliveries completed with warnings';
4303: retcode := '1';
4304: IF l_debug_on THEN
4305: WSH_DEBUG_SV.pop(l_module_name);

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

4306: END IF;
4307:
4308: WHEN Process_Delivery_Lines_ERR THEN
4309: l_completion_status := 'WARNING';
4310: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4311: errbuf := 'Process Deliveries completed with warnings';
4312: retcode := '1';
4313: IF l_debug_on THEN
4314: WSH_DEBUG_SV.pop(l_module_name);

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

4317: WHEN WSH_SELECT_ERR THEN
4318: WSH_UTIL_CORE.PrintMsg('Error Messages: ' || l_msg_data);
4319: l_completion_status := 'ERROR';
4320: WSH_UTIL_CORE.PrintMsg('Failed to select delivery lines for processing');
4321: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4322: errbuf := 'Process Deliveries is completed with warning';
4323: retcode := '1';
4324: IF l_debug_on THEN
4325: WSH_DEBUG_SV.pop(l_module_name);

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

4326: END IF;
4327:
4328: WHEN Parameters_ERR THEN
4329: l_completion_status := 'WARNING';
4330: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4331: errbuf := 'Process Deliveries is completed with warning';
4332: retcode := '1';
4333: IF l_debug_on THEN
4334: WSH_DEBUG_SV.pop(l_module_name);

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

4340: l_error_code := SQLCODE;
4341: l_error_text := SQLERRM;
4342: WSH_UTIL_CORE.PrintMsg('Process Deliveries SRS failed with unexpected error.');
4343: WSH_UTIL_CORE.PrintMsg('The unexpected error is ' || l_error_text);
4344: l_temp := FND_CONCURRENT.SET_COMPLETION_STATUS(l_completion_status,'');
4345: errbuf := 'Process Deliveries failed with unexpected error';
4346: retcode := '2';
4347: IF l_debug_on THEN
4348: WSH_DEBUG_SV.pop(l_module_name);