On this page
Attachments
Purpose
Attachments keep images and documents with a record — an item's photo or its specification sheet, for example. Files are kept in your organisation's secure file store, not in the database.
Where attachments are available
Today, attachments are available on the item screen, in the Images and documents section. The section appears once the item has been saved for the first time.
Permissions
| Action | Permission |
|---|---|
| View and download attachments | md.item.view (Item - View) |
| Add and delete files | md.item.update (Item - Update) |
Procedures
Add a file
- Open the item.
- Go to the Images and documents section.
- Select Add file and choose a file on your device.
- The file appears in the list, tagged Image or Document.
You don't need to select Edit first: the file is saved as soon as it's uploaded.
Download a file
Select Download next to the file. Positive ERP creates a temporary download link that's valid for five minutes and opens the file in a new tab.
Delete a file
Select Delete (the bin icon) next to the file. The file is deleted immediately, with no confirmation, so make sure before you select it.
Business rules
| Rule | Details |
|---|---|
| Allowed types | Images (PNG, JPEG, WebP, GIF), PDF, Excel (.xlsx) and Word (.docx) |
| Maximum size | 10 MB per file. Empty files are rejected |
| File name | The file must have a name |
| Attachments from the old system | Attachments from the old system are moved to the new file store when data is migrated (D12b) |
Common error messages
| Message | Cause | Solution |
|---|---|---|
| Only images, PDF, Excel and Word files can be attached. | The file type isn't allowed | Convert the file to an allowed type |
| The file is empty or larger than 10 MB. | The file size is outside the limits | Make the file smaller or split it |
| The file needs a name. | The file has no name | Rename the file, then upload it |
If a record has no files, there's no error — you simply see No files yet.