Closed kristianeWiise closed 4 years ago
You should find all information about it here: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/analyzers/codecop-aa0231-donotusestrsubstnoinerrormessage
@NKarolak is spot on.
You should write Error('%1 %2', Text145041_Lbl, Text145045_Lbl);
Describe the bug We recently updated the AL Language extension to the latest version ( 5.0.254.558 ) and encountered a warnings related to AA00231 rule set.
Just wanted to ask if we put this as part of the Ruleset will this be deprecated in the future development?
Otherwise if we need to refactor the codes and put it to a Variable. Is this the intended way to fix the warnings?
Any feedback is very much appreciated :)
Thank you in Advance
Screenshots
5. Versions: