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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to mass update email address in Customer Document Layouts

(1) ShareShare
ReportReport
Posted on by 17

What are some ways that email addresses for customer document layouts may be changed? A member of our sales team just informed me that a large number of those email addresses have been changed to the wrong address, and I'd like to figure out how it happened.

We have 1009 records in the document layouts table. Somehow, 401 entries were overridden with one email address. None of our sales team have permissions for configuration packages, so I'm trying to figure out how else this information may have been overwritten. There have been no mass data imports in quite some time

Any guidance would be helpful. Thanks!

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,548 Super User 2025 Season 2 on at

    Hi, Is it caused by some customization feature?
    You can try to turn on the Change Log feature and find when and who the changes are made.

    https://learn.microsoft.com/en-us/dynamics-nav-app/across-log-changes

    Hope this helps.

    Thanks.

    ZHU

  • Maassimaassimo Profile Picture
    22 on at

    Dear Mr. ZHU,

    Dear Community Members,

    Similar to the problem mentioned above, we also have an issue in regards to the field "Send to Email" on Table "Custom Report Selection". (Field 9 - Table 9657). At first it is imported through the configuration Packages (in Excel). The addresses used initially do not contain any spaces and adhere to the most basic principles of a general e-mailaddress format.

    Some examples that were imported and ended up creating issues are:

    invoice@companyname.xy

    xyz-companyname-xy@companyname.xy

    invoice@company-name.xy

    After being imported it still seems like everything has been applied correctly.

    Only to notice that after creating the documents (Purch. Ord, Sal. Ord, Sal. Inv., ect...) certain e-mailaddress values have been overwritten by a string of e-mailaddresses from other document layoutlines from other customers / vendors. This on the document as well as the document layoutlines on the customer / vendor card. If you insert the same e-mailaddress values manually this does not create any issues.

    I would like to find out where this issue originates from so we can prevent any future misstakes as this concerns sensitive information. Manual input is a good temporary work around but efficiency is also important.

    Thank you very much in advance,

    Kind regards!

  • ManishS Profile Picture
    86 on at

    Do you have report which updates email address and that report is linked in custom report layout ?

  • Maassimaassimo Profile Picture
    22 on at

    At the moment we do not have any report which does this action.

  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,766 Super User 2025 Season 2 on at

    In BC it seems only configuration packages would make this task easier. Ask You IT department or someone who has access, to export the table in Excel. You do the changes and he can import it back.

    In NAV - it was possible to take off the filter of Document Layouts - for specific customer, and You could see whole list - and list was editable and filterable.

  • Maassimaassimo Profile Picture
    22 on at

    Hi KasparsSemjonovs,

    Thank you for your reply.

    It is through configuration packages that this action is completed. I know it seems strange because logically BC shouldn't make changes once imported in Business Central. However, at the moment it does make changes for no logical reason at first sight and I am wondering if any other member of this community has encountered a similar issue.

    Configuration packages is exactly the method we're using at the moment but as it is not stable, it is not a safe option to use. Invoicing is critical and contains sometimes sensitive information. That's why I would like to be able to rely on the import but we noticed; once imported, it can still be overwritten by a random string of e-mailadresses at the moment a document is created.

    Kind regards

  • KasparsSemjonovs Profile Picture
    4,766 Super User 2025 Season 2 on at

    Configuration packages are powerful and therefore You can do  a lot with them - but there are several places/checkmarks/fields - that require extreme caution - or otherwise can make a huge mess in the table.

    So if You are implying there is something strange going on - could be of some wrongly imported entries or wrong relations/values in fields.

  • Maassimaassimo Profile Picture
    22 on at

    Hi KasparsSemjonovs,

    The main issue is that we cannot recreate on command the error. A lot of e-mailadresses that were uploaded in this way work perfectly. Moreover, If there would be a logic like for example;

    Spaces in the e-mailaddresses

    A string of e-mailaddresses

    One particular symbol/letter or sign which could trigger it

    Language Code

    etc...

    We could investigate that particular trigger and find out why this is exactly.

    However, now while testing, I am constantly hoping it gives an error so I'm able to find the reason behind it. At the moment I was not able to recreate it yet but in the meantime some addresses were overwritten again. That's why I would like to really figure out if this could possibly be a bug or if it is us who did something wrong and the exact action where we are messing up.

  • Leslie C Profile Picture
    26 on at

    Hello!

    I know this post is a couple of months old, but we ran into something similar. After importing the Document Layouts table one of our email addresses for a particular customer was overwritten by random vendor contact email addresses.

    I'm able to reproduce the issue and found that it is related to the "Use Email from Contact" field. If this is set to Yes, the email addresses will get overwritten with random emails. Here is the kicker - the overwriting of the email addresses does not happen by BC until a user opens up the Document Layout page in the UI for that customer. After importing, I always do an export and review the table data. Everytime, the email addresses are correct. However, once I open the Document Layout for the customer (from the UI) that had the "Use Email from Contact" field set to yes, the email addresses get overwritten by the system.

    Our Microsoft partner believes it is related to the selected Contacts Filter being a BLOP data type. I really wish I had more information on why this is happening.

    It really makes me nervous when using config packages.

  • Jun Wang Profile Picture
    8,202 Super User 2025 Season 2 on at

    hi Leslie,

    Is the Use Email from Contact on the customer card?

    thanks

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans