# SalesOrderDocumentAttachments: Exact Online Sales Order Document Attachments
## Documentation:
Additional where-clause columns supported:chr(13) || chr(10) || chr(13) || chr(10)- divisionchr(13) || chr(10) || chr(13) || chr(10)- downloadidchr(13) || chr(10) || chr(13) || chr(10)- codechr(13) || chr(10) || chr(13) || chr(10)- ordernumber_fromchr(13) || chr(10) || chr(13) || chr(10)- ordernumber_tochr(13) || chr(10) || chr(13) || chr(10)- orderaccountcodechr(13) || chr(10) || chr(13) || chr(10)- invoiceaccountcodechr(13) || chr(10) || chr(13) || chr(10)- statuschr(13) || chr(10) || chr(13) || chr(10)- documents (1 )
- Catalog: `ExactOnlineXML`
- Schema: `XML`
- Label: Sales Order Document Attachments
The data in this table is partitioned per value of the `Division` column.
- Retrieve: True
- Insert: True
- Update: True
- Delete: False
- Filters on API Server: division
- downloadid
- code
- ordernumber_from
- ordernumber_to
- orderaccountcode
- invoiceaccountcode
- status
- documents (1 )
## View Columns
The columns of the view `SalesOrderDocumentAttachments` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `ATTACHMENTS_DOCUMENT_SALESORDERNUMBER_ATTR` | `varchar2` | | | The sales order number can only be used once. If a sales order with this sales order number already exists, it will either 1) be recreated if the existing sales order status is Open, or 2) be ignored in the import if there is activity on the existing sales order. When no sales order number is supplied, a new sales order with the next available sales order number will be created. |
| `ATTACHMENTS_DOCUMENT_STATUS_ATTR` | `varchar2` | | | 12=Open, 20=Partial, 21=Complete, 45=Canceled. Only used for export, imported sales orders status is always set to 12. |
| `DIVISION_CODE` | `varchar2` | Administration ID | ☑ | Internal unique number of the Exact Online administration. |
| `DIVISION_HID` | `int64` | Administration | ☑ | Number of the Exact Online administration. Not guaranteed to be unique. |
| `DIVISION_NAME` | `varchar2`(240) | Administration Name | ☑ | Name of the Exact Online administration. Not guaranteed to be unique. |
| `INTERFACE_URL` | `varchar2`(4000) | Interface URL | ☑ | URL used to interface this row with Exact Online. |
| `ROWNUM` | `int64` | Row Number | ☑ | Number of the row within the results, starting at 1. |