Skip to content
Stefan Maroń edited this page May 26, 2022 · 2 revisions

LC0012 - Using hardcoded IDs in functions like Codeunit.Run() is not allowed

Simillar to Rule0003.
This rule suggests to use Codeunit::"Sales-Post" instead of 80. Same for similar function calls.

More to read here: https://alguidelines.dev/docs/bestpractices/named-invocations/

Clone this wiki locally