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

# BankBookByCode: Twinfield Bank Book by Code

`read only` `per partition` `XML`

- Catalog: `Twinfield`
- Schema: `Twinfield`
- Label: Bank Book by Code

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

Can only retrieve data.

## Summary

One bank book with its bank account and its general ledger account.

## API Source

- XML service: `webservices/BankBookService.svc`
- XML topic: `BankBookByCode`
- SOAP action: `GetBankBook`

## 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 bank book. |
| `COMPANY_CODE` | `` | [ ] |  | Code of company. |

## Table Columns

The columns of the table `BankBookByCode` 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 | [ ] | `Code` |  |
| `COMPANY_CODE` | `varchar2` | Company ID | [x] |  |  |
| `COMPANY_NAME` | `varchar2` | Company Name | [x] |  |  |
| `NAME` | `varchar2` | Name | [ ] | `Name` |  |
| `SHORTNAME` | `varchar2` | Short Name | [ ] | `ShortName` |  |



## 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-D018">

##### Table function Twinfield.Twinfield.BankBookByCode is added

The table function has 5 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)

