Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Display All Ph.Nos that are active

(0) ShareShare
ReportReport
Posted on by 220

 So I have this table employeeCompanyPhone with phone  number and active checkbox. I want to display the active checked phone numbers of an employee in a field in employee master form for the respective employee. Please advise

*This post is locked for comments

  • Hariharans87 Profile Picture
    Hariharans87 4,971 on at
    RE: Display All Ph.Nos that are active

    Yes. You can achieve this by using display method. Refer into this link for display method www.axaptapedia.com/Display_method

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Display All Ph.Nos that are active

    then writing display method will best suit here to build a comma separated string

  • Sherwin Profile Picture
    Sherwin 220 on at
    RE: Display All Ph.Nos that are active

    Hi,

    The scenario is one employee can have 3 active or inactive mobile number and I want to show all the active phone number in a single unbound field in a form with commas. Can I show three values in a single field with commas?

  • Sherwin Profile Picture
    Sherwin 220 on at
    RE: Display All Ph.Nos that are active

    Hello Sohaib,

    There is no two tables.I have a single employee master form with two tabs(Overview and company mobile info) The scenario is one employee can have 3 active or inactive mobile number and I want to show all the active phone number in a single unbound field in a form with commas.

  • Suggested answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Display All Ph.Nos that are active

    You need to add this table to emp master form as a new Data source and then add new fields from this DS to master from.

    Please note you should have relation between empl and employeeCompanyPhone  table defined on employeeCompanyPhone.

  • Suggested answer
    Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Display All Ph.Nos that are active

    It depends upon how two tables are related.

    If you have a direct relationship between two tables, you can make join between two tables, to display value from other table (employeeCompanyPhone)

    Another option can be writing a display method to show value in employee table.

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