Mails being overwritten
Paul Timms
10-5-21
Operating system: Windows
A customer reported that when they created a mail from a sales order, it also linked an unrelated purchase order (record and PDF) to the mail record. Looking at the mail history, the first entry is "Routed to Internet", which corresponds to the time of the mail queue record for the purchase order. The next entry is "Created" which corresponds to when the mail record was created from the sales order. The time difference was 17 minutes. This should not happen.

Looking at the source code, it must be this line which is failing to get the next free number:

Mailr.SerNr = NextSerNr("MailVc",Mailr.TransDate,-1,false,"");

This is worrying as this code is used throughout the system. It's a GDPR failure if incorrect attachments are being sent to external people.

Is this issue known about? The customer's version is 8.5 2020-08-13.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Reino Botha
Please check your version of android if it is the same as the server you are connecting too. ...
08:24 21 Nov 2024
Bror-Erik Kotiranta
In NC you hace operations>>ai chats. They are used for these Br, Bror-Erik...
05:12 21 Nov 2024