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

# Itgenxml091 sur le champ BARCODE

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

> itgenxml091
> La colonne « BARCODE » contient la valeur « 10788942212008112505 », qui ne peut pas être convertie au type de données Int64.
> La valeur « 10788942212008112505 » n’est pas un nombre entier valide.
> La valeur était soit trop grande, soit trop petite pour un Int64.
> Utilisez la virgule « , » comme séparateur des milliers.

Identifiant de la demande : `0HNN7G8UUIJP0:00000001`

La synchronisation échoue donc.

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

## Réponse acceptée

Une amélioration a été mise en production pour résoudre ce problème. Een vijftal kolommen zijn vervallen door de overgang van XML naar REST-tabellen.

Pour plus d'informations, consultez :

<div class="onebox">

[Fréquence des mises à jour d’Invantive Cloud](https://forums.invantive.com/t/releasefrequentie-invantive-cloud/4713)

forums.invantive.com

</div>

## Répondre 2

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

> itgenxml091
>
> La colonne `BARCODE` dans `Items` a pour valeur « 10788942212008112505 », qui ne peut pas être convertie en type de données « int64 ».
>
> La valeur « 10788942212008112505 » n’est pas un nombre entier valide.
> La valeur était soit trop grande, soit trop petite pour un Int64.
>
> Utilisez la virgule « , » comme séparateur des milliers.

## Répondre 3

Oorzaak is een te grote mogelijke waarde voor het gebruikte data type voor dit veld in de Invantive software. Une modification sera apportée pour résoudre ce problème.

Rapport: `gmr-eol-items`

Pile d'appels :

```
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
```

Le nombre 10788942212008112505 comporte 20 chiffres et dépasse la valeur maximale de 19 chiffres d’un Int64 (9223372036854775807).

Binnen de REST API’s hanteert Exact Online een tekst in plaats van een Int64 zoals bij XML. Une chaîne de caractères est également préférable en raison des zéros non significatifs éventuels.

## Répondre 8

Cette question a été automatiquement clôturée après 1 semaine d'inactivité. La dernière réponse fournie a été marquée comme solution.

Veuillez poser une nouvelle question dans un sujet distinct si le problème se reproduit. Veuillez inclure un lien vers ce sujet dans votre nouvelle question en copiant-collant son URL dans le texte.

---

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