DBA Data[Home] [Help]

APPS.PV_LEADLOG_PVT dependencies on FND_MSG_PUB

Line 201: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_ERROR)

197: p_api_version_number,
198: l_api_name,
199: G_PKG_NAME)
200: THEN
201: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_ERROR)
202: THEN
203: fnd_message.Set_Name('PV', 'API_UNEXP_ERROR_IN_PROCESSING');
204: fnd_message.Set_Token('ROW', 'PV_LEADLOG', TRUE);
205: fnd_msg_pub.ADD;

Line 205: fnd_msg_pub.ADD;

201: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_ERROR)
202: THEN
203: fnd_message.Set_Name('PV', 'API_UNEXP_ERROR_IN_PROCESSING');
204: fnd_message.Set_Token('ROW', 'PV_LEADLOG', TRUE);
205: fnd_msg_pub.ADD;
206: END IF;
207: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
208: END IF;
209:

Line 214: fnd_msg_pub.initialize;

210:
211: -- Initialize message list if p_init_msg_list is set to TRUE.
212: IF FND_API.to_Boolean( p_init_msg_list )
213: THEN
214: fnd_msg_pub.initialize;
215: END IF;
216:
217: -- Debug Message
218: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW)

Line 218: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW)

214: fnd_msg_pub.initialize;
215: END IF;
216:
217: -- Debug Message
218: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW)
219: THEN
220: fnd_message.Set_Name('PV', 'Pvt Acc API: Start');
221: fnd_msg_pub.Add;
222: END IF;

Line 221: fnd_msg_pub.Add;

217: -- Debug Message
218: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW)
219: THEN
220: fnd_message.Set_Name('PV', 'Pvt Acc API: Start');
221: fnd_msg_pub.Add;
222: END IF;
223:
224: -- Initialize API return status to success
225: --

Line 240: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_ERROR)

236: -- Validate Environment
237: -- ******************************************************************
238: IF G_User_Id IS NULL
239: THEN
240: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_ERROR)
241: THEN
242: fnd_message.Set_Name('PV', 'UT_CANNOT_GET_PROFILE_VALUE');
243: fnd_message.Set_Token('PROFILE', 'USER_ID', FALSE);
244: fnd_msg_pub.ADD;

Line 244: fnd_msg_pub.ADD;

240: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_ERROR)
241: THEN
242: fnd_message.Set_Name('PV', 'UT_CANNOT_GET_PROFILE_VALUE');
243: fnd_message.Set_Token('PROFILE', 'USER_ID', FALSE);
244: fnd_msg_pub.ADD;
245: END IF;
246: RAISE FND_API.G_EXC_ERROR;
247: END IF;
248: -- ******************************************************************

Line 287: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW)

283:
284: x_assignment_id := l_assignment_id;
285:
286: -- Debug Message
287: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW)
288: THEN
289: fnd_message.Set_Name('PV', 'Pvt Acc API: Insert Addr Rec');
290: fnd_msg_pub.Add;
291: END IF;

Line 290: fnd_msg_pub.Add;

286: -- Debug Message
287: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW)
288: THEN
289: fnd_message.Set_Name('PV', 'Pvt Acc API: Insert Addr Rec');
290: fnd_msg_pub.Add;
291: END IF;
292:
293:
294: --

Line 299: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_SUCCESS) and

295: -- End of API body.
296: --
297:
298: -- Success Message
299: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_SUCCESS) and
300: l_return_status_full = FND_API.G_RET_STS_SUCCESS
301: THEN
302: fnd_message.Set_Name('PV', 'API_SUCCESS');
303: fnd_message.Set_Token('ROW', 'AS_ACCOUNT', TRUE);

Line 304: fnd_msg_pub.Add;

300: l_return_status_full = FND_API.G_RET_STS_SUCCESS
301: THEN
302: fnd_message.Set_Name('PV', 'API_SUCCESS');
303: fnd_message.Set_Token('ROW', 'AS_ACCOUNT', TRUE);
304: fnd_msg_pub.Add;
305: END IF;
306:
307: IF FND_API.To_Boolean ( p_commit )
308: THEN

Line 313: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW)

309: COMMIT WORK;
310: END IF;
311:
312: -- Debug Message
313: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW)
314: THEN
315: fnd_message.Set_Name('PV', 'Pvt Acc API: End');
316: fnd_msg_pub.Add;
317: END IF;

Line 316: fnd_msg_pub.Add;

312: -- Debug Message
313: IF fnd_msg_pub.Check_Msg_Level (fnd_msg_pub.G_MSG_LVL_DEBUG_LOW)
314: THEN
315: fnd_message.Set_Name('PV', 'Pvt Acc API: End');
316: fnd_msg_pub.Add;
317: END IF;
318:
319: -- Standard call to get message count and if count is 1, get message info.
320: fnd_msg_pub.Count_And_Get ( p_count => x_msg_count,

Line 320: fnd_msg_pub.Count_And_Get ( p_count => x_msg_count,

316: fnd_msg_pub.Add;
317: END IF;
318:
319: -- Standard call to get message count and if count is 1, get message info.
320: fnd_msg_pub.Count_And_Get ( p_count => x_msg_count,
321: p_data => x_msg_data
322: );
323:
324: EXCEPTION

Line 331: fnd_msg_pub.Count_And_Get ( p_count => x_msg_count,

327:
328: ROLLBACK TO CREATE_AssignLog_PVT;
329: x_return_status := FND_API.G_RET_STS_ERROR ;
330:
331: fnd_msg_pub.Count_And_Get ( p_count => x_msg_count,
332: p_data => x_msg_data
333: );
334:
335: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

Line 340: fnd_msg_pub.Count_And_Get ( p_count => x_msg_count,

336:
337: ROLLBACK TO CREATE_AssignLog_PVT;
338: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
339:
340: fnd_msg_pub.Count_And_Get ( p_count => x_msg_count,
341: p_data => x_msg_data
342: );
343:
344: WHEN OTHERS THEN

Line 349: IF fnd_msg_pub.Check_Msg_Level ( fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR )

345:
346: ROLLBACK TO CREATE_AssignLog_PVT;
347: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
348:
349: IF fnd_msg_pub.Check_Msg_Level ( fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR )
350: THEN
351: fnd_msg_pub.Add_Exc_Msg ( G_PKG_NAME,l_api_name );
352: END IF;
353:

Line 351: fnd_msg_pub.Add_Exc_Msg ( G_PKG_NAME,l_api_name );

347: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
348:
349: IF fnd_msg_pub.Check_Msg_Level ( fnd_msg_pub.G_MSG_LVL_UNEXP_ERROR )
350: THEN
351: fnd_msg_pub.Add_Exc_Msg ( G_PKG_NAME,l_api_name );
352: END IF;
353:
354: fnd_msg_pub.Count_And_Get ( p_count => x_msg_count,
355: p_data => x_msg_data

Line 354: fnd_msg_pub.Count_And_Get ( p_count => x_msg_count,

350: THEN
351: fnd_msg_pub.Add_Exc_Msg ( G_PKG_NAME,l_api_name );
352: END IF;
353:
354: fnd_msg_pub.Count_And_Get ( p_count => x_msg_count,
355: p_data => x_msg_data
356: );
357:
358: END CreateAssignLog;

Line 453: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);

449:
450:
451: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
452:
453: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
454:
455: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,
456: p_count => x_msg_count,
457: p_data => x_msg_data);

Line 455: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,

451: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
452:
453: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
454:
455: fnd_msg_pub.Count_And_Get( p_encoded => FND_API.G_FALSE,
456: p_count => x_msg_count,
457: p_data => x_msg_data);
458:
459: