Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Creating a lookup from salesline table in dialog

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,056 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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans