69: end if;
70: l_maint_obj_fnd :='N';
71: l_eam_wo_rec.asset_activity_id := p_work_order_rec.primary_item_id;
72:
73: -- Standard Start of API savepoint
74: SAVEPOINT Create_EAM_Work_Order_PVT;
75: -- Standard call to check for call compatibility.
76: IF NOT FND_API.Compatible_API_Call (l_api_version,
77: p_api_version,
71: l_eam_wo_rec.asset_activity_id := p_work_order_rec.primary_item_id;
72:
73: -- Standard Start of API savepoint
74: SAVEPOINT Create_EAM_Work_Order_PVT;
75: -- Standard call to check for call compatibility.
76: IF NOT FND_API.Compatible_API_Call (l_api_version,
77: p_api_version,
78: l_api_name,
79: G_PKG_NAME )
353: COMMIT WORK;
354: END IF;
355:
356: -- End of API body.
357: -- Standard call to get message count and if count is 1, get message info.
358: FND_MSG_PUB.Count_And_Get
359: (p_count => x_msg_count,
360: p_data => x_msg_data
361: );
419: l_api_version CONSTANT NUMBER := 1.0;
420:
421:
422: BEGIN
423: -- Standard Start of API savepoint
424: SAVEPOINT Get_EAM_Act_Cause_Default_PVT;
425: -- Standard call to check for call compatibility.
426: IF NOT FND_API.Compatible_API_Call (l_api_version,
427: p_api_version,
421:
422: BEGIN
423: -- Standard Start of API savepoint
424: SAVEPOINT Get_EAM_Act_Cause_Default_PVT;
425: -- Standard call to check for call compatibility.
426: IF NOT FND_API.Compatible_API_Call (l_api_version,
427: p_api_version,
428: l_api_name,
429: G_PKG_NAME )
488: END IF;
489:
490:
491: -- End of API body.
492: -- Standard check of p_commit.
493: IF FND_API.To_Boolean( p_commit ) THEN
494: COMMIT WORK;
495: END IF;
496: -- Standard call to get message count and if count is 1, get message info.
492: -- Standard check of p_commit.
493: IF FND_API.To_Boolean( p_commit ) THEN
494: COMMIT WORK;
495: END IF;
496: -- Standard call to get message count and if count is 1, get message info.
497: FND_MSG_PUB.Count_And_Get
498: (p_count => x_msg_count,
499: p_data => x_msg_data
500: );
635: l_api_version CONSTANT NUMBER := 1.0;
636:
637:
638: BEGIN
639: -- Standard Start of API savepoint
640: SAVEPOINT Get_EAM_Act_Type_Default_PVT;
641: -- Standard call to check for call compatibility.
642: IF NOT FND_API.Compatible_API_Call (l_api_version,
643: p_api_version,
637:
638: BEGIN
639: -- Standard Start of API savepoint
640: SAVEPOINT Get_EAM_Act_Type_Default_PVT;
641: -- Standard call to check for call compatibility.
642: IF NOT FND_API.Compatible_API_Call (l_api_version,
643: p_api_version,
644: l_api_name,
645: G_PKG_NAME)
703:
704: END IF;
705:
706: -- End of API body.
707: -- Standard check of p_commit.
708: IF FND_API.To_Boolean( p_commit ) THEN
709: COMMIT WORK;
710: END IF;
711: -- Standard call to get message count and if count is 1, get message info.
707: -- Standard check of p_commit.
708: IF FND_API.To_Boolean( p_commit ) THEN
709: COMMIT WORK;
710: END IF;
711: -- Standard call to get message count and if count is 1, get message info.
712: FND_MSG_PUB.Count_And_Get
713: (p_count => x_msg_count,
714: p_data => x_msg_data
715: );
775: l_api_version CONSTANT NUMBER := 1.0;
776:
777:
778: BEGIN
779: -- Standard Start of API savepoint
780: SAVEPOINT Get_EAM_Act_Source_Default_PVT;
781: -- Standard call to check for call compatibility.
782: IF NOT FND_API.Compatible_API_Call (l_api_version,
783: p_api_version,
777:
778: BEGIN
779: -- Standard Start of API savepoint
780: SAVEPOINT Get_EAM_Act_Source_Default_PVT;
781: -- Standard call to check for call compatibility.
782: IF NOT FND_API.Compatible_API_Call (l_api_version,
783: p_api_version,
784: l_api_name,
785: G_PKG_NAME)
843:
844: END IF;
845:
846: -- End of API body.
847: -- Standard check of p_commit.
848: IF FND_API.To_Boolean( p_commit ) THEN
849: COMMIT WORK;
850: END IF;
851: -- Standard call to get message count and if count is 1, get message info.
847: -- Standard check of p_commit.
848: IF FND_API.To_Boolean( p_commit ) THEN
849: COMMIT WORK;
850: END IF;
851: -- Standard call to get message count and if count is 1, get message info.
852: FND_MSG_PUB.Count_And_Get
853: (p_count => x_msg_count,
854: p_data => x_msg_data
855: );
914: l_api_name CONSTANT VARCHAR2(30) := 'Get_EAM_Shutdown_Default';
915: l_api_version CONSTANT NUMBER := 1.0;
916:
917: BEGIN
918: -- Standard Start of API savepoint
919: SAVEPOINT Get_EAM_Shutdown_Default_PVT;
920: -- Standard call to check for call compatibility.
921: IF NOT FND_API.Compatible_API_Call (l_api_version,
922: p_api_version,
916:
917: BEGIN
918: -- Standard Start of API savepoint
919: SAVEPOINT Get_EAM_Shutdown_Default_PVT;
920: -- Standard call to check for call compatibility.
921: IF NOT FND_API.Compatible_API_Call (l_api_version,
922: p_api_version,
923: l_api_name,
924: G_PKG_NAME)
982:
983: END IF;
984:
985: -- End of API body.
986: -- Standard check of p_commit.
987: IF FND_API.To_Boolean( p_commit ) THEN
988: COMMIT WORK;
989: END IF;
990: -- Standard call to get message count and if count is 1, get message info.
986: -- Standard check of p_commit.
987: IF FND_API.To_Boolean( p_commit ) THEN
988: COMMIT WORK;
989: END IF;
990: -- Standard call to get message count and if count is 1, get message info.
991: FND_MSG_PUB.Count_And_Get
992: (p_count => x_msg_count,
993: p_data => x_msg_data
994: );
1054: l_api_version CONSTANT NUMBER := 1.0;
1055:
1056:
1057: BEGIN
1058: -- Standard Start of API savepoint
1059: SAVEPOINT Get_EAM_Notification_Def_PVT;
1060: -- Standard call to check for call compatibility.
1061: IF NOT FND_API.Compatible_API_Call (l_api_version,
1062: p_api_version,
1056:
1057: BEGIN
1058: -- Standard Start of API savepoint
1059: SAVEPOINT Get_EAM_Notification_Def_PVT;
1060: -- Standard call to check for call compatibility.
1061: IF NOT FND_API.Compatible_API_Call (l_api_version,
1062: p_api_version,
1063: l_api_name,
1064: G_PKG_NAME)
1122:
1123: END IF;
1124:
1125: -- End of API body.
1126: -- Standard check of p_commit.
1127: IF FND_API.To_Boolean( p_commit ) THEN
1128: COMMIT WORK;
1129: END IF;
1130: -- Standard call to get message count and if count is 1, get message info.
1126: -- Standard check of p_commit.
1127: IF FND_API.To_Boolean( p_commit ) THEN
1128: COMMIT WORK;
1129: END IF;
1130: -- Standard call to get message count and if count is 1, get message info.
1131: FND_MSG_PUB.Count_And_Get
1132: (p_count => x_msg_count,
1133: p_data => x_msg_data
1134: );
1194: l_api_version CONSTANT NUMBER := 1.0;
1195:
1196:
1197: BEGIN
1198: -- Standard Start of API savepoint
1199: SAVEPOINT Get_EAM_Tagout_Default_PVT;
1200: -- Standard call to check for call compatibility.
1201: IF NOT FND_API.Compatible_API_Call (l_api_version,
1202: p_api_version,
1196:
1197: BEGIN
1198: -- Standard Start of API savepoint
1199: SAVEPOINT Get_EAM_Tagout_Default_PVT;
1200: -- Standard call to check for call compatibility.
1201: IF NOT FND_API.Compatible_API_Call (l_api_version,
1202: p_api_version,
1203: l_api_name,
1204: G_PKG_NAME)
1246:
1247: END IF;
1248:
1249: -- End of API body.
1250: -- Standard check of p_commit.
1251: IF FND_API.To_Boolean( p_commit ) THEN
1252: COMMIT WORK;
1253: END IF;
1254: -- Standard call to get message count and if count is 1, get message info.
1250: -- Standard check of p_commit.
1251: IF FND_API.To_Boolean( p_commit ) THEN
1252: COMMIT WORK;
1253: END IF;
1254: -- Standard call to get message count and if count is 1, get message info.
1255: FND_MSG_PUB.Count_And_Get
1256: (p_count => x_msg_count,
1257: p_data => x_msg_data
1258: );
1319: l_api_version CONSTANT NUMBER := 1.0;
1320: l_act_assoc_id NUMBER;
1321:
1322: BEGIN
1323: -- Standard Start of API savepoint
1324: SAVEPOINT Get_EAM_Owning_Dept_Def_PVT;
1325: -- Standard call to check for call compatibility.
1326: IF NOT FND_API.Compatible_API_Call (l_api_version,
1327: p_api_version,
1321:
1322: BEGIN
1323: -- Standard Start of API savepoint
1324: SAVEPOINT Get_EAM_Owning_Dept_Def_PVT;
1325: -- Standard call to check for call compatibility.
1326: IF NOT FND_API.Compatible_API_Call (l_api_version,
1327: p_api_version,
1328: l_api_name,
1329: G_PKG_NAME)
1409:
1410: END IF;
1411:
1412: -- End of API body.
1413: -- Standard check of p_commit.
1414: IF FND_API.To_Boolean( p_commit ) THEN
1415: COMMIT WORK;
1416: END IF;
1417: -- Standard call to get message count and if count is 1, get message info.
1413: -- Standard check of p_commit.
1414: IF FND_API.To_Boolean( p_commit ) THEN
1415: COMMIT WORK;
1416: END IF;
1417: -- Standard call to get message count and if count is 1, get message info.
1418: FND_MSG_PUB.Count_And_Get
1419: (p_count => x_msg_count,
1420: p_data => x_msg_data
1421: );