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
Gastón Salomone
Hi, I cannot find any information on about this feature on hansamanual. That is the purpose, is it working, how it works or how must be configured to work ? For REST API many web request per...
23:47 3 Oct 2024
Paul Timms
Thanks Bror-Erik, it's hard to replicate so we won't know for sure until we upgrade the customer with this issue....
10:37 30 Sep 2024