Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

API with filtering and summary

Posted on by 2,216
Hi All
I want extract item ledger entries where the quantity is summarized by the item. However the summary should happen after filtering the posting date to end of last month. I know Query object has SUM method however the issue is we need another filter for the date. Assume we only have 2 items then total quantity as at EOM last month :
Item         Qty Tot
Chair A     100
Chair B     200
 
Thanks
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,395 Super User 2024 Season 2 on at
    API with filtering and summary
    Hi, hope the following helps.
    Dynamics 365 Business Central: Using the Date Method to retrieve only the Day, Month, and Year Data in Queries [Group by Year-month]
     
     
    Thanks.
    ZHU

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,252 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,089 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans