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)

Basic Dynamics AX 12 development

(0) ShareShare
ReportReport
Posted on by 255

From the rich client [ this is a test/dummy project provided to me, NOT real info]

in accounts receivable, if I have this screen

then I click on sales order (top left) and get this dialog box

there is a drop down menu displaying these customers from a custtable. It's displaying all customers right now but I want to limit that to say just some customers via x++ only. So my initial thoughts were right click on the top of the create sales window box, click on personalize, figure out which form it links to, and go there to see if I can manipulate a query. Still haven't found the query that provides this preview pane. Is there an easy(ier) way to find out the x++ code that calls this query so I can modify it?

*This post is locked for comments

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

    Please uplaod the screen shots as they are not showing up

    it is required to better understand your query.

  • CorvusCorax Profile Picture
    255 on at

    ok so link for first picture is

    i.imgur.com/Q2Vf85S.png

    and 2nd pic is

    i.imgur.com/9Gkh78Q.png

    (can't upload directly from computer, can't get the images small enough).

  • Verified answer
    dolee Profile Picture
    11,279 on at

    Hi,

    On the SalesCreateOrder form, you should override the lookup method of the control (SalesTable_CustAccount). This way you can create a lookup that suits your need.

    The link below has an example how to do just that:

    devexpp.blogspot.hk/.../dynamics-ax-custom-lookup.html

    Kind regards,

    Dominic Lee

  • CorvusCorax Profile Picture
    255 on at

    Perfect! Thanks man.

  • CorvusCorax Profile Picture
    255 on at

    One more question; how do I make the items displayed unique/distinct?

  • CorvusCorax Profile Picture
    255 on at

    I just used the groupby method in place of any uniqueness/distinct thing.

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans