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

# Hierarchies: Twinfield Hierarchies

`popular` `read only` `XML`

- Catalog: `Twinfield`
- Schema: `Twinfield`
- Label: Hierarchies

Can only retrieve data.

## Summary

Hierarchies is a subscription-wide list of hierarchies, just like countries or currencies.

## API Source

- XML service: `webservices/finder.asmx`
- XML topic: `HIE`

## 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 | 372,000 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `accesstype` | `` | [ ] |  | Specifies the minimal required access type for the reporting structure. Values: use, bind or edit. |
| `COMPANY_CODE` | `` | [ ] |  | Code of company. |
| `officegroup` | `` | [ ] |  | Sets the office group. |

## Table Columns

The columns of the table `Hierarchies` 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 | [ ] |  |  |
| `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/twinfield)

