# CostCenterCostUnitMatrixByJournalProfileId Cost centers and cost unit matrix __Activity name:__ GetCostCenterCostUnitMatrixByJournalProfileId Get the matrix of cost centers and cost unit connections 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 `CostCenterCostUnitMatrixByJournalProfileId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `costCenter_code` | `string` | Cost Centre Code | ☐ | The code for a cost center | | `costCenter_description` | `string` | Cost Centre Description | ☐ | The description for a cost center | | `costCenter_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) | | `costUnit_code` | `string` | Cost Unit Code | ☐ | The code for a cost unit | | `costUnit_description` | `string` | Cost Unit Description | ☐ | The description for a cost unit | | `costUnit_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) | | `linked` | `boolean` | | ☐ | If true the given combination of cost center and cost unit are linked. Linked means that the combination can be selected in the "Ledger account to payroll component mapping" and "journal allocation" on employment level. | | `locked` | `boolean` | | ☐ | If true the given link between cost center and cost unit is locked and cannot be disabled. This is due to the `automaticallyLinkToAllCostCenters` and `automaticallyLinkToAllCostUnits` fields |