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,21 @@
+++
title = "nested-withs.md"
weight = 850
+++
Do not nest WITHs that reference different types of objects.
Bad code
WITH PostedWhseShptLine DO BEGIN
...
WITH ItemLedgEntry DO
InsertBufferRec(...,"Serial No.","Lot No.",...);
...
END;
Good code
WITH PostedWhseShptLine DO BEGIN
...
InsertBufferRec(...,ItemLedgEntry."Serial No.",ItemLedgEntry."Lot No.",...);
...
END;