110: meaa.maintenance_object_id = cii.inventory_item_id
111: and meaa.maintenance_object_type=2;
112:
113: BEGIN
114: -- Standard Start of API savepoint
115: SAVEPOINT EAM_PM_SUPPRESSIONS;
116: -- Standard call to check for call compatibility.
117: IF NOT FND_API.Compatible_API_Call ( l_api_version ,
118: p_api_version ,
112:
113: BEGIN
114: -- Standard Start of API savepoint
115: SAVEPOINT EAM_PM_SUPPRESSIONS;
116: -- Standard call to check for call compatibility.
117: IF NOT FND_API.Compatible_API_Call ( l_api_version ,
118: p_api_version ,
119: l_api_name ,
120: G_PKG_NAME )
141:
142: -- end loop;
143:
144: -- End of API body.
145: -- Standard check of p_commit.
146: IF FND_API.To_Boolean( p_commit ) THEN
147: --dbms_output.put_line('committing');
148: COMMIT WORK;
149: END IF;
146: IF FND_API.To_Boolean( p_commit ) THEN
147: --dbms_output.put_line('committing');
148: COMMIT WORK;
149: END IF;
150: -- Standard call to get message count and if count is 1, get message info.
151: FND_MSG_PUB.Count_And_Get
152: ( p_count => x_msg_count ,
153: p_data => x_msg_data
154: );