Skip to main content



No record found.

Microsoft Dynamics AX forum
Suggested answer

Onhand report TSQL

Posted on by 5

Hi, I am trying to generate stock level report whereby to present Item group, location(site), onhand qty and onhand value. With TSQL I have done I ma getting correct onhand qty but onhand value mismatch with AX onhand report even inventroy againg report.

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: Onhand report TSQL

    In TSQL you need to remember to filter by DataAreaId, otherwise you will get data from all companies. Other than that, it could be helpful if you shared some details about your situation (code, data, output…) so that we can look into it. Thanks!

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans