DBA Data[Home] [Help]

APPS.EAM_WORKORDERTRANSACTIONS_PUB dependencies on FND_MSG_PUB

Line 430: FND_MSG_PUB.initialize;

426: -- Standard begin of API savepoint
427: SAVEPOINT Complete_Work_Order_PVT;
428: -- Check p_init_msg_list
429: IF FND_API.to_Boolean(p_init_msg_list) THEN
430: FND_MSG_PUB.initialize;
431: END IF;
432:
433: -- Initialize API return status to success
434: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 604: FND_MSG_PUB.Add;

600: end if;
601: end if;
602:
603: if (x_return_status = FND_API.G_RET_STS_ERROR) then
604: FND_MSG_PUB.Add;
605: FND_MSG_PUB.Count_And_Get(
606: p_count => x_msg_count,
607: p_data => x_msg_data);
608: end if;

Line 605: FND_MSG_PUB.Count_And_Get(

601: end if;
602:
603: if (x_return_status = FND_API.G_RET_STS_ERROR) then
604: FND_MSG_PUB.Add;
605: FND_MSG_PUB.Count_And_Get(
606: p_count => x_msg_count,
607: p_data => x_msg_data);
608: end if;
609: EXCEPTION

Line 611: -- dbms_output.put_line('unexpected error :'||FND_MSG_PUB.Get);

607: p_data => x_msg_data);
608: end if;
609: EXCEPTION
610: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
611: -- dbms_output.put_line('unexpected error :'||FND_MSG_PUB.Get);
612: -- dbms_output.put_line('unexpected error :'||FND_MESSAGE.get);
613: ROLLBACK TO Complete_Work_Order_PVT;
614: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
615: FND_MSG_PUB.Count_And_Get(

Line 615: FND_MSG_PUB.Count_And_Get(

611: -- dbms_output.put_line('unexpected error :'||FND_MSG_PUB.Get);
612: -- dbms_output.put_line('unexpected error :'||FND_MESSAGE.get);
613: ROLLBACK TO Complete_Work_Order_PVT;
614: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
615: FND_MSG_PUB.Count_And_Get(
616: p_count => x_msg_count,
617: p_data => x_msg_data);
618: WHEN NO_DATA_FOUND THEN
619: -- dbms_output.put_line('unexpected error :'||FND_MSG_PUB.Get);

Line 619: -- dbms_output.put_line('unexpected error :'||FND_MSG_PUB.Get);

615: FND_MSG_PUB.Count_And_Get(
616: p_count => x_msg_count,
617: p_data => x_msg_data);
618: WHEN NO_DATA_FOUND THEN
619: -- dbms_output.put_line('unexpected error :'||FND_MSG_PUB.Get);
620: -- dbms_output.put_line('unexpected error :'||FND_MESSAGE.get);
621: -- dbms_output.put_line('no data found');
622: ROLLBACK TO Complete_Work_Order_PVT;
623: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 624: FND_MSG_PUB.Count_And_Get(

620: -- dbms_output.put_line('unexpected error :'||FND_MESSAGE.get);
621: -- dbms_output.put_line('no data found');
622: ROLLBACK TO Complete_Work_Order_PVT;
623: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
624: FND_MSG_PUB.Count_And_Get(
625: p_count => x_msg_count,
626: p_data => x_msg_data);
627: WHEN OTHERS THEN
628: -- dbms_output.put_line('unexpected error :'||FND_MSG_PUB.Get);

Line 628: -- dbms_output.put_line('unexpected error :'||FND_MSG_PUB.Get);

624: FND_MSG_PUB.Count_And_Get(
625: p_count => x_msg_count,
626: p_data => x_msg_data);
627: WHEN OTHERS THEN
628: -- dbms_output.put_line('unexpected error :'||FND_MSG_PUB.Get);
629: -- dbms_output.put_line('unexpected error :'||FND_MESSAGE.get);
630: ROLLBACK TO Complete_Work_Order_PVT;
631: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
632: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

Line 632: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

628: -- dbms_output.put_line('unexpected error :'||FND_MSG_PUB.Get);
629: -- dbms_output.put_line('unexpected error :'||FND_MESSAGE.get);
630: ROLLBACK TO Complete_Work_Order_PVT;
631: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
632: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
633: FND_MSG_PUB.Add_Exc_Msg(
634: G_PKG_NAME,
635: l_api_name
636: );

Line 633: FND_MSG_PUB.Add_Exc_Msg(

629: -- dbms_output.put_line('unexpected error :'||FND_MESSAGE.get);
630: ROLLBACK TO Complete_Work_Order_PVT;
631: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
632: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
633: FND_MSG_PUB.Add_Exc_Msg(
634: G_PKG_NAME,
635: l_api_name
636: );
637: END IF;

Line 638: FND_MSG_PUB.Count_And_Get(

634: G_PKG_NAME,
635: l_api_name
636: );
637: END IF;
638: FND_MSG_PUB.Count_And_Get(
639: p_count => x_msg_count,
640: p_data => x_msg_data);
641: END Complete_Work_Order;
642:

Line 705: FND_MSG_PUB.initialize;

701: SAVEPOINT Complete_Operation_PVT;
702:
703: -- Check p_init_msg_list
704: IF FND_API.to_Boolean(p_init_msg_list) THEN
705: FND_MSG_PUB.initialize;
706: END IF;
707:
708: x_return_status := FND_API.G_RET_STS_SUCCESS;
709:

Line 717: FND_MSG_PUB.Add;

713:
714: if p_transaction_date > sysdate then
715:
716: FND_MESSAGE.set_name('EAM', 'EAM_TXN_LATER_THAN_TODAY');
717: FND_MSG_PUB.Add;
718: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_TXN_LATER_THAN_TODAY');
719: x_return_status := FND_API.G_RET_STS_ERROR;
720: end if;
721: end if;

Line 768: FND_MSG_PUB.Add;

764:
765: if (l_operation_completed='Y') and (p_transaction_type =1) then
766:
767: FND_MESSAGE.set_name('EAM', 'EAM_INVALID_TXN_TYPE');
768: FND_MSG_PUB.Add;
769: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_INVALID_TXN_TYPE') ;
770: x_return_status := FND_API.G_RET_STS_ERROR;
771:
772: elsif ((l_operation_completed <> 'Y') and (p_transaction_type =2)) then

Line 775: FND_MSG_PUB.Add;

771:
772: elsif ((l_operation_completed <> 'Y') and (p_transaction_type =2)) then
773:
774: FND_MESSAGE.set_name('EAM', 'EAM_INVALID_TXN_TYPE');
775: FND_MSG_PUB.Add;
776: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_INVALID_TXN_TYPE') ;
777: x_return_status := FND_API.G_RET_STS_ERROR;
778:
779: end if;

Line 817: FND_MSG_PUB.Add;

813: -- to_date(to_char(l_actual_end_date, 'DD-MON-YY HH24:MI:SS'),'DD-MON-YY HH24:MI:SS')
814: -- - to_date(to_char(l_actual_start_date, 'DD-MON-YY HH24:MI:SS'),'DD-MON-YY HH24:MI:SS')), 3);
815: if (p_actual_duration is not null) and (p_actual_duration <> l_actual_duration ) then
816: FND_MESSAGE.set_name('EAM', 'EAM_INCORRECT_DURATION');
817: FND_MSG_PUB.Add;
818: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_INCORRECT_DURATION') ;
819: x_return_status := FND_API.G_RET_STS_ERROR;
820:
821: end if;

Line 835: FND_MSG_PUB.Add;

831:
832: if (l_actual_duration is not null) then
833: if l_actual_duration < 0 then
834: FND_MESSAGE.set_name('EAM', 'EAM_NEGATIVE_DURATION');
835: FND_MSG_PUB.Add;
836: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_NEGATIVE_DURATION') ;
837: x_return_status := FND_API.G_RET_STS_ERROR;
838:
839: end if;

Line 854: FND_MSG_PUB.Add;

850: if (l_actual_start_date is not null) then
851:
852: if l_actual_end_date > sysdate then
853: FND_MESSAGE.set_name('EAM', 'EAM_END_LATER_THAN_TODAY');
854: FND_MSG_PUB.Add;
855: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_END_LATER_THAN_TODAY ') ;
856: x_return_status := FND_API.G_RET_STS_ERROR;
857: end if;
858:

Line 861: FND_MSG_PUB.Add;

857: end if;
858:
859: if (l_actual_start_date < l_open_acct_per_date) then
860: FND_MESSAGE.set_name('EAM', 'EAM_MIN_OP_ACTUAL_START_DATE');
861: FND_MSG_PUB.Add;
862: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_MIN_OP_ACTUAL_START_DATE') ;
863: x_return_status := FND_API.G_RET_STS_ERROR;
864:
865: end if;

Line 890: FND_MSG_PUB.Add;

886: -- to_date(to_char(l_actual_end_date, 'DD-MON-YY HH24:MI:SS'),'DD-MON-YY HH24:MI:SS')
887: -- - to_date(to_char(l_actual_start_date, 'DD-MON-YY HH24:MI:SS'),'DD-MON-YY HH24:MI:SS')), 3);
888: if (p_shutdown_duration is not null) and (p_shutdown_duration <> l_shutdown_duration ) then
889: FND_MESSAGE.set_name('EAM', 'EAM_INCORRECT_SHUT_DUR');
890: FND_MSG_PUB.Add;
891: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_INCORRECT_SHUT_DUR') ;
892: x_return_status := FND_API.G_RET_STS_ERROR;
893:
894: end if;

Line 909: FND_MSG_PUB.Add;

905:
906: if (l_shutdown_duration is not null) then
907: if l_shutdown_duration < 0 then
908: FND_MESSAGE.set_name('EAM', 'EAM_SHUTDOWN_DUR_NEGATIVE');
909: FND_MSG_PUB.Add;
910: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_SHUTDOWN_DUR_NEGATIVE') ;
911: x_return_status := FND_API.G_RET_STS_ERROR;
912:
913: end if;

Line 920: FND_MSG_PUB.Add;

916: if (l_shutdown_end_date is not null) then
917:
918: if l_shutdown_end_date > sysdate then
919: FND_MESSAGE.set_name('EAM', 'EAM_SHUT_GREATER_SYSDATE');
920: FND_MSG_PUB.Add;
921: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_SHUT_GREATER_SYSDATE ') ;
922: x_return_status := FND_API.G_RET_STS_ERROR;
923: end if;
924:

Line 937: FND_MSG_PUB.Add;

933:
934: if ((l_shutdown_start_date is not null) and (l_shutdown_end_date is not null)
935: and (l_shutdown_end_date < l_shutdown_start_date)) then
936: FND_MESSAGE.set_name('EAM', 'EAM_SHUT_END_BEFORE_START');
937: FND_MSG_PUB.Add;
938: eam_execution_jsp.add_message(p_app_short_name => 'EAM', p_msg_name => 'EAM_SHUT_END_BEFORE_START ') ;
939:
940:
941: x_return_status := FND_API.G_RET_STS_ERROR;

Line 999: FND_MSG_PUB.Add;

995: -- insert into eam_op_completion_txns, update wip_operations
996:
997: if l_err_code = 1 then -- there was an error
998: x_return_status := FND_API.G_RET_STS_ERROR;
999: FND_MSG_PUB.Add;
1000: end if;
1001: end if;
1002:
1003: if (x_return_status = FND_API.G_RET_STS_ERROR) then

Line 1004: FND_MSG_PUB.Count_And_Get(

1000: end if;
1001: end if;
1002:
1003: if (x_return_status = FND_API.G_RET_STS_ERROR) then
1004: FND_MSG_PUB.Count_And_Get(
1005: p_count => x_msg_count,
1006: p_data => x_msg_data);
1007: end if;
1008: EXCEPTION

Line 1012: FND_MSG_PUB.Count_And_Get(

1008: EXCEPTION
1009: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1010: ROLLBACK TO Complete_Operation_PVT;
1011: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1012: FND_MSG_PUB.Count_And_Get(
1013: p_count => x_msg_count,
1014: p_data => x_msg_data);
1015: WHEN OTHERS THEN
1016: ROLLBACK TO Complete_Operation_PVT;

Line 1018: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

1014: p_data => x_msg_data);
1015: WHEN OTHERS THEN
1016: ROLLBACK TO Complete_Operation_PVT;
1017: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1018: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1019: FND_MSG_PUB.Add_Exc_Msg(
1020: G_PKG_NAME,
1021: l_api_name
1022: );

Line 1019: FND_MSG_PUB.Add_Exc_Msg(

1015: WHEN OTHERS THEN
1016: ROLLBACK TO Complete_Operation_PVT;
1017: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1018: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1019: FND_MSG_PUB.Add_Exc_Msg(
1020: G_PKG_NAME,
1021: l_api_name
1022: );
1023: END IF;

Line 1024: FND_MSG_PUB.Count_And_Get(

1020: G_PKG_NAME,
1021: l_api_name
1022: );
1023: END IF;
1024: FND_MSG_PUB.Count_And_Get(
1025: p_count => x_msg_count,
1026: p_data => x_msg_data);
1027:
1028: