Closed pri-kise closed 4 years ago
Instead of an Integer you can use anything else (maybe more descriptive). The Integer in variables is not good practice. E.g. LocalItemJournalLine or SecondItemJournalLine or NewItemJournalLine or OldItemJournalLine or CopiedItemJournalLine or ...
but nonetheless, apparently it should work, as said here: https://github.com/microsoft/AL/issues/6120#issuecomment-686320373
I am closing this issue because it has been resolved, please check the latest developer preview . Please open a new issue if you believe this has not been resolved and reference the current issue.
Describe the bug The CodeCop AL0072 gives wrong info/warning about an record with an Integer as suffix.
To Reproduce Steps and to reproduce the behavior: Declare a variable with the following name
Expected behavior There shouldn't be a warning or info, since it is very common to add an Integer to a Record Variable if you need different references to the same record table. Screenshots
5. Versions: