Added Tips section with link to VS Code extension

#175
This commit is contained in:
Frédéric Vercaemst 2022-05-06 09:09:41 +02:00 committed by GitHub
parent 5652ea8c5d
commit 56a903f358
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,3 +21,9 @@ When calling an object statically use the Object Name, not the Object Id.
```al
Page.RunModal(Page::"Posted Sales Shipment Lines", SalesShptLine);
```
## Tips
The [BusinessCentral.LinterCop](https://marketplace.visualstudio.com/items?itemName=StefanMaron.businesscentral-lintercop) extension adds a new rule to check your code for hardcoded object IDs.
- [LC0012](https://github.com/StefanMaron/BusinessCentral.LinterCop/wiki/LC0012): Using hardcoded IDs in functions like Codeunit.Run() is not allowed.