Error: "The email attachment filename to use is required" in Paperless Office Form Maintenance

Cause

If data was migrated from an older version of Sage 100, the field EmailAttachmentFilenameToUse could be blank since the field did not exist in PL_Form file prior to Sage 100 2019. In Sage 100 2019, this field is populated by the choice selected for PDF File Name (either Full Description or Document No.) in the Electronic Delivery section on the Main tab of Form Maintenance. Valid values for the PDF File Name (EmailAttachmentFilenameToUse) field (according to File Layouts description) are either F (Full Description) or D (Document Number).

Resolution

On the Form Maintenance screen, if there is a blank value in the EmailAttachmentFilenameToUse field in PL_Form, it will display Full Description on the screen (as this is the default). Select a valid selection and then Accept the record (note: you may need to select Document No. (and then change back to Full Description if desired) to get the record to save.


Once a value has been saved for this field, and the field updated with an F or D value, you can change other settings on that Form Maintenance screen such as PDF Directory location and then Accept the changes.