The Attachments2 object enables to copy files from a source folder to the Attachments folder that is defined through the application.
Files stored in the Attachments folder can be associated by the AttachmentEntry property of the following objects: Contacts, ContractTemplates, CustomerEquipmentCards, EmployeeInfo, KnowledgeBaseSolutions, Messages, Message, SalesOpportunities, and ServiceContracts.
This object replaces the Attachment and Attachments objects.
Source table: OATC.