DBA Data[Home] [Help]

APPS.EAM_GENEALOGY_IMPORT_PUB dependencies on FND_API

Line 108: l_return_status := fnd_api.g_ret_sts_success;

104:
105: begin
106:
107: -- Initialize API return status to success
108: l_return_status := fnd_api.g_ret_sts_success;
109:
110:
111: -- check for the item type.
112:

Line 149: , p_commit => fnd_api.g_true

145: if l_dummy = 1 then
146:
147: INV_GENEALOGY_PUB.insert_genealogy(
148: p_api_version => l_api_version
149: , p_commit => fnd_api.g_true
150: , p_object_type => genealogy_rec.object_type
151: , p_parent_object_type => genealogy_rec.parent_object_type
152: , p_object_id => genealogy_rec.object_id
153: , p_object_number => genealogy_rec.serial_number

Line 172: , p_commit => fnd_api.g_true

168: , x_msg_data => l_msg_data);
169: else
170: wip_eam_genealogy_pvt.create_eam_genealogy(
171: p_api_version => l_api_version
172: , p_commit => fnd_api.g_true
173: , p_object_id => genealogy_rec.object_id
174: , p_serial_number => genealogy_rec.serial_number
175: , p_inventory_item_id => genealogy_rec.inventory_item_id
176: , p_organization_id => genealogy_rec.organization_id

Line 185: , p_from_eam => fnd_api.g_true

181: , p_start_date_active => genealogy_rec.start_date_active
182: , p_end_date_active => genealogy_rec.end_date_active
183: , p_origin_txn_id => genealogy_rec.origin_txn_id
184: , p_update_txn_id => genealogy_rec.update_txn_id
185: , p_from_eam => fnd_api.g_true
186: , x_return_status => l_return_status
187: , x_msg_count => l_msg_count
188: , x_msg_data => l_msg_data);
189: end if;

Line 205: RAISE FND_API.G_EXC_ERROR;

201: if l_dummy = 3 then
202: if genealogy_rec.end_date_active > sysdate then
203: FND_MESSAGE.SET_NAME('WIP', 'WIP_EAM_REBUILD_FUTURE_TXN');
204: FND_MSG_PUB.ADD;
205: RAISE FND_API.G_EXC_ERROR;
206: end if;
207: end if;
208:
209: INV_GENEALOGY_PUB.update_genealogy(

Line 211: , p_commit => fnd_api.g_true

207: end if;
208:
209: INV_GENEALOGY_PUB.update_genealogy(
210: p_api_version => l_api_version
211: , p_commit => fnd_api.g_true
212: , p_object_type => genealogy_rec.object_type
213: , p_object_id => genealogy_rec.object_id
214: , p_object_number => genealogy_rec.serial_number
215: , p_inventory_item_id => genealogy_rec.inventory_item_id

Line 243: l_return_status := FND_API.G_RET_STS_ERROR ;

239:
240: exception
241: when incorrect_genealogy then
242:
243: l_return_status := FND_API.G_RET_STS_ERROR ;
244:
245: FND_MSG_PUB.Count_And_Get
246: (p_encoded => FND_API.G_FALSE,
247: p_count => l_msg_count,

Line 246: (p_encoded => FND_API.G_FALSE,

242:
243: l_return_status := FND_API.G_RET_STS_ERROR ;
244:
245: FND_MSG_PUB.Count_And_Get
246: (p_encoded => FND_API.G_FALSE,
247: p_count => l_msg_count,
248: p_data => l_msg_data
249: );
250:

Line 258: l_return_status := FND_API.G_RET_STS_ERROR ;

254: WHERE mogi.group_id = p_interface_group_id and mogi.interface_header_id = genealogy_rec.interface_header_id;
255:
256: when others then
257:
258: l_return_status := FND_API.G_RET_STS_ERROR ;
259:
260: FND_MSG_PUB.Count_And_Get
261: (p_encoded => FND_API.G_FALSE,
262: p_count => l_msg_count,

Line 261: (p_encoded => FND_API.G_FALSE,

257:
258: l_return_status := FND_API.G_RET_STS_ERROR ;
259:
260: FND_MSG_PUB.Count_And_Get
261: (p_encoded => FND_API.G_FALSE,
262: p_count => l_msg_count,
263: p_data => l_msg_data
264: );
265:

Line 306: (p_encoded => FND_API.G_FALSE,

302: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
303: END IF;
304:
305: FND_MSG_PUB.Count_And_Get
306: (p_encoded => FND_API.G_FALSE,
307: p_count => l_msg_count,
308: p_data => l_msg_data
309: );
310: