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

How to best check existence of UOM conversion

(2) ShareShare
ReportReport
Posted on by 626
Hello:
I have a requirement to create a report for our sales department of all items sold and invoiced. The issue is we have products in a variety of UOMs and they would like the conversion of all these various UOMs to tons. I know how it sounds, but please bear with me. Anyway, the concern is not that we can convert them to tons - there is a chart. The issue is, I have a bit of code to do the conversion of 'from unit' to 'to unit', but if a conversion is missing, then the report will fail. What I would like to do is check for the existence of a unit conversion (standard, intra, or inter), and if none exists, I would mark it on the report accordingly. Right now, I think I would have to do multiple check against the UnitOfMeasureConversion table looking for ones without Product for standard, then with Product but same UnitOfMeasureClass (intra) and different UnitOfMeasureClass (inter). Hoping someone knows if there's a more straightforward way to check. 
I have the same question (0)

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Subra Profile Picture

Subra 270

#3
Martin Dráb Profile Picture

Martin Dráb 243 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans