Merge pull request #180 from fvet/patch-4

This commit is contained in:
Henrik Helgesen 2022-05-06 13:30:56 -07:00 committed by GitHub
commit 158ebff378
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.