---
title: "GeneralLedgerAccountMappingAccounts (Twinfield)"
description: "General Ledger Account Mapping Accounts"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/twinfield/Twinfield.Views.GeneralLedgerAccountMappingAccounts
original: https://documentation.invantive.eu/en/datamodels/twinfield/Twinfield.Views.GeneralLedgerAccountMappingAccounts
updated: 2026-11-01T17:45:47Z
license: https://documentation.invantive.eu/en/
---

# GeneralLedgerAccountMappingAccounts: Twinfield General Ledger Account Mapping Accounts

`read only`

- Catalog: `Twinfield`
- Schema: `Views`
- Label: General Ledger Account Mapping Accounts

Can only retrieve data.

## 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.

## Table Columns

The columns of the table `GeneralLedgerAccountMappingAccounts` 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 |
|---|---|---|:---:|---|---|
| `BALANCETYPE` | `varchar2` | Balance Type | [x] |  | Balance type: -1 = Credit, 0 = Balance, 1 = Debit. |
| `CODE` | `varchar2` | Code | [x] |  |  |
| `COMPANY_CODE` | `varchar2(240)` | Code | [x] | `COMPANY_CODE` | Unique code of the partition. |
| `COMPANY_CODE2` | `varchar2` | Company ID | [x] |  |  |
| `COMPANY_NAME` | `varchar2` | Company Name | [x] |  |  |
| `HIERARCHYELEMENTID` | `int32` | Hierarchy Element ID | [x] |  |  |
| `LEVEL` | `int32` | Level | [x] |  |  |
| `PARENTCODE` | `varchar2` | Parent Code | [ ] |  |  |
| `PARENTID` | `int32` | Parent ID | [ ] |  |  |
| `PATH` | `varchar2` | Path | [x] |  |  |
| `TYPE` | `varchar2` | Type | [x] |  |  |
| `hierarchy_CODE` | `varchar2` | Code | [ ] |  |  |
| `hierarchy_NAME` | `varchar2` | Name | [ ] |  |  |

## Sample Queries

```sql
--
-- Mapping from Twinfield general ledger accounts to the hierarchies.
--
-- Table documentation: https://documentation.invantive.eu/2017R2/twinfield-data-model/webhelp/twinfield-connector-twinfield-generalledgeraccountmappingaccountsbyhierarchycode.html
--
select *
from   Twinfield.Views.GeneralLedgerAccountMappingAccounts@tfd
limit  100
```



## Release Notes

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

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

