# CostUnitsByJournalProfileId List of cost units __Activity name:__ GetCostUnitsByJournalProfileId Get the list of cost units for a journal profile for a specific payroll administration. This is a read-only table function. The Loket.nl REST API may not support changing the data, or the Invantive UniversalSQL driver for Loket.nl REST does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Loket.nl REST API. - Catalog: `LoketNlRest` - Schema: `JournalProfile` ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `journalProfileId` | `guid` | ☑ | | The unique identifier of a journal profile | ## Columns The columns of the table `CostUnitsByJournalProfileId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `automaticallyLinkToAllCostCenters` | `boolean` | | ☐ | Indicates whether this cost unit will be automaticly be linked to all cost units. __Note:__ This field is no longer supported but due to backwards compatibility we return the value as readOnly. When creating a new record the value is set to "false" | | `code` | `string` | Code | ☐ | The code for a cost unit | | `description` | `string` | Description | ☐ | The description for a cost unit | | `id` | `guid` | ID | ☐ | The unique identifier of an object (GUID/UUID) | | `origin_automaticallyLinkToAllCostCenters` | `int64` | | ☐ | Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider | | `origin_code` | `int64` | | ☐ | Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider | | `origin_description` | `int64` | | ☐ | Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider |