ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Division by negative number

Open TxusMoyano opened this issue 7 years ago • 0 comments

Hi

If a division by a negative number exist in any code line, vscode do not causes any error, but when the server compiles the app (Publish), it crash with an unexpected error.

Sample Codeunit:

ErrorDivideNeg

Package: No error

Publish:

[2019-06-14 11:28:06.23] Sending request to http://localhost:7089/IBB_Core_13_0_27233_0/dev/apps?SchemaUpdateMode=synchronize

[2019-06-14 11:28:09.12] The request for path /IBB_Core_13_0_27233_0/dev/apps?SchemaUpdateMode=synchronize failed with code 422. Reason: c:\ProgramData\Microsoft\Microsoft Dynamics NAV\130\Server\MicrosoftDynamicsNavServer$IBB_Core_13_0_27233_0\source\Codeunit\Groupf58a5fe7406c205bbafb3f4dbffb0f256b570708d40a48626e1019c92cb7b4f6_Codeunit50100.cs(80,46) : error CS0118: 'Microsoft.Dynamics.Nav.Runtime.Decimal18' is a 'type' but is used like a 'variable'

NAV Server version: NavServer

TxusMoyano avatar Jun 14 '19 09:06 TxusMoyano