---
title: "ProjectRateSettingsByCode (Twinfield)"
description: "Project Rate Settings by Code"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/twinfield/Twinfield.Settings.ProjectRateSettingsByCode
original: https://documentation.invantive.eu/en/datamodels/twinfield/Twinfield.Settings.ProjectRateSettingsByCode
updated: 2026-11-01T17:45:47Z
license: https://documentation.invantive.eu/en/
---

# ProjectRateSettingsByCode: Twinfield Project Rate Settings by Code

`read only` `per partition` `XML`

- Catalog: `Twinfield`
- Schema: `Settings`
- Primary Keys: `code`
- Label: Project Rate Settings by Code

The data in this table is partitioned per value of the `COMPANY_CODE` column.

Can only retrieve data.

## Summary

Settings of one project rate, named by code. Every rate of a company is answered by the view ProjectRateSettings; what the rate was over time by ProjectRateChanges.

## API Source

- XML service: `webservices/processxml.asmx`
- XML topic: `projectrate`
- XML path: `/projectrate`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 54 |
| Full scan rows per minute | 1,690 |
| Point query rows per minute | 1,111 |
| Write rows per minute | 378 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `code` | `` | [x] |  | Code of the rate to read. |
| `COMPANY_CODE` | `` | [x] |  | Code of company. |

## Table Columns

The columns of the table `ProjectRateSettingsByCode` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `CODE` | `varchar2` | Code | [x] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/code` |  |
| `COMPANY_CODE` | `varchar2` | Company ID | [x] |  |  |
| `COMPANY_NAME` | `varchar2` | Company Name | [x] |  |  |
| `CREATED` | `datetime` | Created | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/created` |  |
| `CURRENCY` | `varchar2` | Currency | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/currency` |  |
| `INUSE` | `char` | In Use | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/inuse` | Whether the rate has been used. |
| `MODIFIED` | `datetime` | Modified | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/modified` |  |
| `NAME` | `varchar2` | Name | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/name` |  |
| `OFFICE` | `varchar2` | Office | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/office` | Company the rate belongs to. |
| `SHORTNAME` | `varchar2` | Short Name | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/shortname` |  |
| `STATUS` | `varchar2` | Status | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/status` |  |
| `TOUCHED` | `int32` | Touched | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/touched` |  |
| `TYPE` | `varchar2` | Type | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/type` | Either time or quantity. |
| `UNIT` | `int32` | Unit | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/unit` | What is charged per: one for per hour or per kilometre, eight for per eight hours. |
| `USER` | `varchar2` | User | [ ] | `/soap:Envelope/soap:Body/tns:ProcessXmlDocumentResponse/tns:ProcessXmlDocumentResult/projectrate/user` | User who created or last changed the rate. |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Twinfield](/en/release-notes/drivers?driver=twinfield)

### Changes of This Table, 26.0 to 27.0

<div class="rn-item" id="TFD-27.0-D009">

##### Table function Twinfield.Settings.ProjectRateSettingsByCode is added

The table function has 15 columns and can select.

<div class="rn-chips">

- importance 3

</div>

</div>

[All changes of the driver, 26.0 to 27.0](/en/release-notes/drivers?driver=twinfield&step=26.0-to-27.0#twinfield-26.0-to-27.0)

