131:
132: -- Initialize message stack if required
133: IF FND_API.to_Boolean(p_init_msg_list)
134: THEN
135: FND_MSG_PUB.initialize;
136: END IF;
137:
138: x_return_status := FND_API.G_RET_STS_SUCCESS;
139:
239: WHEN FND_API.G_EXC_ERROR THEN
240: x_return_status := FND_API.G_RET_STS_ERROR;
241:
242: -- Get message count and data
243: FND_MSG_PUB.Count_And_Get
244: ( p_count => x_msg_count
245: , p_data => x_msg_data
246: );
247: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
247: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
248: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
249:
250: -- Get message count and data
251: FND_MSG_PUB.Count_And_Get
252: ( p_count => x_msg_count
253: , p_data => x_msg_data
254: );
255: WHEN OTHERS THEN
254: );
255: WHEN OTHERS THEN
256: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
257:
258: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
259: THEN
260: FND_MSG_PUB.Add_Exc_Msg
261: ( G_PKG_NAME
262: , 'Default_Attr'
256: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
257:
258: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
259: THEN
260: FND_MSG_PUB.Add_Exc_Msg
261: ( G_PKG_NAME
262: , 'Default_Attr'
263: );
264: END IF;
262: , 'Default_Attr'
263: );
264: END IF;
265: -- Get message count and data
266: FND_MSG_PUB.Count_And_Get
267: ( p_count => x_msg_count
268: , p_data => x_msg_data
269: );
270:
328:
329: -- Initialize message stack if required
330: IF FND_API.to_Boolean(p_init_msg_list)
331: THEN
332: FND_MSG_PUB.initialize;
333: END IF;
334:
335: x_return_status := FND_API.G_RET_STS_SUCCESS;
336:
373: WHEN FND_API.G_EXC_ERROR THEN
374: x_return_status := FND_API.G_RET_STS_ERROR;
375:
376: -- Get message count and data
377: FND_MSG_PUB.Count_And_Get
378: ( p_count => x_msg_count
379: , p_data => x_msg_data
380: );
381: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
381: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
382: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
383:
384: -- Get message count and data
385: FND_MSG_PUB.Count_And_Get
386: ( p_count => x_msg_count
387: , p_data => x_msg_data
388: );
389: WHEN OTHERS THEN
388: );
389: WHEN OTHERS THEN
390: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
391:
392: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
393: THEN
394: FND_MSG_PUB.Add_Exc_Msg
395: ( G_PKG_NAME
396: , 'Default_Attr'
390: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
391:
392: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
393: THEN
394: FND_MSG_PUB.Add_Exc_Msg
395: ( G_PKG_NAME
396: , 'Default_Attr'
397: );
398: END IF;
396: , 'Default_Attr'
397: );
398: END IF;
399: -- Get message count and data
400: FND_MSG_PUB.Count_And_Get
401: ( p_count => x_msg_count
402: , p_data => x_msg_data
403: );
404: END Default_Value;