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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Get unit conversion Definition field

(0) ShareShare
ReportReport
Posted on by 15

2047.pastedimage1680584433274v2.png

Hello guys. please help me in getting the definition field against product number

I have the same question (0)
  • Martin Dráb Profile Picture
    237,996 Most Valuable Professional on at

    Can you give us more details about your requirement, please?

    By the way, I moved your question here from the AX forum.

  • FaizanMuzamal Profile Picture
    15 on at

    I am working on a query base report

    In my Tmp table i want to get that field (Definition) against Product number.

  • Suggested answer
    Martin Dráb Profile Picture
    237,996 Most Valuable Professional on at

    First of all, you need to find out how the value is obtained. I don't think that it comes from a field value at all - it's likely a calculated value.

    Only when you know where the value is stored (or which method calculates it), you can start thinking about a query or code where you'll use it.

    If you look at control (ConversionIntraClassQuickFormula) in UnitOfMeasureConversion form, you'll see that the value comes from displayQuickFormulaWithLocalSeparators() method of UnitOfMeasureConversionIntraclass data source. You won't such a method on the data source, therefore it's defined on the table: UnitOfMeasureConversion.

    UnitOfMeasureConversion.displayQuickFormulaWithLocalSeparators() is a display method, therefore you should be able to use it in a query-based report.

  • FaizanMuzamal Profile Picture
    15 on at

    I tried but it didnt work

  • Martin Dráb Profile Picture
    237,996 Most Valuable Professional on at

    I'm sorry, but I have no solution for "I tried but it didnt work".

    If you want our help, please explain what you did and what problem you have with it.

  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    As Martin suggested, seems there is a display method. You can use that in your code. If it is not working means you are not passing the table buffer correctly. Just check what it is required and pass that variables. Debug that by putting a breakpoint and check. You can also give a infolog to check what it is returning.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans