First pass conversion of NAV Patterns
This commit is contained in:
parent
1341938262
commit
6b32107a72
325 changed files with 11946 additions and 0 deletions
21
content/NAVPatterns/nested-withs/index.md
Normal file
21
content/NAVPatterns/nested-withs/index.md
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue