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...
Suggested Answer

Email Message Error since BC version 20.5

(0) ShareShare
ReportReport
Posted on by 30

Since 20.5 was released, we are now receiving an error message when adding attachments to Email Messages in BC.  The changes to the Email Message record cannot be saved because some information on the page is not up-to-date. Close the page, reopen it, and try again.

Identification fields and values:

Id='{CBF98F49-B600-4401-9DE2-5443F02952DF}'

Internal session ID: 

80f32052-4bc7-4790-890b-6c5d4bf86ebc

Application Insights session ID: 

df730af7-300b-45ac-b833-416512dd0a76

Client activity id: 

d151cf01-0049-4275-93d8-f9c4ee261256

Time stamp on error: 

2022-09-21T23:03:11.5693755Z

AL call stack: 

"Email Message Impl."(CodeUnit 8905).Modify line 6 - System Application by Microsoft

"Email Message Impl."(CodeUnit 8905).InsertAttachment line 9 - System Application by Microsoft

"Email Message Impl."(CodeUnit 8905).AddAttachmentInternal line 6 - System Application by Microsoft

"Email Editor"(CodeUnit 8906).UploadAttachment line 12 - System Application by Microsoft

"Email Attachments"(Page 8889)."Upload - OnAction"(Trigger) line 4 - System Application by Microsoft

"Email Editor"(CodeUnit 8906).Open line 15 - System Application by Microsoft

"Email Impl"(CodeUnit 8900).OpenInEditor line 24 - System Application by Microsoft

Email(CodeUnit 8901).OpenInEditorModally line 2 - System Application by Microsoft

"Mail Management"(CodeUnit 9520).SendViaEmailModule line 45 - Base Application by Microsoft

"Mail Management"(CodeUnit 9520).DoSend line 5 - Base Application by Microsoft

"Mail Management"(CodeUnit 9520).Send line 16 - Base Application by Microsoft

"Mail Management"(CodeUnit 9520).SendMailOrDownload line 7 - Base Application by Microsoft

"Email Item"(Table 9500).Send line 5 - Base Application by Microsoft

"Document-Mailing"(CodeUnit 260).EmailFileInternal line 54 - Base Application by Microsoft

"Document-Mailing"(CodeUnit 260).EmailFile line 7 - Base Application by Microsoft

"Report Selections"(Table 77).SendEmailDirectly line 100 - Base Application by Microsoft

"Report Selections"(Table 77).SendEmailToCustDirectly line 27 - Base Application by Microsoft

"Report Selections"(Table 77).SendEmailToCust line 36 - Base Application by Microsoft

"Document Sending Profile"(Table 60).SendToEMail line 27 - Base Application by Microsoft

"Document Sending Profile"(Table 60).TrySendToEMailGroupedMultipleSelection line 40 - Base Application by Microsoft

"Document Sending Profile"(Table 60).TrySendToEMail line 17 - Base Application by Microsoft

"Sales Invoice Header"(Table 112).EmailRecords line 13 - Base Application by Microsoft

"Posted Sales Invoice"(Page 132)."Email - OnAction"(Trigger) line 4 - Base Application by Microsoft

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: Email Message Error since BC version 20.5

    Hi,

    How are you adding attachment, do you have any specific custom code ? if yes, please share.

  • Tessa Deenik Profile Picture
    30 on at
    RE: Email Message Error since BC version 20.5

    Just using the standard BC functionality to add a file.

    pastedimage1663899520852v1.png

    [quote user="Tessa Deenik"]

    Since 20.5 was released, we are now receiving an error message when adding attachments to Email Messages in BC.  The changes to the Email Message record cannot be saved because some information on the page is not up-to-date. Close the page, reopen it, and try again.

    Identification fields and values:

    Id='{CBF98F49-B600-4401-9DE2-5443F02952DF}'

    Internal session ID: 

    80f32052-4bc7-4790-890b-6c5d4bf86ebc

    Application Insights session ID: 

    df730af7-300b-45ac-b833-416512dd0a76

    Client activity id: 

    d151cf01-0049-4275-93d8-f9c4ee261256

    Time stamp on error: 

    2022-09-21T23:03:11.5693755Z

    AL call stack: 

    "Email Message Impl."(CodeUnit 8905).Modify line 6 - System Application by Microsoft

    "Email Message Impl."(CodeUnit 8905).InsertAttachment line 9 - System Application by Microsoft

    "Email Message Impl."(CodeUnit 8905).AddAttachmentInternal line 6 - System Application by Microsoft

    "Email Editor"(CodeUnit 8906).UploadAttachment line 12 - System Application by Microsoft

    "Email Attachments"(Page 8889)."Upload - OnAction"(Trigger) line 4 - System Application by Microsoft

    "Email Editor"(CodeUnit 8906).Open line 15 - System Application by Microsoft

    "Email Impl"(CodeUnit 8900).OpenInEditor line 24 - System Application by Microsoft

    Email(CodeUnit 8901).OpenInEditorModally line 2 - System Application by Microsoft

    "Mail Management"(CodeUnit 9520).SendViaEmailModule line 45 - Base Application by Microsoft

    "Mail Management"(CodeUnit 9520).DoSend line 5 - Base Application by Microsoft

    "Mail Management"(CodeUnit 9520).Send line 16 - Base Application by Microsoft

    "Mail Management"(CodeUnit 9520).SendMailOrDownload line 7 - Base Application by Microsoft

    "Email Item"(Table 9500).Send line 5 - Base Application by Microsoft

    "Document-Mailing"(CodeUnit 260).EmailFileInternal line 54 - Base Application by Microsoft

    "Document-Mailing"(CodeUnit 260).EmailFile line 7 - Base Application by Microsoft

    "Report Selections"(Table 77).SendEmailDirectly line 100 - Base Application by Microsoft

    "Report Selections"(Table 77).SendEmailToCustDirectly line 27 - Base Application by Microsoft

    "Report Selections"(Table 77).SendEmailToCust line 36 - Base Application by Microsoft

    "Document Sending Profile"(Table 60).SendToEMail line 27 - Base Application by Microsoft

    "Document Sending Profile"(Table 60).TrySendToEMailGroupedMultipleSelection line 40 - Base Application by Microsoft

    "Document Sending Profile"(Table 60).TrySendToEMail line 17 - Base Application by Microsoft

    "Sales Invoice Header"(Table 112).EmailRecords line 13 - Base Application by Microsoft

    "Posted Sales Invoice"(Page 132)."Email - OnAction"(Trigger) line 4 - Base Application by Microsoft

    [/quote]

    [quote user="Tessa Deenik"]

    Since 20.5 was released, we are now receiving an error message when adding attachments to Email Messages in BC.  The changes to the Email Message record cannot be saved because some information on the page is not up-to-date. Close the page, reopen it, and try again.

    Identification fields and values:

    Id='{CBF98F49-B600-4401-9DE2-5443F02952DF}'

    Internal session ID: 

    80f32052-4bc7-4790-890b-6c5d4bf86ebc

    Application Insights session ID: 

    df730af7-300b-45ac-b833-416512dd0a76

    Client activity id: 

    d151cf01-0049-4275-93d8-f9c4ee261256

    Time stamp on error: 

    2022-09-21T23:03:11.5693755Z

    AL call stack: 

    "Email Message Impl."(CodeUnit 8905).Modify line 6 - System Application by Microsoft

    "Email Message Impl."(CodeUnit 8905).InsertAttachment line 9 - System Application by Microsoft

    "Email Message Impl."(CodeUnit 8905).AddAttachmentInternal line 6 - System Application by Microsoft

    "Email Editor"(CodeUnit 8906).UploadAttachment line 12 - System Application by Microsoft

    "Email Attachments"(Page 8889)."Upload - OnAction"(Trigger) line 4 - System Application by Microsoft

    "Email Editor"(CodeUnit 8906).Open line 15 - System Application by Microsoft

    "Email Impl"(CodeUnit 8900).OpenInEditor line 24 - System Application by Microsoft

    Email(CodeUnit 8901).OpenInEditorModally line 2 - System Application by Microsoft

    "Mail Management"(CodeUnit 9520).SendViaEmailModule line 45 - Base Application by Microsoft

    "Mail Management"(CodeUnit 9520).DoSend line 5 - Base Application by Microsoft

    "Mail Management"(CodeUnit 9520).Send line 16 - Base Application by Microsoft

    "Mail Management"(CodeUnit 9520).SendMailOrDownload line 7 - Base Application by Microsoft

    "Email Item"(Table 9500).Send line 5 - Base Application by Microsoft

    "Document-Mailing"(CodeUnit 260).EmailFileInternal line 54 - Base Application by Microsoft

    "Document-Mailing"(CodeUnit 260).EmailFile line 7 - Base Application by Microsoft

    "Report Selections"(Table 77).SendEmailDirectly line 100 - Base Application by Microsoft

    "Report Selections"(Table 77).SendEmailToCustDirectly line 27 - Base Application by Microsoft

    "Report Selections"(Table 77).SendEmailToCust line 36 - Base Application by Microsoft

    "Document Sending Profile"(Table 60).SendToEMail line 27 - Base Application by Microsoft

    "Document Sending Profile"(Table 60).TrySendToEMailGroupedMultipleSelection line 40 - Base Application by Microsoft

    "Document Sending Profile"(Table 60).TrySendToEMail line 17 - Base Application by Microsoft

    "Sales Invoice Header"(Table 112).EmailRecords line 13 - Base Application by Microsoft

    "Posted Sales Invoice"(Page 132)."Email - OnAction"(Trigger) line 4 - Base Application by Microsoft

    [/quote]
  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at
    RE: Email Message Error since BC version 20.5

    Hi,

    I tried the same but I am not facing any error, Can you please consult with your Development partner to debug the issue for you?

    Thanks.

  • Tessa Deenik Profile Picture
    30 on at
    RE: Email Message Error since BC version 20.5

    I logged this with Microsoft who have duplicated the issue and confirmed it's a bug.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    RE: Email Message Error since BC version 20.5

    Thank you for sharing this information!

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,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans