DBA Data[Home] [Help]

APPS.OE_RMA_RECEIVING dependencies on OE_MSG_PUB

Line 348: OE_MSG_PUB.Add;

344: -- received quantity should be within tolerance
345: IF (l_updated_quantity >
346: l_line_tbl(1).ordered_quantity + l_tolerance_above) THEN
347: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_RCVD_QTY');
348: OE_MSG_PUB.Add;
349: x_return_status := FND_API.G_RET_STS_ERROR ;
350: RAISE FND_API.G_EXC_ERROR;
351: END IF;
352:

Line 453: OE_MSG_PUB.Add;

449:
450: -- over quantity being passed
451: IF (l_line_tbl(1).shipped_quantity < l_updated_quantity ) THEN
452: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_DLVR_QTY');
453: OE_MSG_PUB.Add;
454: x_return_status := FND_API.G_RET_STS_ERROR ;
455: RAISE FND_API.G_EXC_ERROR;
456: END IF;
457:

Line 575: OE_MSG_PUB.Add;

571: ELSE
572: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_RCVD_QTY');
573: END IF;
574: END IF;
575: OE_MSG_PUB.Add;
576: x_return_status := FND_API.G_RET_STS_ERROR ;
577: RAISE FND_API.G_EXC_ERROR;
578: END IF;
579: -- Never receive on open line as this line will never have any receipt

Line 647: OE_MSG_PUB.Add;

643: END IF;
644: l_line_tbl(1).flow_status_code := 'AWAITING_RETURN';
645: ELSE
646: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_RCVD_QTY');
647: OE_MSG_PUB.Add;
648: x_return_status := FND_API.G_RET_STS_ERROR ;
649: RAISE FND_API.G_EXC_ERROR;
650: END IF;
651:

Line 708: OE_MSG_PUB.Add;

704: l_line_tbl(1).flow_status_code := 'AWAITING_RETURN';
705: ELSE
706: -- Give error that it is a wrong correction
707: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_RCVD_QTY');
708: OE_MSG_PUB.Add;
709: x_return_status := FND_API.G_RET_STS_ERROR ;
710: RAISE FND_API.G_EXC_ERROR;
711: END IF;
712: END IF; -- IF (l_open_line_id is NULL) THEN

Line 743: OE_MSG_PUB.Add;

739:
740: -- over quantity being passed
741: IF (l_line_tbl(1).shipped_quantity < l_updated_quantity ) THEN
742: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_DLVR_QTY');
743: OE_MSG_PUB.Add;
744: x_return_status := FND_API.G_RET_STS_ERROR ;
745: RAISE FND_API.G_EXC_ERROR;
746: END IF;
747:

Line 999: OE_MSG_PUB.Add;

995: -- received quantity should be within tolerance
996: IF (l_updated_quantity >
997: l_line_tbl(1).ordered_quantity + l_tolerance_above) THEN
998: FND_MESSAGE.Set_Name('ONT', 'OE_RETURN_INVALID_RCVD_QTY');
999: OE_MSG_PUB.Add;
1000: x_return_status := FND_API.G_RET_STS_ERROR ;
1001: RAISE FND_API.G_EXC_ERROR;
1002: END IF;
1003:

Line 1274: OE_MSG_PUB.Get

1270:
1271: WHEN FND_API.G_EXC_ERROR THEN
1272: x_return_status := FND_API.G_RET_STS_ERROR;
1273:
1274: OE_MSG_PUB.Get
1275: ( p_msg_index => OE_MSG_PUB.G_LAST
1276: , p_encoded => FND_API.G_FALSE
1277: , p_data => x_msg_data
1278: , p_msg_index_out => x_msg_count

Line 1275: ( p_msg_index => OE_MSG_PUB.G_LAST

1271: WHEN FND_API.G_EXC_ERROR THEN
1272: x_return_status := FND_API.G_RET_STS_ERROR;
1273:
1274: OE_MSG_PUB.Get
1275: ( p_msg_index => OE_MSG_PUB.G_LAST
1276: , p_encoded => FND_API.G_FALSE
1277: , p_data => x_msg_data
1278: , p_msg_index_out => x_msg_count
1279: );

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

1278: , p_msg_index_out => x_msg_count
1279: );
1280:
1281: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1282: IF OE_MSG_PUB.Check_MSg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1283: OE_MSG_PUB.Add_Exc_Msg
1284: (G_PKG_NAME
1285: ,'Push_Receiving_Info'
1286: );

Line 1283: OE_MSG_PUB.Add_Exc_Msg

1279: );
1280:
1281: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1282: IF OE_MSG_PUB.Check_MSg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
1283: OE_MSG_PUB.Add_Exc_Msg
1284: (G_PKG_NAME
1285: ,'Push_Receiving_Info'
1286: );
1287: END IF;

Line 1290: OE_MSG_PUB.Get

1286: );
1287: END IF;
1288: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1289:
1290: OE_MSG_PUB.Get
1291: ( p_msg_index => OE_MSG_PUB.G_LAST
1292: , p_encoded => FND_API.G_FALSE
1293: , p_data => x_msg_data
1294: , p_msg_index_out => x_msg_count

Line 1291: ( p_msg_index => OE_MSG_PUB.G_LAST

1287: END IF;
1288: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1289:
1290: OE_MSG_PUB.Get
1291: ( p_msg_index => OE_MSG_PUB.G_LAST
1292: , p_encoded => FND_API.G_FALSE
1293: , p_data => x_msg_data
1294: , p_msg_index_out => x_msg_count
1295: );

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

1295: );
1296:
1297: WHEN OTHERS THEN
1298:
1299: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1300: THEN
1301: OE_MSG_PUB.Add_Exc_Msg
1302: ( G_PKG_NAME
1303: , 'Push_Receiving_Info'

Line 1301: OE_MSG_PUB.Add_Exc_Msg

1297: WHEN OTHERS THEN
1298:
1299: IF OE_MSG_PUB.Check_Msg_Level(OE_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1300: THEN
1301: OE_MSG_PUB.Add_Exc_Msg
1302: ( G_PKG_NAME
1303: , 'Push_Receiving_Info'
1304: );
1305: END IF;

Line 1309: OE_MSG_PUB.Get

1305: END IF;
1306:
1307: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1308:
1309: OE_MSG_PUB.Get
1310: ( p_msg_index => OE_MSG_PUB.G_LAST
1311: , p_encoded => FND_API.G_FALSE
1312: , p_data => x_msg_data
1313: , p_msg_index_out => x_msg_count

Line 1310: ( p_msg_index => OE_MSG_PUB.G_LAST

1306:
1307: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1308:
1309: OE_MSG_PUB.Get
1310: ( p_msg_index => OE_MSG_PUB.G_LAST
1311: , p_encoded => FND_API.G_FALSE
1312: , p_data => x_msg_data
1313: , p_msg_index_out => x_msg_count
1314: );

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

1423: x_quantity := 0;
1424:
1425: WHEN OTHERS THEN
1426:
1427: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
1428: THEN
1429: oe_msg_pub.Add_Exc_Msg
1430: ( G_PKG_NAME
1431: , 'GET_RMA_Available_Quantity'

Line 1429: oe_msg_pub.Add_Exc_Msg

1425: WHEN OTHERS THEN
1426:
1427: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
1428: THEN
1429: oe_msg_pub.Add_Exc_Msg
1430: ( G_PKG_NAME
1431: , 'GET_RMA_Available_Quantity'
1432: );
1433: END IF;

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

1466: EXCEPTION
1467:
1468: WHEN OTHERS THEN
1469:
1470: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
1471: THEN
1472: oe_msg_pub.Add_Exc_Msg
1473: ( G_PKG_NAME
1474: , 'Get_RMA_Tolerances'

Line 1472: oe_msg_pub.Add_Exc_Msg

1468: WHEN OTHERS THEN
1469:
1470: IF oe_msg_pub.Check_Msg_Level(oe_msg_pub.G_MSG_LVL_UNEXP_ERROR)
1471: THEN
1472: oe_msg_pub.Add_Exc_Msg
1473: ( G_PKG_NAME
1474: , 'Get_RMA_Tolerances'
1475: );
1476: END IF;

Line 1480: OE_MSG_PUB.Count_And_Get

1476: END IF;
1477:
1478: -- Get message count and data
1479:
1480: OE_MSG_PUB.Count_And_Get
1481: ( p_count => x_msg_count
1482: , p_data => x_msg_data
1483: );
1484: