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 :
Small and medium business | Business Central, N...
Unanswered

Default customer emails not showing the correct one.

(2) ShareShare
ReportReport
Posted on by 22
Hi, 

we have the strangest issue when sending out emails.

Some years ago, we created a new customer with email address hello@domain.com.
After some months, we changed the email address in the customer card to new-email@domain.com. We also removed the contact that was associated with the first email.
 
Every time we send out an email (invoice or credit note), by default it always shows hello@domain.com even though this email address is nowhere to be found in the customer card.

I adapted the codeunit from Yun Zhu's post (https://yzhums.com/31281/) and modified it to EmailAddress := Cust."E-Mail"; and now, by default, it shows the customers default email address.
I would like to avoid customization for this type of thing as it should be default. Any idea?

I also tried setting a specific email from the document layout and it works but I don't want to manage exceptions for customer that changed their email address.

Thank you for your time.
I have the same question (0)

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,844

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,010

#3
Sumit Singh Profile Picture

Sumit Singh 2,815

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans