15. August 2017 08:33
error CS0030: Cannot convert type 'int' to 'Microsoft.Dynamics.Nav.Runtime.NavOption'
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLMetadataCompileErrorException
Compilation of assembly 'xxx.dll' failed. This can be caused by differences between binaries in your installation or your database. Ensure that all installation components are consistent and up to date. Error details: xxx : error CS0030: Cannot convert type 'int' to 'Microsoft.Dynamics.Nav.Runtime.NavOption'
The Microsoft Dynamics NAV Server instance could not start because of an event publisher or subscriber error in relation to Codeunit xxx. Try to recompile the object in the development environment to ensure the correct metadata is used.
Compilation of assembly 'xxx.dll' failed. This can be caused by differences between binaries in your installation or your database. Ensure that all installation components are consistent and up to date. Error details: xxx : error CS0030: Cannot convert type 'int' to 'Microsoft.Dynamics.Nav.Runtime.NavOption'
OptionVariable += 1;
OptionVariable := OptionVariable + 1;
16. August 2017 06:15
16. August 2017 08:35
SilverX hat geschrieben:Auch schön und auch seit gestern in der Mache: Vergleich zwischen Feld Record ID und Variable RecordID. Führt zu einem Compilerfehler.
16. August 2017 11:41
17. August 2017 19:15
Natalie hat geschrieben:Workaround:
- Code:
OptionVariable := OptionVariable + 1;
MyDate := TODAY;
MyDate += 1;
MESSAGE(FORMAT(MyDate)); -> Fehler
MyDate := TODAY;
MyDate := MyDate +1;
MESSAGE(FORMAT(MyDate)); -> kein Fehler