How to fill Markup Code into Textfield in dialogbox parameters AX

Hi Master,

How to fill Markup Code into Textfield (from MarkupTrans table) in dialogbox parameters.

as I know in SQL (select distinct(Markupcode) from MarkupTrans). How to implement like this in AX ?

Please advise, thank you

pastedimage1508320250267v1.png

MarkupCode EDT doesn’t have any relation in it, so you may have to implement the lookup code in UI builder class.
There are types specific to sales to purch that shows only related markup codes.
Example - \Data Dictionary\Extended Data Types\PurchMarkupCode

Ok, Thank you Kranthi.
I using \Data Dictionary\Extended Data Types\SalesMarkupCode

Then you should get the lookup.