Invalid Language ID Supplied: 0 Error
Views (1386)
Another day another bug on update 15.4.41023.41345. One of our clients was having problem printing the invoice. The error said “Invalid Language ID Supplied: 0 Error”.

The issue came from the LanguageCU. It does not accept blank Language Code anymore.
CurrReport.Language := LanguageCU.GetLanguageId("Language Code");
To fix the issue, I could either remove the code completely or just add an if statement.
IF "Language Code" <> '' then
CurrReport.Language := LanguageCU.GetLanguageId("Language Code");
This was originally posted here.
*This post is locked for comments