DBA Data[Home] [Help]

APPS.CSI_ITEM_INSTANCE_VLD_PVT dependencies on INV_LOT_API_PUB

Line 1584: IF NOT Inv_Lot_Api_PUB.validate_unique_lot

1580: --
1581: IF l_lot_type = 1
1582: THEN
1583: -- Call the validate_lot_unique routine to check the uniqueness in Inventory
1584: IF NOT Inv_Lot_Api_PUB.validate_unique_lot
1585: ( p_org_id => p_inv_org_id,
1586: p_inventory_item_id => p_inv_item_id,
1587: p_lot_uniqueness => l_lot_type,
1588: p_auto_lot_number => p_lot_number )

Line 1645: inv_lot_api_pub.insertlot (

1641: l_expiration_date := sysdate + 18250;
1642: END IF;
1643: --
1644: -- Call the Inventory API to insert the lot number
1645: inv_lot_api_pub.insertlot (
1646: p_api_version => 1.0,
1647: p_init_msg_list => fnd_api.g_false,
1648: p_commit => fnd_api.g_false,
1649: p_validation_level => fnd_api.g_valid_level_full,

Line 1664: FND_MESSAGE.Set_token('ERR_TEXT' , 'Error returned from inv_lot_api_pub.InsertLot Procedure');

1660: x_msg_data => l_msg_data);
1661:
1662: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1663: FND_MESSAGE.Set_Name('CSI', 'CSI_API_INVALID_INV_LOT_NUM');
1664: FND_MESSAGE.Set_token('ERR_TEXT' , 'Error returned from inv_lot_api_pub.InsertLot Procedure');
1665: FND_MSG_PUB.ADD;
1666: RAISE comp_error;
1667: ELSE
1668: l_return_value := TRUE;