Tuesday, June 12, 2018

x++ trick how to overide EDT relation lookup in ax 2012

Hi Daxer's,

Recently, I have gone through weird requirement,

Scenario: Customer need is to customize lookup filter values of an ItemId EDT in SysQueryForm


public void executeQuery()
{
    QueryBuildDataSource itemidBuildDataSource;

    itemidBuildDataSource = this.query().dataSourceTable(tableNum(InventTable));

    itemidBuildDataSource.addRange(fieldnum(InventTable,ItemType)).value(SysQuery::value(ItemType::Item));

    super();
}



void closeSelect(str p1 )
{
    p1 = Inventtable_ItemId.text();

    super(p1);
}


8 comments:

  1. Nice post My sincere thanks for sharing this post Please Continue to share this post.
    Microsoft Dynamics AX Online Training

    ReplyDelete
  2. Thank you for sharing such great information very useful to us. Good information. Thanks for sharing with us This is good information and really helpful for the people who need information about this.
    oracle training in chennai

    oracle training institute in chennai

    oracle training in bangalore

    oracle training in hyderabad

    oracle training

    hadoop training in chennai

    hadoop training in bangalore


    ReplyDelete
  3. Nice and informative blog! This blog helps in establishing concrete control over your product’s life cycle, monitor every development stage, and give you accurate product quality information.
    If you want to know about QA Testing services in US then you can click here.
    Thanks for sharing.

    ReplyDelete
  4. Nice and informative blog! This blog provides a lot of benefits, like saving time on setting up a QA team and reducing the product’s time to market.
    If you want to know about Software Testing Services in US then you can click here.
    Thanks for sharing.

    ReplyDelete

Export a copy of the standard user acceptance testing (UAT) database

 Reference link: Export a copy of the standard user acceptance testing (UAT) database - Finance & Operations | Dynamics 365 | Microsoft ...