DBA Data[Home] [Help]

APPS.OE_RMA_RECEIVING dependencies on OE_MSG_PUB

Line 328: OE_MSG_PUB.Add;

324: -- received quantity should be within tolerance
325: IF (l_updated_quantity >
326: l_line_tbl(1).ordered_quantity + l_tolerance_above) THEN
327: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_RCVD_QTY');
328: OE_MSG_PUB.Add;
329: x_return_status := FND_API.G_RET_STS_ERROR ;
330: RAISE FND_API.G_EXC_ERROR;
331: END IF;
332:

Line 419: OE_MSG_PUB.Add;

415:
416: -- over quantity being passed
417: IF (l_line_tbl(1).shipped_quantity < l_updated_quantity ) THEN
418: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_DLVR_QTY');
419: OE_MSG_PUB.Add;
420: x_return_status := FND_API.G_RET_STS_ERROR ;
421: RAISE FND_API.G_EXC_ERROR;
422: END IF;
423:

Line 537: OE_MSG_PUB.Add;

533: ELSE
534: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_RCVD_QTY');
535: END IF;
536: END IF;
537: OE_MSG_PUB.Add;
538: x_return_status := FND_API.G_RET_STS_ERROR ;
539: RAISE FND_API.G_EXC_ERROR;
540: END IF;
541: -- Never receive on open line as this line will never have any receipt

Line 609: OE_MSG_PUB.Add;

605: END IF;
606: l_line_tbl(1).flow_status_code := 'AWAITING_RETURN';
607: ELSE
608: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_RCVD_QTY');
609: OE_MSG_PUB.Add;
610: x_return_status := FND_API.G_RET_STS_ERROR ;
611: RAISE FND_API.G_EXC_ERROR;
612: END IF;
613:

Line 663: OE_MSG_PUB.Add;

659: l_line_tbl(1).flow_status_code := 'AWAITING_RETURN';
660: ELSE
661: -- Give error that it is a wrong correction
662: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_RCVD_QTY');
663: OE_MSG_PUB.Add;
664: x_return_status := FND_API.G_RET_STS_ERROR ;
665: RAISE FND_API.G_EXC_ERROR;
666: END IF;
667: END IF; -- IF (l_open_line_id is NULL) THEN

Line 698: OE_MSG_PUB.Add;

694:
695: -- over quantity being passed
696: IF (l_line_tbl(1).shipped_quantity < l_updated_quantity ) THEN
697: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_DLVR_QTY');
698: OE_MSG_PUB.Add;
699: x_return_status := FND_API.G_RET_STS_ERROR ;
700: RAISE FND_API.G_EXC_ERROR;
701: END IF;
702:

Line 943: OE_MSG_PUB.Add;

939: -- received quantity should be within tolerance
940: IF (l_updated_quantity >
941: l_line_tbl(1).ordered_quantity + l_tolerance_above) THEN
942: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_RCVD_QTY');
943: OE_MSG_PUB.Add;
944: x_return_status := FND_API.G_RET_STS_ERROR ;
945: RAISE FND_API.G_EXC_ERROR;
946: END IF;
947:

Line 1165: OE_MSG_PUB.Get

1161:
1162: WHEN FND_API.G_EXC_ERROR THEN
1163: x_return_status := FND_API.G_RET_STS_ERROR;
1164:
1165: OE_MSG_PUB.Get
1166: ( p_msg_index => OE_MSG_PUB.G_LAST
1167: , p_encoded => FND_API.G_FALSE
1168: , p_data => x_msg_data
1169: , p_msg_index_out => x_msg_count

Line 1166: ( p_msg_index => OE_MSG_PUB.G_LAST

1162: WHEN FND_API.G_EXC_ERROR THEN
1163: x_return_status := FND_API.G_RET_STS_ERROR;
1164:
1165: OE_MSG_PUB.Get
1166: ( p_msg_index => OE_MSG_PUB.G_LAST
1167: , p_encoded => FND_API.G_FALSE
1168: , p_data => x_msg_data
1169: , p_msg_index_out => x_msg_count
1170: );

Line 1173: IF OE_MSG_PUB.Check_MSg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

1169: , p_msg_index_out => x_msg_count
1170: );
1171:
1172: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1173: IF OE_MSG_PUB.Check_MSg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1174: OE_MSG_PUB.Add_Exc_Msg
1175: (G_PKG_NAME
1176: ,'Push_Receiving_Info'
1177: );

Line 1174: OE_MSG_PUB.Add_Exc_Msg

1170: );
1171:
1172: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1173: IF OE_MSG_PUB.Check_MSg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1174: OE_MSG_PUB.Add_Exc_Msg
1175: (G_PKG_NAME
1176: ,'Push_Receiving_Info'
1177: );
1178: END IF;

Line 1181: OE_MSG_PUB.Get

1177: );
1178: END IF;
1179: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1180:
1181: OE_MSG_PUB.Get
1182: ( p_msg_index => OE_MSG_PUB.G_LAST
1183: , p_encoded => FND_API.G_FALSE
1184: , p_data => x_msg_data
1185: , p_msg_index_out => x_msg_count

Line 1182: ( p_msg_index => OE_MSG_PUB.G_LAST

1178: END IF;
1179: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1180:
1181: OE_MSG_PUB.Get
1182: ( p_msg_index => OE_MSG_PUB.G_LAST
1183: , p_encoded => FND_API.G_FALSE
1184: , p_data => x_msg_data
1185: , p_msg_index_out => x_msg_count
1186: );

Line 1190: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1186: );
1187:
1188: WHEN OTHERS THEN
1189:
1190: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1191: THEN
1192: OE_MSG_PUB.Add_Exc_Msg
1193: ( G_PKG_NAME
1194: , 'Push_Receiving_Info'

Line 1192: OE_MSG_PUB.Add_Exc_Msg

1188: WHEN OTHERS THEN
1189:
1190: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1191: THEN
1192: OE_MSG_PUB.Add_Exc_Msg
1193: ( G_PKG_NAME
1194: , 'Push_Receiving_Info'
1195: );
1196: END IF;

Line 1200: OE_MSG_PUB.Get

1196: END IF;
1197:
1198: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1199:
1200: OE_MSG_PUB.Get
1201: ( p_msg_index => OE_MSG_PUB.G_LAST
1202: , p_encoded => FND_API.G_FALSE
1203: , p_data => x_msg_data
1204: , p_msg_index_out => x_msg_count

Line 1201: ( p_msg_index => OE_MSG_PUB.G_LAST

1197:
1198: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1199:
1200: OE_MSG_PUB.Get
1201: ( p_msg_index => OE_MSG_PUB.G_LAST
1202: , p_encoded => FND_API.G_FALSE
1203: , p_data => x_msg_data
1204: , p_msg_index_out => x_msg_count
1205: );

Line 1318: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)

1314: x_quantity := 0;
1315:
1316: WHEN OTHERS THEN
1317:
1318: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
1319: THEN
1320: oe_msg_pub.Add_Exc_Msg
1321: ( G_PKG_NAME
1322: , 'GET_RMA_Available_Quantity'

Line 1320: oe_msg_pub.Add_Exc_Msg

1316: WHEN OTHERS THEN
1317:
1318: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
1319: THEN
1320: oe_msg_pub.Add_Exc_Msg
1321: ( G_PKG_NAME
1322: , 'GET_RMA_Available_Quantity'
1323: );
1324: END IF;

Line 1361: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)

1357: EXCEPTION
1358:
1359: WHEN OTHERS THEN
1360:
1361: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
1362: THEN
1363: oe_msg_pub.Add_Exc_Msg
1364: ( G_PKG_NAME
1365: , 'Get_RMA_Tolerances'

Line 1363: oe_msg_pub.Add_Exc_Msg

1359: WHEN OTHERS THEN
1360:
1361: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
1362: THEN
1363: oe_msg_pub.Add_Exc_Msg
1364: ( G_PKG_NAME
1365: , 'Get_RMA_Tolerances'
1366: );
1367: END IF;

Line 1371: OE_MSG_PUB.Count_And_Get

1367: END IF;
1368:
1369: -- Get message count and data
1370:
1371: OE_MSG_PUB.Count_And_Get
1372: ( p_count => x_msg_count
1373: , p_data => x_msg_data
1374: );
1375: