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 :
Microsoft Dynamics AX (Archived)

How to add a lookup form and bind a control to it?

(0) ShareShare
ReportReport
Posted on by

Hi

I have used the following instruction to add a lookup form and bind a control to it.

I just cant see where the last 2 methods configureCustomerLookUp(FormStringControl stringControl) and private void CustomerLookUp(FormStringControl stringControl) are located.

https://community.dynamics.com/ax/b/alirazatechblog/archive/2014/08/27/how-to-use-ax-form-as-lookup-in-dynamics-ax-2012

Are they on the form that calls the lookup form?

Kind regards

Mahyar

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Just overwrite the lookup() method of your control and put the code of the CustomerLookUp() method from the example there.

  • Community Member Profile Picture
    on at

    Hi Jens

    thanks for your help.

  • Mark Kopan Profile Picture
    245 on at

    How would you perform a similar action on SalesTable Form DS:SalesLine.ExternalItemId LookUp method. CustVendExternalItem has been modified for Steel Industry client. Combination of Customer, ExternalItemId , InventDim and  Revision Number. Need it to return ExternalItemID to salesLine grid as well as the RevisionNumber and InventDim. Customer may have Same ExternalItemID with n.* Revision Nums. Using custom lookup form utilizing args and FormStringControl, and FormRun for the call. how to return more than 1 field and update SalesLine.ExternalItem and Sl.RevNum when closeSelect fires?  thanks in advance

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans