Skip to main content

Notifications

Announcements

No record found.

Supply Chain Management forum
Under review by Community Managers

Under review

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

Need help with query duplicate query of InventCostReport for variance analysis report

Posted on by
Hi Team,
 
I am working on a requirement in which I am creating the duplicate of Variance analysis statement report. I want to pass some additional filters in this report as per the business requirement.
 
I have created duplicate of standard query InventCostReport - as I want to fetch only those items where default order setting is Purchase order. To achieve this, I added the datasource InventItemSetupSupplyType under InventCostTrans datasource and added the relation as defined the relation like below screenshot and passed the range on defaultOrderType as 0. Also I am passing the range on InventCostTrans .CostTransRefType  as 1.


 
Now when I am running the report, this range seems working but when I am adding a specific item to run the report, its not running for that item but running for all the items.
Somehow its not accepting the item passed in record to include option while running the report. Please guide what am I doing wrong here.
Please guide. 
Thanks

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans