Itgenrst012 when updating SQL Server datatype bigint

Ik heb op SQL Server een tabel Facturen_Sedis_Inv_NotSentMin met kolom InvoiceNumber_NotSent met datatype bigint. Het volgende statement geeft een foutmelding:

update Facturen_Sedis_Inv_NotSentMin@sql
set    InvoiceNumber_NotSentMin = -1

namelijk:

itgenrst012
The actual data processed must match the data type of the target column ‘InvoiceNumber_NotSentMin’ in ‘i8BI4ExactOnline_NWB.dbo.Facturen_Sedis_Inv_NotSentMin’.
Ensure that the value data type (currently ‘Decimal’) in row #1 is corrected, using for instance cast(VAL as int64).

Hoe los ik dit op?

In release 26.0 is dit probleem opgelost. Gelieve als workaround een cast te gebruiken.

This question was automatically closed after 1 week of inactivity. The last answer given has been marked as the solution.

Please post a new question in a separate topic if the problem occurs again. Please include a link to this topic in the new question by pasting its URL into the text.