DBA Data[Home] [Help]

APPS.PA_PROJECT_PARTIES_PUB dependencies on PA_DEBUG

Line 63: pa_debug.debug('create_project_party: Checking the api version number.');

59: SAVEPOINT create_project_party;
60:
61: --- Standard call to check for call compatibility
62: if (p_debug_mode = 'Y') then
63: pa_debug.debug('create_project_party: Checking the api version number.');
64: end if;
65:
66: if NOT FND_API.Compatible_API_Call(l_api_version, p_api_version,
67: l_api_name, 'PA_PROJECT_PARTIES_PUB') then

Line 76: pa_debug.debug('Create_project_party: Initializing message stack.');

72:
73: --- Initialize the message stack if required
74:
75: if (p_debug_mode = 'Y') then
76: pa_debug.debug('Create_project_party: Initializing message stack.');
77: end if;
78: pa_debug.init_err_stack('Create_project_party_pub');
79:
80: if FND_API.to_boolean(nvl(p_init_msg_list,FND_API.G_TRUE)) then

Line 78: pa_debug.init_err_stack('Create_project_party_pub');

74:
75: if (p_debug_mode = 'Y') then
76: pa_debug.debug('Create_project_party: Initializing message stack.');
77: end if;
78: pa_debug.init_err_stack('Create_project_party_pub');
79:
80: if FND_API.to_boolean(nvl(p_init_msg_list,FND_API.G_TRUE)) then
81: fnd_msg_pub.initialize;
82: end if;

Line 298: pa_debug.reset_err_stack;

294: ,p_msg_index_out => l_msg_index_out
295: );
296: END IF;
297: --dbms_output.put_line('Check9');
298: pa_debug.reset_err_stack;
299:
300: EXCEPTION
301: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
302: --dbms_output.put_line('Check10');

Line 316: p_procedure_name => pa_debug.G_err_stack,

312: WHEN OTHERS THEN
313: rollback to create_project_party;
314: x_return_status := fnd_api.g_ret_sts_error;
315: fnd_msg_pub.add_exc_msg(p_pkg_name => 'PA_PROJECT_PARTIES_PUB',
316: p_procedure_name => pa_debug.G_err_stack,
317: p_error_text => SUBSTRB(SQLERRM,1,240));
318: raise;
319:
320: END CREATE_PROJECT_PARTY;

Line 376: pa_debug.debug('Update_project_party: Checking he api version number.');

372: BEGIN
373: SAVEPOINT update_project_party;
374: --- Standard call to check for call compatibility
375: if (p_debug_mode = 'Y') then
376: pa_debug.debug('Update_project_party: Checking he api version number.');
377: end if;
378:
379: if NOT FND_API.Compatible_API_Call(l_api_version, p_api_version,
380: l_api_name, 'PA_PROJECT_PARTIES_PUB') then

Line 385: pa_debug.init_err_stack('Update_project_party_pub');

381: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
382: end if;
383:
384: ------dbms_output.put_line('Before initializing the stack');
385: pa_debug.init_err_stack('Update_project_party_pub');
386:
387: --- Initialize the message stack if required
388:
389: if (p_debug_mode = 'Y') then

Line 390: pa_debug.debug('Update_project_party: Initializing message stack.');

386:
387: --- Initialize the message stack if required
388:
389: if (p_debug_mode = 'Y') then
390: pa_debug.debug('Update_project_party: Initializing message stack.');
391: end if;
392:
393: if FND_API.to_boolean(nvl(p_init_msg_list,FND_API.G_TRUE)) then
394: fnd_msg_pub.initialize;

Line 506: pa_debug.reset_err_stack;

502: ,p_msg_index_out => l_msg_index_out
503: );
504: END IF;
505:
506: pa_debug.reset_err_stack;
507:
508: EXCEPTION
509: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
510: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 524: p_procedure_name => pa_debug.g_err_stack,

520: WHEN OTHERS THEN
521: rollback to update_project_party;
522: x_return_status := fnd_api.g_ret_sts_error;
523: fnd_msg_pub.add_exc_msg(p_pkg_name => 'PA_PROJECT_PARTIES_PUB',
524: p_procedure_name => pa_debug.g_err_stack,
525: p_error_text => SUBSTRB(SQLERRM,1,240));
526: raise;
527:
528: end update_project_party;

Line 560: pa_debug.debug('Delete_project_party: Checking he api version number.');

556:
557: BEGIN
558: --- Standard call to check for call compatibility
559: if (p_debug_mode = 'Y') then
560: pa_debug.debug('Delete_project_party: Checking he api version number.');
561: end if;
562:
563: if NOT FND_API.Compatible_API_Call(l_api_version, p_api_version,
564: l_api_name, 'PA_PROJECT_PARTIES_PUB') then

Line 569: pa_debug.init_err_stack('Delete_project_party_pub');

565: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
566: end if;
567:
568: ------dbms_output.put_line('Before initializing the stack');
569: pa_debug.init_err_stack('Delete_project_party_pub');
570:
571: --- Initialize the message stack if required
572:
573: if (p_debug_mode = 'Y') then

Line 574: pa_debug.debug('Delete_project_party: Initializing message stack.');

570:
571: --- Initialize the message stack if required
572:
573: if (p_debug_mode = 'Y') then
574: pa_debug.debug('Delete_project_party: Initializing message stack.');
575: end if;
576:
577: if FND_API.to_boolean(nvl(p_init_msg_list,fnd_api.G_TRUE)) then
578: fnd_msg_pub.initialize;

Line 588: pa_debug.debug('Delete_project_party : Before delete from pa_project_players ');

584: x_return_status := FND_API.G_RET_STS_SUCCESS;
585:
586:
587: if (p_debug_mode = 'Y') then
588: pa_debug.debug('Delete_project_party : Before delete from pa_project_players ');
589: end if;
590:
591: if p_scheduled_flag = 'Y' and p_calling_module = 'PROJECT_MEMBER' then
592: -- call delete assignment api

Line 633: pa_debug.reset_err_stack;

629: ,p_msg_index_out => l_msg_index_out
630: );
631: END IF;
632:
633: pa_debug.reset_err_stack;
634:
635: EXCEPTION
636:
637: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 650: pa_debug.debug('Delete_project_party : Exception NO_DATA_FOUND ');

646:
647: WHEN NO_DATA_FOUND THEN
648:
649: if (p_debug_mode = 'Y') then
650: pa_debug.debug('Delete_project_party : Exception NO_DATA_FOUND ');
651: end if;
652:
653: fnd_message.set_name('PA', 'PA_XC_NO_DATA_FOUND');
654: x_return_status := FND_API.G_RET_STS_ERROR;

Line 659: pa_debug.debug('Delete_project_party : Exception OTHERS ');

655:
656: WHEN OTHERS then
657:
658: if (p_debug_mode = 'Y') then
659: pa_debug.debug('Delete_project_party : Exception OTHERS ');
660: end if;
661:
662: if(SQLCODE = -54) then
663: FND_MESSAGE.Set_Name('PA', 'PA_XC_ROW_ALREADY_LOCKED');

Line 671: p_procedure_name => pa_debug.g_err_stack,

667: x_msg_data := FND_MESSAGE.get;
668: x_return_status := FND_API.G_RET_STS_ERROR;
669: else
670: fnd_msg_pub.add_exc_msg(p_pkg_name => 'PA_PROJECT_PARTIES_PUB',
671: p_procedure_name => pa_debug.g_err_stack,
672: p_error_text => SUBSTRB(SQLERRM,1,240));
673: x_return_status := FND_API.G_RET_STS_ERROR;
674: end if;
675:

Line 803: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);

799: SAVEPOINT create_project_party_wrp;
800: if p_debug_mode = 'Y' then
801: l_debug_mode:='Y';
802: end if;
803: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
804: l_debug_mode := NVL(l_debug_mode, 'N');
805:
806: if (l_debug_mode = 'Y') then
807: pa_debug.debug('create_project_party-wrp: Begin');

Line 807: pa_debug.debug('create_project_party-wrp: Begin');

803: fnd_profile.get('PA_DEBUG_MODE',l_debug_mode);
804: l_debug_mode := NVL(l_debug_mode, 'N');
805:
806: if (l_debug_mode = 'Y') then
807: pa_debug.debug('create_project_party-wrp: Begin');
808: end if;
809:
810: if (l_debug_mode = 'Y') then
811: pa_debug.debug('Create_project_party: Initializing message stack.');

Line 811: pa_debug.debug('Create_project_party: Initializing message stack.');

807: pa_debug.debug('create_project_party-wrp: Begin');
808: end if;
809:
810: if (l_debug_mode = 'Y') then
811: pa_debug.debug('Create_project_party: Initializing message stack.');
812: end if;
813: IF l_debug_mode = 'Y' THEN
814: pa_debug.set_curr_function( p_function => 'CREATE_PROJECT_PARTY_WRP'
815: ,p_debug_mode => l_debug_mode);

Line 814: pa_debug.set_curr_function( p_function => 'CREATE_PROJECT_PARTY_WRP'

810: if (l_debug_mode = 'Y') then
811: pa_debug.debug('Create_project_party: Initializing message stack.');
812: end if;
813: IF l_debug_mode = 'Y' THEN
814: pa_debug.set_curr_function( p_function => 'CREATE_PROJECT_PARTY_WRP'
815: ,p_debug_mode => l_debug_mode);
816: END IF;
817: x_return_status := FND_API.G_RET_STS_SUCCESS;
818: x_msg_count := 0;

Line 894: PA_DEBUG.Reset_Curr_Function;

890: raise FND_API.G_EXC_ERROR;
891: END IF;
892: /* end if call create_project_party */
893: IF l_debug_mode = 'Y' THEN
894: PA_DEBUG.Reset_Curr_Function;
895: END IF;
896:
897: EXCEPTION
898: WHEN FND_API.G_EXC_ERROR