# LeaveById: Simplicate Leave by ID Fetches a single leave by its id This is a read-only table function. The Simplicate API may not support modifying the data, or the Invantive UniversalSQL driver for Simplicate does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Simplicate API. - Catalog: `Simplicate` - Schema: `HRM` - Label: Leave by ID ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `id` | `string` | ☑ | | The id of the template | ## Columns The columns of the table `LeaveById` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `created_at` | `string` | Created On | ☐ | | | `created` | `string` | Created | ☐ | | | `description` | `string` | Description | ☐ | | | `employee_amount` | `float` | Employee Amount | ☐ | | | `employee_declarable` | `string` | Billable Employee | ☐ | | | `employee_employee_id` | `string` | Employee ID | ☐ | | | `employee_id` | `string` | Employee ID | ☐ | | | `employee_name` | `string` | Employee Name | ☐ | | | `employee_person_id` | `string` | Employee Person ID | ☐ | Added in order to comply with the original sales/sales responsible_employee response | | `employee_tariff` | `float` | Employee Rate | ☐ | | | `end_date` | `string` | End Date | ☐ | | | `hours` | `float` | Hours | ☐ | | | `id` | `string` | ID | ☐ | | | `leavetype_affects_balance` | `boolean` | | ☐ | | | `leavetype_blocked` | `boolean` | | ☐ | | | `leavetype_color` | `string` | | ☐ | | | `leavetype_id` | `string` | | ☐ | | | `leavetype_label` | `string` | | ☐ | | | `modified` | `string` | Modified | ☐ | | | `start_date` | `string` | Start Date | ☐ | | | `updated_at` | `string` | Updated On | ☐ | | | `year` | `int64` | Year | ☐ | |