Added tags & categories + cleanup

This commit is contained in:
waldo1001 2022-02-24 14:45:35 +01:00
parent 4515a721bd
commit 5ee0436639
161 changed files with 295 additions and 34 deletions

View file

@ -1,6 +1,8 @@
+++
title = "Localizability"
weight = 750
tags = ["C/AL"]
categories = ["Best Practice"]
+++
## C/AL Coding Guidelines

View file

@ -1,6 +1,8 @@
+++
title = "CaptionML on System Pages"
weight = 300
tags = ["C/AL"]
categories = ["Best Practice"]
+++
CaptionML should always be specified on a page field for a system table. By default, system tables do not have captions, so if you need to use them in the UI then captions need to be added.

View file

@ -1,6 +1,8 @@
+++
title = "FIELDCAPTION and TABLECAPTION"
weight = 580
tags = ["C/AL"]
categories = ["Best Practice"]
+++
For user messages, errors etc., use FIELDCAPTION not FIELDNAME and TABLECAPTION not TABLENAME.

View file

@ -1,6 +1,8 @@
+++
title = "Global Text Constants"
weight = 610
tags = ["C/AL"]
categories = ["Best Practice"]
+++
Declare Text Constant as global variables.

View file

@ -1,6 +1,8 @@
+++
title = "Use Text Constants"
weight = 1360
tags = ["C/AL"]
categories = ["Best Practice"]
+++
Pass user messages using Text Constants. It makes translation easy.

View file

@ -1,6 +1,8 @@
+++
title = "Using OptionCaptionML"
weight = 1380
tags = ["C/AL"]
categories = ["Best Practice"]
+++
The OptionCaptionML should be filled in for sourceexpression using option data types.