[Home] [Help]
77: IF (IBE_UTIL.G_DEBUGON = l_true) THEN
78: Ibe_Util.debug('Begin IBE_ORDER_SAVE_PVT:Retrieve_OE_Messages');
79: END IF;
80:
81: OE_MSG_PUB.Count_And_Get
82: ( p_count => l_msg_count,
83: p_data => l_msg_data
84: );
85:
85:
86: IF l_msg_count > 0 THEN
87: FOR k IN 1 .. l_msg_count LOOP
88: i:=1;
89: oe_msg_pub.get (
90: p_msg_index => k
91: ,p_encoded => FND_API.G_FALSE
92: ,p_data => l_msg_data
93: ,p_msg_index_out => l_msg_index);
93: ,p_msg_index_out => l_msg_index);
94:
95: IF (upper(l_msg_data) <> 'ORDER HAS BEEN BOOKED.') THEN -- bug# 1935468
96: BEGIN
97: oe_msg_pub.get_msg_context (
98: p_msg_index => l_msg_index
99: ,x_entity_code => l_msg_entity_code
100: ,x_entity_ref => l_msg_entity_ref
101: ,x_entity_id => l_msg_entity_id
124: IF l_error_index_flag = 'Y' THEN
125: EXIT;
126: END IF;
127:
128: IF oe_msg_pub.g_msg_tbl(l_msg_index).message_text IS NULL THEN
129: x_msg_data := oe_msg_pub.get(l_msg_index, 'F');
130: END IF;
131:
132: IF l_msg_orig_sys_line_ref IS NOT NULL AND l_msg_orig_sys_line_ref <> FND_API.G_MISS_CHAR THEN
125: EXIT;
126: END IF;
127:
128: IF oe_msg_pub.g_msg_tbl(l_msg_index).message_text IS NULL THEN
129: x_msg_data := oe_msg_pub.get(l_msg_index, 'F');
130: END IF;
131:
132: IF l_msg_orig_sys_line_ref IS NOT NULL AND l_msg_orig_sys_line_ref <> FND_API.G_MISS_CHAR THEN
133: l_msg_context := 'Error in Line: '||rtrim(l_msg_orig_sys_line_ref)||' :';
3227: end if;
3228:
3229: for j in 1 .. x_msg_count
3230: loop
3231: x_msg_data:= OE_MSG_PUB.get(fnd_msg_pub.g_next,FND_API.G_FALSE);
3232: IF (IBE_UTIL.G_DEBUGON = l_true) then
3233: IBE_UTIL.DEBUG('Message from OE Save: ' || x_msg_data );
3234: end if;
3235: end loop;
3296: --for logging appropriate error message
3297: if(x_msg_count is not null AND x_msg_count > 0) then
3298: for j in 1 .. x_msg_count
3299: loop
3300: x_msg_data:= OE_MSG_PUB.get(fnd_msg_pub.g_next,FND_API.G_FALSE);
3301: IF (IBE_UTIL.G_DEBUGON = l_true) then
3302: IBE_UTIL.DEBUG('Message from OE Save: ' || x_msg_data );
3303: end if;
3304: end loop;
3828: end if;
3829:
3830: for j in 1 .. x_msg_count
3831: loop
3832: x_msg_data:= OE_MSG_PUB.get(fnd_msg_pub.g_next,FND_API.G_FALSE);
3833: IF (IBE_UTIL.G_DEBUGON = l_true) then
3834: IBE_Util.debug('Chk Constraint Exception Message' || x_msg_data);
3835: end if;
3836: end loop;
4238: end if;
4239:
4240: for j in 1 .. x_msg_count
4241: loop
4242: x_msg_data:= OE_MSG_PUB.get(fnd_msg_pub.g_next,FND_API.G_FALSE);
4243: IF (IBE_UTIL.G_DEBUGON = l_true) then
4244: IBE_UTIL.DEBUG('Message from OE update line bill: ' || x_msg_data );
4245: end if;
4246: end loop;