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

  • 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
  • In reply to Kranthi:

    Ok, Thank you Kranthi.
    I using \Data Dictionary\Extended Data Types\SalesMarkupCode
  • In reply to Pranyoto:

    Then you should get the lookup.