First pass conversion of NAV Patterns
This commit is contained in:
parent
1341938262
commit
6b32107a72
325 changed files with 11946 additions and 0 deletions
18
content/NAVPatterns/fieldcaption-and-tablecaption/index.md
Normal file
18
content/NAVPatterns/fieldcaption-and-tablecaption/index.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
+++
|
||||
title = "fieldcaption-and-tablecaption.md"
|
||||
weight = 580
|
||||
+++
|
||||
For user messages, errors etc., use FIELDCAPTION not FIELDNAME and TABLECAPTION not TABLENAME.
|
||||
|
||||
Reason:
|
||||
|
||||
1. The correct translation will be automatically used.
|
||||
2. If the caption/name changes, then there will be a single point of change needed.
|
||||
|
||||
Bad code
|
||||
|
||||
IF NOT CONFIRM(UpdateLocationQst,TRUE,FIELDNAME("Location Code"),...)
|
||||
|
||||
Good code
|
||||
|
||||
IF NOT CONFIRM(UpdateLocationQst,TRUE,FIELDCAPTION("Location Code"),...)
|
||||
Loading…
Add table
Add a link
Reference in a new issue