web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Creating a lookup from salesline table in dialog

(0) ShareShare
ReportReport
Posted on by

Hello, is it possible to create a lookup in dialog for saleslines?

This gives me a lookup showing all sales order headers.I need the same for the lines.

DialogField salesid = dialog.addField(extendedTypeStr(SalesId));

Regards.

*This post is locked for comments

  • Verified answer
    Sohaib Cheema Profile Picture
    49,668 Super User 2026 Season 2 on at

    its possible, you have to create custom lookup using table SalesLine as you cannot use any specific EDT in case of SalesLine.

    msdn.microsoft.com/.../hh185372.aspx

  • Martin Dráb Profile Picture
    241,353 Most Valuable Professional on at

    SalesId is the unique identification of SalesTable. What field do you intend to use if you for picking individual sales lines? InventTransId?

  • Community Member Profile Picture
    on at

    Yeah,actually that was the dilemma i had.There's recid or salesid + linenum :/

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans