---
title: "Itgenxml091 op BARCODE veld"
language: it
source_language: nl
translation_state: pending
canonical: https://documentation.invantive.eu/it/forum/6802/itgenxml091-op-barcode-veld
original: https://documentation.invantive.eu/nl/forum/6802/itgenxml091-op-barcode-veld
updated: 2026-11-17T12:59:04Z
license: https://documentation.invantive.eu/it/
---

# Itgenxml091 nel campo BARCODE

Tijdens de synchronisatie van Items naar Exact Online krijgen wij onderstaande fout:

> itgenxml091
> La colonna «BARCODE» presenta un valore «10788942212008112505» che non può essere convertito nel tipo di dati Int64.
> Il valore «10788942212008112505» non è un numero intero grande valido.
> Il valore era troppo grande o troppo piccolo per un Int64.
> Utilizzare la virgola «,» come separatore per le migliaia.

ID richiesta: `0HNN7G8UUIJP0:00000001`

Di conseguenza, la sincronizzazione non va a buon fine.

Kan nagekeken worden waarom het BARCODE-veld als Int64 wordt behandeld in plaats van als tekst (string)?

## Risposta accettata

È stato implementato un miglioramento in produzione per risolvere questo problema. Een vijftal kolommen zijn vervallen door de overgang van XML naar REST-tabellen.

Per ulteriori informazioni, consultare:

<div class="onebox">

[Frequenza delle versioni di Invantive Cloud](https://forums.invantive.com/t/releasefrequentie-invantive-cloud/4713)

forums.invantive.com

</div>

## Rispondi 2

[![956b2b1d2d1bcc4efe1a7108bd7a177224ec2851](/img/85a0e7292fcd74708595f456a40ded69e24b307a9a4ae4c683b9d6fd055b34be/819x411.png)](https://forums.invantive.com/uploads/db9863/original/2X/5/5e72e1334219e726b7309b3dad8ca018ee09102b.png)

> itgenxml091
>
> La colonna `BARCODE` in `Items` ha un valore «10788942212008112505» che non può essere convertito nel tipo di dati «int64».
>
> Il valore «10788942212008112505» non è un numero intero grande valido.
> Il valore era troppo grande o troppo piccolo per un Int64.
>
> Utilizzare la virgola «,» come separatore per le migliaia.

## Rispondi 3

Oorzaak is een te grote mogelijke waarde voor het gebruikte data type voor dit veld in de Invantive software. Verrà apportata una modifica per risolvere questo problema.

Rapport: `gmr-eol-items`

Call stack:

```
System.OverflowException
ValidationException
ValidationException
   at System.Number.ThrowOverflowException[TInteger]()
   at System.String.System.IConvertible.ToInt64(IFormatProvider provider)
   at Invantive.Data.DataUtility.ConvertToLong(GlobalState owner, ExecutionOptions executionOptions, Object val)
```

SQL Statement:

```
select /*+ result_set_name('Items') */
       ...
,      itm.barcode
       ...
from   ( select to_number(itm.division_code) division
         ,      to_guid(replace(itm.id_attr, '{', '', '}', '')) id
         ,      itm.*
         from   exactonlinexml..items@eol itm
       ) itm
...
```

Exact Online dicteert in de metadata dat het een integer-getal is:

```
<xsd:element name="Barcode" type="xsd:integer" minOccurs="0"/>
```

De grootst mogelijke invoerwaarde in Exact Online user interface zelf zijn 20 negens:

```
99999999999999999999
```

Il numero 10788942212008112505 ha 20 cifre ed è superiore al valore massimo di 19 cifre di un Int64 (9223372036854775807).

Binnen de REST API’s hanteert Exact Online een tekst in plaats van een Int64 zoals bij XML. Un valore di tipo "text" è preferibile anche a causa dei possibili zeri iniziali.

## Rispondi 8

Questa domanda è stata chiusa automaticamente dopo 1 settimana di inattività. L'ultima risposta fornita è stata contrassegnata come soluzione.

Se il problema dovesse ripresentarsi, si prega di porre una nuova domanda in un thread separato. Si prega di includere nella nuova domanda un link a questa discussione incollando il relativo URL nel testo.

---

Fonte: [https://forums.invantive.eu/t/itgenxml091-op-barcode-veld/6802](https://forums.invantive.eu/t/itgenxml091-op-barcode-veld/6802)
