DBA Data[Home] [Help]

APPS.EAM_WORKORDERS_JSP dependencies on EAM_DEBUG

Line 123: eam_debug.init_err_stack('eam_workorders_jsp.add_exist_work_order');

119: BEGIN
120:
121: SAVEPOINT add_exist_work_order;
122:
123: eam_debug.init_err_stack('eam_workorders_jsp.add_exist_work_order');
124:
125: IF NOT FND_API.COMPATIBLE_API_CALL(l_api_version,
126: p_api_version,
127: l_api_name,

Line 222: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')

218: , x_eam_op_comp_tbl => l_out_eam_op_comp_tbl
219: , x_eam_request_tbl => l_out_eam_request_tbl
220: , x_return_status => x_return_status
221: , x_msg_count => x_msg_count
222: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')
223: , p_debug_filename => 'addexistwo.log'
224: , p_output_dir => l_output_dir
225: , p_commit => 'N'
226: , p_debug_file_mode => 'w'

Line 245: p_procedure_name => EAM_DEBUG.G_err_stack);

241: IF p_commit = FND_API.G_TRUE THEN
242: ROLLBACK TO add_exist_work_order;
243: END IF;
244: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'eam_workorders_jsp.ADD_EXIST_WORK_ORDER',
245: p_procedure_name => EAM_DEBUG.G_err_stack);
246: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
247: WHEN FND_API.G_EXC_ERROR THEN
248: IF p_commit = FND_API.G_TRUE THEN
249: ROLLBACK TO add_exist_work_order;

Line 253: p_procedure_name => EAM_DEBUG.G_err_stack);

249: ROLLBACK TO add_exist_work_order;
250: END IF;
251:
252: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'eam_workorders_jsp.ADD_EXIST_WORK_ORDER',
253: p_procedure_name => EAM_DEBUG.G_err_stack);
254: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
255:
256: WHEN OTHERS THEN -- all dml excpetion
257: IF p_commit = FND_API.G_TRUE THEN

Line 262: p_procedure_name => EAM_DEBUG.G_err_stack);

258: ROLLBACK TO add_exist_work_order;
259: END IF;
260:
261: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'eam_workorders_jsp.ADD_EXIST_WORK_ORDER',
262: p_procedure_name => EAM_DEBUG.G_err_stack);
263:
264:
265: END add_exist_work_order;
266:

Line 445: eam_debug.init_err_stack('eam_workorders_jsp.complete_workorder');

441: IF p_commit = FND_API.G_TRUE THEN
442: SAVEPOINT complete_workorder;
443: END IF;
444:
445: eam_debug.init_err_stack('eam_workorders_jsp.complete_workorder');
446:
447: IF NOT FND_API.COMPATIBLE_API_CALL(l_api_version,
448: p_api_version,
449: l_api_name,

Line 916: p_procedure_name => EAM_DEBUG.G_err_stack);

912: ROLLBACK TO complete_workorder;
913: END IF;
914:
915: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'EAM_WORKORDERS_JSP.COMPLETE_WORKORDER',
916: p_procedure_name => EAM_DEBUG.G_err_stack);
917: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
918: WHEN FND_API.G_EXC_ERROR THEN
919: IF p_commit = FND_API.G_TRUE THEN
920: ROLLBACK TO complete_workorder;

Line 924: p_procedure_name => EAM_DEBUG.G_err_stack);

920: ROLLBACK TO complete_workorder;
921: END IF;
922:
923: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'EAM_WORKORDERS_JSP.COMPLETE_WORKORDER',
924: p_procedure_name => EAM_DEBUG.G_err_stack);
925: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
926: WHEN OTHERS THEN
927: IF p_commit = FND_API.G_TRUE THEN
928: ROLLBACK TO complete_workorder;

Line 932: p_procedure_name => EAM_DEBUG.G_err_stack);

928: ROLLBACK TO complete_workorder;
929: END IF;
930:
931: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'EAM_WORKORDERS_JSP.COMPLETE_WORKORDER',
932: p_procedure_name => EAM_DEBUG.G_err_stack);
933: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
934: END Complete_Workorder;
935:
936:

Line 1244: eam_debug.init_err_stack('eam_workorders_jsp.create_easy_work_order');

1240: x_msg_count := 0;
1241:
1242: SAVEPOINT create_easy_work_order;
1243:
1244: eam_debug.init_err_stack('eam_workorders_jsp.create_easy_work_order');
1245:
1246: IF NOT FND_API.COMPATIBLE_API_CALL(l_api_version,
1247: p_api_version,
1248: l_api_name,

Line 1994: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')

1990: , x_eam_op_comp_tbl => l_out_eam_op_comp_tbl
1991: , x_eam_request_tbl => l_out_eam_request_tbl
1992: , x_return_status => l_return_status
1993: , x_msg_count => l_msg_count
1994: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')
1995: , p_debug_filename => 'updatewoss.log'
1996: , p_output_dir =>l_output_dir
1997: , p_commit => 'N'
1998: , p_debug_file_mode => 'w'

Line 2317: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')

2313: , x_eam_op_comp_tbl => l_out_eam_op_comp_tbl
2314: , x_eam_request_tbl => l_out_eam_request_tbl
2315: , x_return_status => l_return_status
2316: , x_msg_count => l_msg_count
2317: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')
2318: , p_debug_filename => 'createwoss.log'
2319: , p_output_dir => l_output_dir
2320: , p_commit => 'N'
2321: , p_debug_file_mode => 'w'

Line 2474: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')

2470: , x_eam_op_comp_tbl => l_out_eam_op_comp_tbl
2471: , x_eam_request_tbl => l_out_eam_request_tbl
2472: , x_return_status => l_return_status
2473: , x_msg_count => l_msg_count
2474: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')
2475: , p_debug_filename => 'createrelss.log'
2476: , p_output_dir => l_output_dir
2477: , p_commit => 'N'
2478: , p_debug_file_mode => 'w'

Line 2531: p_procedure_name => EAM_DEBUG.G_err_stack);

2527: IF p_commit = FND_API.G_TRUE THEN
2528: ROLLBACK TO create_easy_work_order;
2529: END IF;
2530: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'eam_workorders_jsp.CREATE_EASY_WORK_ORDER',
2531: p_procedure_name => EAM_DEBUG.G_err_stack);
2532: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2533: WHEN FND_API.G_EXC_ERROR THEN
2534: IF p_commit = FND_API.G_TRUE THEN
2535: ROLLBACK TO create_easy_work_order;

Line 2539: p_procedure_name => EAM_DEBUG.G_err_stack);

2535: ROLLBACK TO create_easy_work_order;
2536: END IF;
2537:
2538: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'eam_workorders_jsp.CREATE_EASY_WORK_ORDER',
2539: p_procedure_name => EAM_DEBUG.G_err_stack);
2540: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2541:
2542: WHEN OTHERS THEN -- all dml excpetion
2543: IF p_commit = FND_API.G_TRUE THEN

Line 2548: p_procedure_name => EAM_DEBUG.G_err_stack);

2544: ROLLBACK TO create_easy_work_order;
2545: END IF;
2546:
2547: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'eam_workorders_jsp.CREATE_EASY_WORK_ORDER',
2548: p_procedure_name => EAM_DEBUG.G_err_stack);
2549: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2550:
2551: end create_ez_work_order;
2552:

Line 2610: eam_debug.init_err_stack('eam_workorders_jsp.update_work_order');

2606: IF p_commit = FND_API.G_TRUE THEN
2607: SAVEPOINT complete_workorder;
2608: END IF;
2609:
2610: eam_debug.init_err_stack('eam_workorders_jsp.update_work_order');
2611:
2612: IF NOT FND_API.COMPATIBLE_API_CALL(l_api_version,
2613: p_api_version,
2614: l_api_name,

Line 2770: p_procedure_name => EAM_DEBUG.G_err_stack);

2766: ROLLBACK TO complete_workorder;
2767: END IF;
2768:
2769: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'EAM_WORKORDERS_JSP.update_work_order',
2770: p_procedure_name => EAM_DEBUG.G_err_stack);
2771: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2772: WHEN FND_API.G_EXC_ERROR THEN
2773: IF p_commit = FND_API.G_TRUE THEN
2774: ROLLBACK TO complete_workorder;

Line 2778: p_procedure_name => EAM_DEBUG.G_err_stack);

2774: ROLLBACK TO complete_workorder;
2775: END IF;
2776:
2777: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'EAM_WORKORDERS_JSP.update_work_order',
2778: p_procedure_name => EAM_DEBUG.G_err_stack);
2779: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2780: WHEN OTHERS THEN
2781: IF p_commit = FND_API.G_TRUE THEN
2782: ROLLBACK TO complete_workorder;

Line 2786: p_procedure_name => EAM_DEBUG.G_err_stack);

2782: ROLLBACK TO complete_workorder;
2783: END IF;
2784:
2785: FND_MSG_PUB.add_exc_msg( p_pkg_name => 'EAM_WORKORDERS_JSP.update_work_order',
2786: p_procedure_name => EAM_DEBUG.G_err_stack);
2787: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2788: END update_work_order;
2789:
2790: procedure get_completion_defaults (

Line 2808: eam_debug.init_err_stack('eam_workorders_jsp.' || l_api_name);

2804: l_sched_start_date date := null;
2805: l_sched_end_date date := null;
2806: l_actual_comp_date_preference varchar2(1);
2807: begin
2808: eam_debug.init_err_stack('eam_workorders_jsp.' || l_api_name);
2809:
2810: --initialize so at sysdate is returned when 1) no completed operations exist
2811: -- 2) some other error takes place
2812: x_start_date := sysdate;

Line 2900: eam_debug.init_err_stack('Exception has occured in ' || l_api_name);

2896: exception
2897: when others then
2898: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2899: x_msg_data := x_msg_data || ' UNEXPECTED ERROR: ' || SQLERRM;
2900: eam_debug.init_err_stack('Exception has occured in ' || l_api_name);
2901: end get_completion_defaults;
2902:
2903:
2904: procedure Add_WorkOrder_Dependency (

Line 3061: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')

3057: , x_return_status => l_return_status
3058: , x_msg_count => l_msg_count
3059: -- , x_error_msg_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.error_tbl_type
3060: , p_commit => FND_API.G_TRUE
3061: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')
3062: , p_debug_filename => 'adddepen.log'
3063: , p_output_dir => l_output_dir
3064: , p_debug_file_mode => 'W'
3065: );

Line 3256: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')

3252: , x_return_status => l_return_status
3253: , x_msg_count => l_msg_count
3254: -- , x_error_msg_tbl OUT NOCOPY EAM_ERROR_MESSAGE_PVT.error_tbl_type
3255: , p_commit => p_commit
3256: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')
3257: , p_debug_filename => 'deldepen.log'
3258: , p_output_dir => l_output_dir
3259: , p_debug_file_mode => 'W'
3260: );

Line 3524: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')

3520: , x_eam_op_comp_tbl => l_out_eam_op_comp_tbl
3521: , x_eam_request_tbl => l_out_eam_request_tbl
3522: , x_return_status => x_return_status
3523: , x_msg_count => x_msg_count
3524: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')
3525: , p_debug_filename => 'deletecosthier.log'
3526: , p_output_dir => l_output_dir
3527: , p_commit => p_commit
3528: , p_debug_file_mode => 'A'

Line 3602: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')

3598: , x_eam_op_comp_tbl => l_out_eam_op_comp_tbl
3599: , x_eam_request_tbl => l_out_eam_request_tbl
3600: , x_return_status => x_return_status
3601: , x_msg_count => x_msg_count
3602: , p_debug => NVL(fnd_profile.value('EAM_DEBUG'), 'N')
3603: , p_debug_filename =>'createcosthier.log'
3604: , p_output_dir => l_output_dir
3605: , p_commit => p_commit
3606: , p_debug_file_mode => 'A'