Describe the issue
Hi,
If at least one security filter is applied to the “Purchase Header” table, the user will have a problem when push ‘Add file from source document’ action on the “Email Attachments” subpage. Message: "Did not find any attachments related to this email"
With this event, we will be able to add the following condition:
SourceRecordRef.SecurityFiltering(SecurityFilter::Ignored);
before reading permissions.
Thx in advance,
Frank Neeckx
Expected behavior
When reproducing, We expect to be able to select document attachments.
Steps to reproduce
- add a security filter to the puchase header table
- Add attachments to a blanked purchase order
- Push: send by mail on the blanked purchase order
- Push action : ‘Add file from source document’ action on the “Email Attachments” subpage.
- Result : Error : "Did not find any attachments related to this email"
Additional context
A new onbefore event to be added to the function : procedure FilterRemovedSourceRecords(var EmailRelatedRecord: Record "Email Related Record") in the [Codeunit][8900][Email Impl]
I will provide a fix for a bug
Describe the issue
Hi,
If at least one security filter is applied to the “Purchase Header” table, the user will have a problem when push ‘Add file from source document’ action on the “Email Attachments” subpage. Message: "Did not find any attachments related to this email"
With this event, we will be able to add the following condition:
SourceRecordRef.SecurityFiltering(SecurityFilter::Ignored);
before reading permissions.
Thx in advance,
Frank Neeckx
Expected behavior
When reproducing, We expect to be able to select document attachments.
Steps to reproduce
Additional context
A new onbefore event to be added to the function : procedure FilterRemovedSourceRecords(var EmailRelatedRecord: Record "Email Related Record") in the [Codeunit][8900][Email Impl]
I will provide a fix for a bug