# InventoryReceiptTransfers_Lines
Get transfers available to receive in IN301000, including all remaining lines and allocations.
Header totals belong to the original transfer. Availability is a snapshot.
- Catalog: `VismaNet`
- Schema: `InventoryReceipt`
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 `InventoryReceiptTransfers_Lines`. 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 |
|---|:---:|:---:|:---:|---|
| `transferReferenceNumber` | `` | ☐ | | Exact source transfer reference. Lines and allocations are always included. |
## Columns of Table Function
The columns of the table function `InventoryReceiptTransfers_Lines` 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. |
| `baseQuantity` | `double` | | ☐ | Remaining receivable quantity in the inventory item's base UOM. |
| `date` | `datetime` | Date | ☐ | Transfer date. |
| `description_2` | `varchar2` | Description 2 | ☐ | Transfer description. |
| `description` | `varchar2` | Description | ☐ | Description of the source transfer line; the receipt line created from the transfer carries it. |
| `documentType` | `varchar2` | Document Type | ☐ | Inventory document type; always Transfer for this endpoint. |
| `errorInfo` | `varchar2` | Error Message | ☐ | |
| `externalReference` | `varchar2` | External Reference | ☐ | External reference of the transfer. |
| `inventoryItem_description` | `varchar2` | | ☐ | Name of item/description |
| `inventoryItem_number` | `varchar2` | | ☐ | Number of item |
| `location_countryId` | `varchar2` | Location Country ID | ☐ | Location*. |
| `location_id` | `varchar2` | Location ID | ☐ | Click the magnifier > The identifier |
| `location_name` | `varchar2` | Location Name | ☐ | Click the magnifier > The displayed name |
| `metadata_maxPageSize` | `int64` | Metadata Max Pagesize | ☐ | |
| `metadata_totalCount` | `int64` | Total Count | ☐ | |
| `note` | `varchar2` | Note | ☐ | Note of the source transfer line; omitted when the line has none. |
| `postPeriod` | `varchar2` | Post Period | ☐ | Financial period of the transfer (YYYYMM). |
| `quantity` | `double` | Quantity | ☐ | Remaining receivable quantity in the source line UOM. |
| `referenceNumber` | `varchar2` | Reference Number | ☐ | Reference number of the transfer. |
| `source` | `varchar2` | Source | ☐ | Originating module; always IN for this endpoint. |
| `status` | `varchar2` | Status | ☐ | Document status; always Released for this endpoint. |
| `subitem` | `varchar2` | | ☐ | Subitem code when all allocations share one subitem; otherwise null. |
| `timeStamp` | `blob` | Timestamp | ☐ | Row version of the source transfer header. |
| `totalAmount` | `double` | Total Amount | ☐ | Original transfer total amount. |
| `totalCost` | `double` | | ☐ | Original transfer total cost. |
| `totalQuantity` | `double` | Total Quantity | ☐ | Original transfer total quantity, including already received quantities. |
| `transferLineNumber` | `int32` | | ☐ | Source transfer line number, not a receipt line number. |
| `transferReferenceNumber` | `varchar2` | | ☐ | Reference number of the source transfer. |
| `uom` | `varchar2` | Unit of Measure | ☐ | Unit of measure of the source transfer line. |
| `warehouse_description` | `varchar2` | Warehouse Description | ☐ | Click on the magnifier. > The description. |
| `warehouse_id` | `varchar2` | Warehouse ID | ☐ | Click on the magnifier. > The identifier. |