Hi guys,
I'm trying to create a view which contains only the ShipmentId, and the related PackingSlipID for this shipment.
However, we can cancel the packing slip and post it again meaning that we will have two packing slip for one shipment.
I want to select only the last posted packing slip for the selected shipment, doing it from X++ was easy, but somehow it is not working on the AOT query.
The properties are set to First Only, and I even added a group by ShipmentID (just to test), but it keeps showing both packing slips.
Am I missing something?



Thanks,