web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Query View PackingSlip and Shipment ID

(0) ShareShare
ReportReport
Posted on by 260

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?

pastedimage1670359942312v3.png

pastedimage1670359832757v1.png

pastedimage1670359845565v2.png

Thanks,

I have the same question (0)
  • GirishS Profile Picture
    27,843 Moderator on at

    Hi bois,

    For which table you have added group by of ShipmentId?

    Thanks,

    Girish S.

  • bois0155 Profile Picture
    260 on at

    Hi Girish,

    Only the WHSShipmentTable contain the ShipmentID there.

    Thanks,

  • GirishS Profile Picture
    27,843 Moderator on at

    If the LoadId is same for both shipments, then add the group by of WHSLoadTableLoadId field from WHSLoadTableCustPackingSlipJour.

    Thanks,

    Girish S.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 481 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 429 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 391

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans