Replies: 1 comment 2 replies
-
@Arthurvdv @StefanMaron Looking into the documentation part of above mentioned codeunit, I read
Is it worth the effort (no of lines / readability of bad vs good is the same) of reviewing our code for the new rule? Maybe the default severity for the new LC0022 rule could be set to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The goal is to less use the GlobalLanguage() function directly and implement this through the "Translation Helper" codeunit of the Base Application. This is similar to #205.
This benefits mostly in a more readable code:
Bad code
Good code
Source: https://github.com/StefanMaron/MSDyn365BC.Code.History/blob/master/BaseApp/Source/Base%20Application/TranslationHelper.Codeunit.al
Beta Was this translation helpful? Give feedback.
All reactions