# TransferOrderLineAttachmentsByType Gets a paged list with transfer orders of a specific transfer order type Sample requests: `GET /transferorders/TR` `GET /transferorders/TR?destinationWarehouseId=MAIN&status=Open&pageSize=10` `GET /transferorders/TR?orderBy=lastModified%20desc&expand=lines` ## Documentation Sample requests: `GET /transferorders/TR` `GET /transferorders/TR?destinationWarehouseId=MAIN&status=Open&pageSize=10` `GET /transferorders/TR?orderBy=lastModified%20desc&expand=lines` - Catalog: `NgSalesOrders` - Schema: `TransferOrders` This is a read-only table function. The Visma.net Financials API may not support changing the data or the Invantive UniversalSQL driver for Visma.net Financials does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Visma.net Financials API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `TransferOrderLineAttachmentsByType`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `destinationWarehouseId` | `` | ☐ | | The destination warehouse for which to retrieve orders. If omitted or empty, orders for all destination warehouses are included. | | `modifiedSince` | `` | ☐ | | A date/time value for filtering when a transfer order last changed. Unless a specific time zone offset is included (e.g. '2012-12-24T12:15:14+02:00'), the date is considered to be in the UTC time zone. | | `status` | `` | ☐ | | The order status to include in the result. If omitted or empty, orders with any status are included. | | `type` | `` | ☑ | | The transfer order type, `TR` or a custom order type derived from it | ## Columns of Table Function The columns of the table function `TransferOrderLineAttachmentsByType` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `COMPANY_CODE` | `varchar2(30)` | Company Code | ☑ | Partition code, segmenting the data. | | `COMPANY_NAME` | `varchar2(240)` | Company Name | ☑ | Name of the partition. | | `baseOrderQuantity` | `double` | | ☐ | The base order quantity for this line | | `branch_description` | `varchar2` | | ☐ | The description | | `branch_id` | `varchar2` | | ☐ | The id | | `c_links` | `varchar2` | | ☐ | Links applicable for the dto The JSON text of the nested object. | | `cancelBy` | `datetime` | Cancel by | ☐ | The cancel date for the order | | `comment` | `varchar2` | | ☐ | Comment of the latest file revision | | `completed` | `char` | Completed | ☐ | Whether the line is completed | | `createdBy` | `varchar2` | | ☐ | First and last name of the user who uploaded the file; null when the user is unknown | | `creationTime` | `datetime` | | ☐ | Date and time the file was uploaded | | `currencyRate` | `double` | | ☐ | The currency rate of the order. Read only. | | `currency` | `varchar2` | Currency | ☐ | The currency id for the order. Read only. | | `customFields_customDateTimeUtc1` | `datetime` | | ☐ | A free custom colum of type DateTime - in UTC timezone | | `customFields_customDec1` | `double` | | ☐ | A free custom colum of type decimal with max 4 decimals. | | `customFields_customDec2` | `double` | | ☐ | A free custom colum of type decimal with max 4 decimals. | | `customFields_customInt1` | `int32` | | ☐ | A free custom colum of type int | | `customFields_customInt2` | `int32` | | ☐ | A free custom colum of type int | | `customFields_customStr1` | `varchar2` | | ☐ | A free custom colum of type string with max length 100. | | `customFields_customStr2` | `varchar2` | | ☐ | A free custom colum of type string with max length 100. | | `customFields_customStr3` | `varchar2` | | ☐ | A free custom colum of type string with max length 100. | | `customFields_customStr4` | `varchar2` | | ☐ | A free custom colum of type string with max length 100. | | `customFields_customStr5` | `varchar2` | | ☐ | A free custom colum of type string with max length 100. | | `date` | `datetime` | Date | ☐ | The order date | | `description_2` | `varchar2` | Description 2 | ☐ | Any description on the order | | `description` | `varchar2` | Description | ☐ | The description of the line | | `destinationWarehouse_description` | `varchar2` | | ☐ | The description | | `destinationWarehouse_id` | `varchar2` | | ☐ | The id | | `externalLink` | `varchar2` | | ☐ | An external link attached to the line | | `fileSize` | `int32` | | ☐ | Size of the latest file revision in kilobytes, rounded up | | `id` | `guid` | ID | ☐ | | | `includeOnOrderEmail` | `char` | | ☐ | Whether the attachment is included when the order is sent by email | | `inventoryAlternateId` | `varchar2` | | ☐ | The alternate id of the inventory item | | `inventory_baseUnit` | `varchar2` | | ☐ | | | `inventory_description` | `varchar2` | Inventory Description | ☐ | The description | | `inventory_id` | `varchar2` | | ☐ | The id | | `lastModified` | `datetime` | Last Modified | ☐ | The date and time the order was last modified | | `lineId` | `int32` | Line Identifier | ☐ | The line number of the transfer order line | | `lineType` | `varchar2` | Line Type | ☐ | The type of transfer order line. A non-stock item is stored as a miscellaneous line. | | `name` | `varchar2` | Name | ☐ | | | `note` | `varchar2` | Note | ☐ | Any notes on the line | | `openQuantity` | `double` | | ☐ | The quantity that is not shipped yet | | `operation` | `varchar2` | Operation | ☐ | The type of operation the line represents to the order | | `orderId` | `varchar2` | | ☐ | The order id for the order | | `orderQty` | `double` | Order Quantity | ☐ | The total number of items on the order | | `overshipThreshold` | `double` | | ☐ | The overship threshold value (%) | | `purchaseOrderSource` | `varchar2` | | ☐ | The purchase order source of a line marked for purchase order: `purchaseToOrder` or `dropShip` | | `quantityOnShipments` | `double` | | ☐ | The quantity on shipments | | `quantity` | `double` | Quantity | ☐ | The quantity of unit of measure this line represents | | `reasonCode` | `varchar2` | Reason Code | ☐ | The reason code of the line | | `requestDate` | `datetime` | | ☐ | The date the line is requested | | `requestOn` | `datetime` | Request On | ☐ | The date the order is requested | | `revision` | `int32` | Revision | ☐ | | | `salesAccountId` | `varchar2` | | ☐ | The sales account of the line | | `shipDate` | `datetime` | | ☐ | The date the line is scheduled to ship | | `shippingRule` | `varchar2` | | ☐ | The shipping rule of the line | | `shippingScheduledDate` | `datetime` | | ☐ | The date shipment is scheduled | | `sortOrder` | `int32` | | ☐ | Used to apply sort order to a set of lines | | `status` | `varchar2` | Status | ☐ | The current status of the order | | `subaccount` | `varchar2` | Sub Account | ☐ | The subaccount of the line, by segment The JSON text of the nested object. | | `supplier_currencyId` | `varchar2` | | ☐ | The currency of the supplier selected for the order line | | `supplier_id` | `varchar2` | | ☐ | The id of the supplier selected for the order line | | `supplier_name` | `varchar2` | Supplier Name | ☐ | The name of the supplier selected for the order line | | `supplier_price` | `double` | | ☐ | The supplier price of the supplier selected for the order line | | `supplier_unitOfMeasure` | `varchar2` | | ☐ | The unit of measure used by the supplier for this line | | `type` | `varchar2` | Type | ☐ | The transfer order type code | | `undershipThreshold` | `double` | | ☐ | The undership threshold value (%) | | `unitOfMeasure` | `varchar2` | | ☐ | The unit of measure (UOM) for the transfer order line | | `warehouseId` | `varchar2` | Warehouse ID | ☐ | The source warehouse the goods are transferred from | | `warehouseLocation_description` | `varchar2` | | ☐ | The description | | `warehouseLocation_id` | `varchar2` | | ☐ | The id |