Hello guys. please help me in getting the definition field against product number
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.
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.
I tried but it didnt work
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.
I am working on a query base report
In my Tmp table i want to get that field (Definition) against Product number.
Can you give us more details about your requirement, please?
By the way, I moved your question here from the AX forum.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156