109:
110: -- Initialize message stack if required
111: IF FND_API.to_Boolean(p_init_msg_list)
112: THEN
113: FND_MSG_PUB.initialize;
114: END IF;
115:
116: x_return_status := FND_API.G_RET_STS_SUCCESS;
117:
174: WHEN FND_API.G_EXC_ERROR THEN
175: x_return_status := FND_API.G_RET_STS_ERROR;
176:
177: -- Get message count and data
178: FND_MSG_PUB.Count_And_Get
179: ( p_count => x_msg_count
180: , p_data => x_msg_data
181: );
182: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
182: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
183: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
184:
185: -- Get message count and data
186: FND_MSG_PUB.Count_And_Get
187: ( p_count => x_msg_count
188: , p_data => x_msg_data
189: );
190: WHEN OTHERS THEN
189: );
190: WHEN OTHERS THEN
191: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
192:
193: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
194: THEN
195: FND_MSG_PUB.Add_Exc_Msg
196: ( G_PKG_NAME
197: , 'Default_Attr'
191: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
192:
193: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
194: THEN
195: FND_MSG_PUB.Add_Exc_Msg
196: ( G_PKG_NAME
197: , 'Default_Attr'
198: );
199: END IF;
197: , 'Default_Attr'
198: );
199: END IF;
200: -- Get message count and data
201: FND_MSG_PUB.Count_And_Get
202: ( p_count => x_msg_count
203: , p_data => x_msg_data
204: );
205:
263:
264: -- Initialize message stack if required
265: IF FND_API.to_Boolean(p_init_msg_list)
266: THEN
267: FND_MSG_PUB.initialize;
268: END IF;
269:
270: x_return_status := FND_API.G_RET_STS_SUCCESS;
271:
308: WHEN FND_API.G_EXC_ERROR THEN
309: x_return_status := FND_API.G_RET_STS_ERROR;
310:
311: -- Get message count and data
312: FND_MSG_PUB.Count_And_Get
313: ( p_count => x_msg_count
314: , p_data => x_msg_data
315: );
316: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
316: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
317: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
318:
319: -- Get message count and data
320: FND_MSG_PUB.Count_And_Get
321: ( p_count => x_msg_count
322: , p_data => x_msg_data
323: );
324: WHEN OTHERS THEN
323: );
324: WHEN OTHERS THEN
325: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
326:
327: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
328: THEN
329: FND_MSG_PUB.Add_Exc_Msg
330: ( G_PKG_NAME
331: , 'Default_Attr'
325: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
326:
327: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
328: THEN
329: FND_MSG_PUB.Add_Exc_Msg
330: ( G_PKG_NAME
331: , 'Default_Attr'
332: );
333: END IF;
331: , 'Default_Attr'
332: );
333: END IF;
334: -- Get message count and data
335: FND_MSG_PUB.Count_And_Get
336: ( p_count => x_msg_count
337: , p_data => x_msg_data
338: );
339: END Default_Value;