--- title: "How Do I Set an Attachment Through a Legal Entity?" slug: "how-do-i-set-an-attachment-through-a-legal-entity" description: "The Lasernet Connector for Dynamics 365 Finance and Operations enables users to set an attachment to a Lasernet report through a legal entity." updated: 2026-02-05T10:46:26Z published: 2026-02-05T10:46:26Z canonical: "kb.lasernetgroup.com/how-do-i-set-an-attachment-through-a-legal-entity" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # How Do I Set an Attachment Through a Legal Entity? Lasernet Connector for Dynamics 365 Finance and Operations enables users to set an attachment to a Lasernet report through a legal entity. Follow the steps highlighted in this article to learn how to do so: 1. Open FO, then navigate to **Organization administration** > **Document management** > **Document types**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (6)(7).png) 1. Click **New** to create a document type. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (7)(6).png) 1. Navigate to **Organization administration** > **Organizations** > **Legal entities**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (8)(8).png) 1. Select the legal entity that you wish to work with, then click the attachments button. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (9)(7).png) 1. Click **New**, and then select the previously created document type. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (10)(7).png) 1. Click **Browse** on the panel that appears, and then select the document you wish to attach. 2. Check that the file information is correct, and set the restriction that you prefer. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (11)(7).png) 1. Navigate to **Lasernet** > **Common** > **Reports**, select the report, and then open the **Query wizard**. 2. Navigate to the **Tables** section and ensure that the **CompanyInfo** and **DirPartyTable** tables have been added with the following relation: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (12)(7).png) 1. Navigate back to **Lasernet** > **Common** > **Reports**, and then click **Attachments**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (13)(7).png) 1. Click **New**, and then add a report attachment with the following settings: 1. **Attachment reference table**: DirPartyTable. 2. **Attachment from**: From attachments. 3. **Restriction**: Set this field to whichever option was set on the **Attachments for Legal entities** page. 4. **Type**: The document type you created previously. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (14)(7).png) 1. Click **Save**, then run the report. The file should be attached. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image (15)(6).png)