Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Creating a lookup from salesline table in dialog

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Creating a lookup from salesline table in dialog

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

  • Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    RE: Creating a lookup from salesline table in dialog

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

  • Verified answer
    Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Creating a lookup from salesline table in dialog

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans