Views:

Applies to Product - Dynamics 365 Supply Chain Management
 

What’s happening?
The customer is experiencing an issue with Electronic Reporting format file component file type conversion, where a PDF file is being converted into a PDF.txt file. This issue arises when setting up file attachments in the purchase order confirmation.
 

Reason:
The problem occurs specifically when two different file attachments are involved: one from the VendPurchOrderJour Docu Ref and the other from the PurchTable Docu Ref. When both attachments are PDFs, only the VendPurchOrderJour attachment remains a PDF, while the PurchTable attachment is converted to PDF.txt.
 

Resolution:

  • Verify the formula used in the $AVA_FileAttachments_Header and ensure it matches the one used in $AVA_FileAttachments. This can help identify any discrepancies in the setup.
  • Test the behavior by applying the same formula from the VendPurchOrderJour attachment to the PurchTable attachment, without including the e-mail NoYes enum.
  • Provide examples of the attached documents to the purchase order to assist in further investigation of the settings and potential issues.
If the above steps do not resolve the issue, further investigation may be required based on the specific configurations and settings used.