aa0021 not recognizing fieldref and recordref out of order
Please include the following with each issue:
1. Describe the bug FieldRef ordered above RecordRef not producing warning.
2. To Reproduce declare these vars:
salesHeader: Record "Sales Header";
fldRef: FieldRef;
recRef: RecordRef;
Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.
3. Expected behavior trigger rule aa0021
4. Actual behavior fieldref not underlined for incorrect sort
5. Versions:
- AL Language:16.2.1869542
- Visual Studio Code:1.1.05.1
- Business Central:any
- List of Visual Studio Code extensions that you have installed:al language
- Operating System:
- [X] Windows
- [ ] Linux
- [ ] MacOS
Final Checklist
Please remember to do the following:
-
[x] Search the issue repository to ensure you are reporting a new issue
-
[x] Reproduce the issue after disabling all extensions except the AL Language extension
-
[x] Simplify your code around the issue to better isolate the problem
Internal work item: AB#613207
Hi, the types BigText, DateFormula, RecordId, RecordRef, FieldRef, and FilterPageBuilder all have the same relative order, so it doesn't matter who they are place relative to each other. Still, accepting this bug to reflect this in our documentation.