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

Community site session details

Session Id :
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

I have the same question (0)
  • Suggested answer
    Sohaib Cheema Profile Picture
    49,434 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.

  • Suggested answer
    Mea_ Profile Picture
    60,284 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.

  • Sherwin Profile Picture
    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.

  • Sherwin Profile Picture
    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?

  • Sohaib Cheema Profile Picture
    49,434 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

  • Hariharans87 Profile Picture
    3 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

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

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans