Inventário - MvGeral: General SQL arithmetic exception, numeric overflow, or string truncation numeric value is out of range

Criado por Implantação ATTO em 15/09/2022 12:06  ·  Atualizado em 15/09/2022 19:25  ·  Leitura: 1 min

Situação: Ao tentar fazer o acerto do inventario apresenta a seguinte mensagem:


Ocorreu o seguinte erro durante a inclusão no arquivo MvGeral: General SQL error.
arithmetic exception, numeric overflow, or string truncation numeric value is out of range
At trigger 'MVGERAL_BI_CONTSER'
line:4, col: 4
At procedure 'PGRAVA_MVGERAL' line: 134, col:8
Exclua o produto e inclua novamente!

Acerto.png

Solução: Foi verificado que na digitação do inventario um dos produtos estava com a quantidade e preço de custo com um valor muito grande.

Digitação inventario.png
Após fazer a correção da digitação conseguiu fazer o acerto sem erros.