First pass conversion of NAV Patterns

This commit is contained in:
Jeremy Vyska 2021-10-22 00:23:03 +02:00
parent 1341938262
commit 6b32107a72
325 changed files with 11946 additions and 0 deletions

View file

@ -0,0 +1,32 @@
+++
title = "variable-already-scoped.md"
weight = 1400
+++
Do not use scope ''.'' qualifier unnecessarily when a variable is already implicitly or explicitly scoped. It keeps the code simpler.
Bad code
ReturnRcptHeader.SETRANGE(ReturnRcptHeader."Return Order No.","Document No.");
Good code
ReturnRcptHeader.SETRANGE("Return Order No.","Document No.");
Bad code
WITH ChangeLogSetupTable DO BEGIN
...
IF ChangeLogSetupTable.DELETE THEN
...
END;
Good code
WITH ChangeLogSetupTable DO BEGIN
...
IF DELETE THEN
...
END;