DBA Data[Home] [Help]

APPS.PA_TEAM_TEMPLATES_PVT dependencies on FND_MSG_PUB

Line 184: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATES_PVT.Apply_Team_Template'

180: --Setting the original value
181: wf_engine.threshold := l_save_threshold;
182:
183: -- Set the excetption Message and the stack
184: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATES_PVT.Apply_Team_Template'
185: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
186: --
187: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
188: RAISE;

Line 224: FND_MSG_PUB.initialize;

220:
221: BEGIN
222:
223: --initialize the message stack.
224: FND_MSG_PUB.initialize;
225:
226: IF (p_funcmode = 'RUN') THEN
227:
228: --set the check ID flag to 'N'

Line 283: l_msg_count := FND_MSG_PUB.Count_Msg;

279: p_project_calendar_id => l_project_calendar_id,
280: p_commit => FND_API.G_TRUE,
281: x_return_status => l_return_status);
282:
283: l_msg_count := FND_MSG_PUB.Count_Msg;
284:
285: IF l_msg_count = 0 THEN
286: p_result := 'COMPLETE:S';
287: ELSE

Line 290: FND_MSG_PUB.get( p_encoded => FND_API.G_FALSE

286: p_result := 'COMPLETE:S';
287: ELSE
288: p_result := 'COMPLETE:F';
289: FOR l_count IN 1..l_msg_count LOOP
290: FND_MSG_PUB.get( p_encoded => FND_API.G_FALSE
291: ,p_msg_index => l_count
292: ,p_data => l_msg_data
293: ,p_msg_index_out => l_msg_index_out);
294:

Line 343: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATES_PVT.Apply_Team_Template'

339: EXCEPTION
340:
341: WHEN OTHERS THEN
342: -- Set the excetption Message and the stack
343: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATES_PVT.Apply_Team_Template'
344: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
345: RAISE;
346:
347:

Line 571: IF FND_MSG_PUB.Count_Msg = 0 THEN

567: CLOSE get_team_template_subteams;
568:
569: --get the template requirements to be copied if there are no
570: --validation errors.
571: IF FND_MSG_PUB.Count_Msg = 0 THEN
572:
573: OPEN get_template_req_attributes(p_team_template_id);
574:
575: LOOP

Line 705: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATES_PVT.Apply_Team_Template'

701: ROLLBACK TO ASG_PVT_APPLY_TEAM_TEMPLATE;
702: END IF;
703:
704: -- Set the excetption Message and the stack
705: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATES_PVT.Apply_Team_Template'
706: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
707: --
708: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
709: RAISE;

Line 768: IF p_validate_only = FND_API.G_FALSE AND FND_MSG_PUB.Count_Msg = 0 THEN

764: ,p_msg_name => 'PA_INVALID_START_DATE');
765: END IF;
766:
767: --If no validation errors then insert the team template.
768: IF p_validate_only = FND_API.G_FALSE AND FND_MSG_PUB.Count_Msg = 0 THEN
769: IF (P_DEBUG_MODE ='Y') THEN
770: PA_DEBUG.write_log (x_module => 'pa.plsql.PA_TEAM_TEMPLATE_PVT.Create_Team_Template.calling_insert_row'
771: ,x_msg => 'calling pa_team_templates.insert_row.'
772: ,x_log_level => 5);

Line 789: l_msg_count := FND_MSG_PUB.Count_Msg;

785: x_return_status => x_return_status);
786:
787: END IF;
788:
789: l_msg_count := FND_MSG_PUB.Count_Msg;
790:
791: -- Commit if the flag is set and there is no error
792: IF p_commit = FND_API.G_TRUE AND l_msg_count =0 THEN
793: COMMIT;

Line 815: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATE_PVT.Create_Team_Template'

811: ROLLBACK TO ASGN_PVT_CREATE_TEAM_TEMPLATE;
812: END IF;
813: --
814: -- Set the excetption Message and the stack
815: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATE_PVT.Create_Team_Template'
816: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
817: --
818: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
819: RAISE;

Line 864: IF p_validate_only = FND_API.G_FALSE AND FND_MSG_PUB.Count_Msg = 0 THEN

860: ,p_msg_name => 'PA_INVALID_START_DATE');
861: END IF;
862:
863: --If no validation errors then insert the team template.
864: IF p_validate_only = FND_API.G_FALSE AND FND_MSG_PUB.Count_Msg = 0 THEN
865: IF (P_DEBUG_MODE ='Y') THEN
866: PA_DEBUG.write_log (x_module => 'pa.plsql.PA_TEAM_TEMPLATE_PVT.Update_Team_Template.calling_update_row'
867: ,x_msg => 'calling pa_team_templates.update_row.'
868: ,x_log_level => 5);

Line 887: l_msg_count := FND_MSG_PUB.Count_Msg;

883: x_return_status => x_return_status);
884:
885: END IF;
886:
887: l_msg_count := FND_MSG_PUB.Count_Msg;
888:
889: -- Commit if the flag is set and there is no error
890: IF p_commit = FND_API.G_TRUE AND l_msg_count =0 THEN
891: COMMIT;

Line 913: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATE_PVT.Update_Team_Template'

909: ROLLBACK TO ASGN_PVT_UPDATE_TEAM_TEMPLATE;
910: END IF;
911: --
912: -- Set the excetption Message and the stack
913: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATE_PVT.Update_Team_Template'
914: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
915: --
916: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
917: RAISE;

Line 1039: IF FND_MSG_PUB.Count_Msg > 0 THEN

1035:
1036:
1037: -- If errors exist then set the x_return_status to 'E'
1038:
1039: IF FND_MSG_PUB.Count_Msg > 0 THEN
1040:
1041: x_return_status := FND_API.G_RET_STS_ERROR;
1042:
1043: END IF;

Line 1052: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATE_PVT.Delete_Team_Template'

1048: ROLLBACK TO ASGN_PVT_DELETE_ASSIGNMENTT;
1049: END IF;
1050:
1051: -- Set the excetption Message and the stack
1052: FND_MSG_PUB.add_exc_msg ( p_pkg_name => 'PA_TEAM_TEMPLATE_PVT.Delete_Team_Template'
1053: ,p_procedure_name => PA_DEBUG.G_Err_Stack );
1054: --
1055: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
1056: RAISE;