diff --git a/content/NAVPatterns/actions-images/index.md b/content/NAVPatterns/actions-images/index.md index 9423e258..97328eec 100644 --- a/content/NAVPatterns/actions-images/index.md +++ b/content/NAVPatterns/actions-images/index.md @@ -1,5 +1,5 @@ +++ -title = "actions-images.md" +title = "Actions - Images" weight = 200 +++ All actions must have an image assigned to them. diff --git a/content/NAVPatterns/activity-log/index.md b/content/NAVPatterns/activity-log/index.md index de9c1cb4..47e4edc9 100644 --- a/content/NAVPatterns/activity-log/index.md +++ b/content/NAVPatterns/activity-log/index.md @@ -1,5 +1,5 @@ +++ -title = "activity-log.md" +title = "Activity Logs" weight = 210 +++ ## _by Ciprian Iordache at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/argument-table/index.md b/content/NAVPatterns/argument-table/index.md index fcbd0c21..aa119ad3 100644 --- a/content/NAVPatterns/argument-table/index.md +++ b/content/NAVPatterns/argument-table/index.md @@ -1,5 +1,5 @@ +++ -title = "argument-table.md" +title = "Argument Table" weight = 220 +++ # Argument table pattern diff --git a/content/NAVPatterns/begin-as-an-afterword/index.md b/content/NAVPatterns/begin-as-an-afterword/index.md index 68513b29..45838189 100644 --- a/content/NAVPatterns/begin-as-an-afterword/index.md +++ b/content/NAVPatterns/begin-as-an-afterword/index.md @@ -1,5 +1,5 @@ +++ -title = "begin-as-an-afterword.md" +title = "Begin as an 'After Word'" weight = 230 +++ When BEGIN follows THEN, ELSE, DO, it should be on the same line, preceded by one space character. Bad code diff --git a/content/NAVPatterns/begin-end/index.md b/content/NAVPatterns/begin-end/index.md index 138b3273..7a00f82f 100644 --- a/content/NAVPatterns/begin-end/index.md +++ b/content/NAVPatterns/begin-end/index.md @@ -1,5 +1,5 @@ +++ -title = "begin-end.md" +title = "Begin-End - Compound Only" weight = 240 +++ Only use BEGIN..END to enclose compound statements. diff --git a/content/NAVPatterns/binary-operator-line-start/index.md b/content/NAVPatterns/binary-operator-line-start/index.md index 97d56153..1621b57c 100644 --- a/content/NAVPatterns/binary-operator-line-start/index.md +++ b/content/NAVPatterns/binary-operator-line-start/index.md @@ -1,5 +1,5 @@ +++ -title = "binary-operator-line-start.md" +title = "Binary Operator to Start Line" weight = 250 +++ Do not start a line with a binary operator. Bad code diff --git a/content/NAVPatterns/blank-lines/index.md b/content/NAVPatterns/blank-lines/index.md index 5f0ca478..3c5fcdd4 100644 --- a/content/NAVPatterns/blank-lines/index.md +++ b/content/NAVPatterns/blank-lines/index.md @@ -1,5 +1,5 @@ +++ -title = "blank-lines.md" +title = "Blank Lines.md" weight = 260 +++ Do not use blank lines at the beginning or end of any functions, after BEGIN, before END, or inside multiline expressions. Bad code diff --git a/content/NAVPatterns/blocked-entity/index.md b/content/NAVPatterns/blocked-entity/index.md index 406040e5..fb2e318c 100644 --- a/content/NAVPatterns/blocked-entity/index.md +++ b/content/NAVPatterns/blocked-entity/index.md @@ -1,5 +1,5 @@ +++ -title = "blocked-entity.md" +title = "Blocked Entity.md" weight = 270 +++ _by Abhishek Ghosh at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/by-reference-parameters/index.md b/content/NAVPatterns/by-reference-parameters/index.md index fbfbb578..ef2abb15 100644 --- a/content/NAVPatterns/by-reference-parameters/index.md +++ b/content/NAVPatterns/by-reference-parameters/index.md @@ -1,5 +1,5 @@ +++ -title = "by-reference-parameters.md" +title = "By Reference Parameters.md" weight = 280 +++ Do not declare parameters by reference if their values are not intended to be changed. diff --git a/content/NAVPatterns/cached-web-service-calls/index.md b/content/NAVPatterns/cached-web-service-calls/index.md index 3498b448..d460777b 100644 --- a/content/NAVPatterns/cached-web-service-calls/index.md +++ b/content/NAVPatterns/cached-web-service-calls/index.md @@ -1,5 +1,5 @@ +++ -title = "cached-web-service-calls.md" +title = "Cached Web Server Calls.md" weight = 290 +++ _by Mostafa Balat, Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/captionml-for-system-tables/index.md b/content/NAVPatterns/captionml-for-system-tables/index.md index 575ee497..ad50b16c 100644 --- a/content/NAVPatterns/captionml-for-system-tables/index.md +++ b/content/NAVPatterns/captionml-for-system-tables/index.md @@ -1,5 +1,5 @@ +++ -title = "captionml-for-system-tables.md" +title = "CaptionML on System Pages" weight = 300 +++ 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. diff --git a/content/NAVPatterns/case-actions/index.md b/content/NAVPatterns/case-actions/index.md index 09050457..cc575179 100644 --- a/content/NAVPatterns/case-actions/index.md +++ b/content/NAVPatterns/case-actions/index.md @@ -1,5 +1,5 @@ +++ -title = "case-actions.md" +title = "CASE Action" weight = 310 +++ A CASE action should start on a line after the possibility. Bad code diff --git a/content/NAVPatterns/class-coupling/index.md b/content/NAVPatterns/class-coupling/index.md index 5153c96f..109c9602 100644 --- a/content/NAVPatterns/class-coupling/index.md +++ b/content/NAVPatterns/class-coupling/index.md @@ -1,5 +1,5 @@ +++ -title = "class-coupling.md" +title = "Class Coupling" weight = 320 +++ Do not write functions that have high class coupling. This makes the code hard to maintain. diff --git a/content/NAVPatterns/code-of-conduct/index.md b/content/NAVPatterns/code-of-conduct/index.md index 645f6d5b..02cdce3a 100644 --- a/content/NAVPatterns/code-of-conduct/index.md +++ b/content/NAVPatterns/code-of-conduct/index.md @@ -1,5 +1,5 @@ +++ -title = "code-of-conduct.md" +title = "Code of Conduct" weight = 330 +++ Find below the rules to be used when disseminating or relating to the NAV Design Patterns. diff --git a/content/NAVPatterns/colon-usage-in-case/index.md b/content/NAVPatterns/colon-usage-in-case/index.md index e72a8cdd..096d917c 100644 --- a/content/NAVPatterns/colon-usage-in-case/index.md +++ b/content/NAVPatterns/colon-usage-in-case/index.md @@ -1,5 +1,5 @@ +++ -title = "colon-usage-in-case.md" +title = "Colon usage in CASE" weight = 340 +++ The last possibility on a CASE statement must be immediately followed by a colon. Bad code diff --git a/content/NAVPatterns/comments-curly-brackets/index.md b/content/NAVPatterns/comments-curly-brackets/index.md index 4952f27a..2ed27220 100644 --- a/content/NAVPatterns/comments-curly-brackets/index.md +++ b/content/NAVPatterns/comments-curly-brackets/index.md @@ -1,5 +1,5 @@ +++ -title = "comments-curly-brackets.md" +title = "Comments inside Curly Brackets" weight = 350 +++ Never use curly bracket comments. During development, the "Block comment" functionality can be used instead. However, in production code, block comments are not recommended. Bad code diff --git a/content/NAVPatterns/comments-spacing/index.md b/content/NAVPatterns/comments-spacing/index.md index 8ff92923..d2864750 100644 --- a/content/NAVPatterns/comments-spacing/index.md +++ b/content/NAVPatterns/comments-spacing/index.md @@ -1,5 +1,5 @@ +++ -title = "comments-spacing.md" +title = "Comment Spacing" weight = 360 +++ Always start comments with // followed by one space character. diff --git a/content/NAVPatterns/conditional-cascading-update/index.md b/content/NAVPatterns/conditional-cascading-update/index.md index ffb79982..b5b8d7ff 100644 --- a/content/NAVPatterns/conditional-cascading-update/index.md +++ b/content/NAVPatterns/conditional-cascading-update/index.md @@ -1,5 +1,5 @@ +++ -title = "conditional-cascading-update.md" +title = "Conditional Cascading Update" weight = 370 +++ _by Jan Hoek at IDYN _ diff --git a/content/NAVPatterns/confirm/index.md b/content/NAVPatterns/confirm/index.md index 47d9e789..9470e457 100644 --- a/content/NAVPatterns/confirm/index.md +++ b/content/NAVPatterns/confirm/index.md @@ -1,5 +1,5 @@ +++ -title = "confirm.md" +title = "CONFIRM" weight = 380 +++ Always end CONFIRM with a question mark. diff --git a/content/NAVPatterns/copy-document/index.md b/content/NAVPatterns/copy-document/index.md index c4eea72f..3c24d96b 100644 --- a/content/NAVPatterns/copy-document/index.md +++ b/content/NAVPatterns/copy-document/index.md @@ -1,5 +1,5 @@ +++ -title = "copy-document.md" +title = "Copy Document" weight = 390 +++ _By Bogdan Sturzoiu at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/create-data-from-templates/index.md b/content/NAVPatterns/create-data-from-templates/index.md index 62b18b1f..4aa7e318 100644 --- a/content/NAVPatterns/create-data-from-templates/index.md +++ b/content/NAVPatterns/create-data-from-templates/index.md @@ -1,5 +1,5 @@ +++ -title = "create-data-from-templates.md" +title = "Create Data from Templates" weight = 400 +++ _by Nikola Kukrika at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/create-urls-to-nav-clients/index.md b/content/NAVPatterns/create-urls-to-nav-clients/index.md index c9e9a338..c6171da3 100644 --- a/content/NAVPatterns/create-urls-to-nav-clients/index.md +++ b/content/NAVPatterns/create-urls-to-nav-clients/index.md @@ -1,5 +1,5 @@ +++ -title = "create-urls-to-nav-clients.md" +title = "Create URLs to NAV Clients" weight = 410 +++ _By Mike Borg Cardona and Bogdana Botez at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/creating-custom-charts/index.md b/content/NAVPatterns/creating-custom-charts/index.md index 20ae7c16..1f437f61 100644 --- a/content/NAVPatterns/creating-custom-charts/index.md +++ b/content/NAVPatterns/creating-custom-charts/index.md @@ -1,5 +1,5 @@ +++ -title = "creating-custom-charts.md" +title = "Creating Custom Charts" weight = 420 +++ _by Nikola Kukrika at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/cross-session-events/index.md b/content/NAVPatterns/cross-session-events/index.md index 26bb194b..8640a7ef 100644 --- a/content/NAVPatterns/cross-session-events/index.md +++ b/content/NAVPatterns/cross-session-events/index.md @@ -1,5 +1,5 @@ +++ -title = "cross-session-events.md" +title = "Cross Session Events" weight = 430 +++ #### _By Nikolai L'Estrange, from TVision Technology Ltd. in the UK__ diff --git a/content/NAVPatterns/cue-table/index.md b/content/NAVPatterns/cue-table/index.md index 39efe7d5..95454c28 100644 --- a/content/NAVPatterns/cue-table/index.md +++ b/content/NAVPatterns/cue-table/index.md @@ -1,5 +1,5 @@ +++ -title = "cue-table.md" +title = "Cue Table" weight = 440 +++ ## Cue Table diff --git a/content/NAVPatterns/currently-active-record/index.md b/content/NAVPatterns/currently-active-record/index.md index 77cf92dd..107879f7 100644 --- a/content/NAVPatterns/currently-active-record/index.md +++ b/content/NAVPatterns/currently-active-record/index.md @@ -1,5 +1,5 @@ +++ -title = "currently-active-record.md" +title = "Currently Active Record" weight = 450 +++ Authors: Henrik Langbak and Kim Ginnerup, Bording Data diff --git a/content/NAVPatterns/cyclomatic-complexity/index.md b/content/NAVPatterns/cyclomatic-complexity/index.md index 764ca70a..e53c7e2d 100644 --- a/content/NAVPatterns/cyclomatic-complexity/index.md +++ b/content/NAVPatterns/cyclomatic-complexity/index.md @@ -1,5 +1,5 @@ +++ -title = "cyclomatic-complexity.md" +title = "Cyclomatic Complexity" weight = 460 +++ Do not write functions that have high cyclomatic complexity. This makes the code hard to maintain. diff --git a/content/NAVPatterns/data-driven-blocked-entity/index.md b/content/NAVPatterns/data-driven-blocked-entity/index.md index 15de1e92..65a4c7ed 100644 --- a/content/NAVPatterns/data-driven-blocked-entity/index.md +++ b/content/NAVPatterns/data-driven-blocked-entity/index.md @@ -1,5 +1,5 @@ +++ -title = "data-driven-blocked-entity.md" +title = "Data Driven Blocked Entity" weight = 470 +++ _Written by Bogdan Andrei Sturzoiu, at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/data-migration-facade/index.md b/content/NAVPatterns/data-migration-facade/index.md index e12752a7..636c617e 100644 --- a/content/NAVPatterns/data-migration-facade/index.md +++ b/content/NAVPatterns/data-migration-facade/index.md @@ -1,5 +1,5 @@ +++ -title = "data-migration-facade.md" +title = "Data Migration Facade" weight = 480 +++ # **Data Migration Façade** diff --git a/content/NAVPatterns/design/index.md b/content/NAVPatterns/design/index.md index 301e1e6d..bd4aeed7 100644 --- a/content/NAVPatterns/design/index.md +++ b/content/NAVPatterns/design/index.md @@ -1,5 +1,5 @@ +++ -title = "design.md" +title = "Design" weight = 490 +++ ## C/AL Coding Guidelines diff --git a/content/NAVPatterns/discovery-event/index.md b/content/NAVPatterns/discovery-event/index.md index e27b2048..91a9ff11 100644 --- a/content/NAVPatterns/discovery-event/index.md +++ b/content/NAVPatterns/discovery-event/index.md @@ -1,5 +1,5 @@ +++ -title = "discovery-event.md" +title = "Discovery Event" weight = 500 +++ by waldo diff --git a/content/NAVPatterns/document/index.md b/content/NAVPatterns/document/index.md index fe278501..e37d9ae6 100644 --- a/content/NAVPatterns/document/index.md +++ b/content/NAVPatterns/document/index.md @@ -1,5 +1,5 @@ +++ -title = "document.md" +title = "Document" weight = 510 +++ _By Xavier Garonnat, knk Ingénierie (France), xgaronnat@knk.fr_ diff --git a/content/NAVPatterns/easy-update-of-setup-or-supplementary-information/index.md b/content/NAVPatterns/easy-update-of-setup-or-supplementary-information/index.md index 982ed322..7d2fab07 100644 --- a/content/NAVPatterns/easy-update-of-setup-or-supplementary-information/index.md +++ b/content/NAVPatterns/easy-update-of-setup-or-supplementary-information/index.md @@ -1,5 +1,5 @@ +++ -title = "easy-update-of-setup-or-supplementary-information.md" +title = "Easy Update Of Setup Or Supplementary Information" weight = 520 +++ _by Anders Larsen at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/encapsulate-local-functionality/index.md b/content/NAVPatterns/encapsulate-local-functionality/index.md index 4c8cace3..b52d9285 100644 --- a/content/NAVPatterns/encapsulate-local-functionality/index.md +++ b/content/NAVPatterns/encapsulate-local-functionality/index.md @@ -1,5 +1,5 @@ +++ -title = "encapsulate-local-functionality.md" +title = "Encapsulate Local Functionality" weight = 530 +++ Any function used local must be defined as local. diff --git a/content/NAVPatterns/end-else-pair/index.md b/content/NAVPatterns/end-else-pair/index.md index 118a7e2c..a45b9d1c 100644 --- a/content/NAVPatterns/end-else-pair/index.md +++ b/content/NAVPatterns/end-else-pair/index.md @@ -1,5 +1,5 @@ +++ -title = "end-else-pair.md" +title = "END ELSE Pair" weight = 540 +++ The END ELSE pair should always appear on the same line. diff --git a/content/NAVPatterns/error-message-processing/index.md b/content/NAVPatterns/error-message-processing/index.md index 33a0cd3d..055a487c 100644 --- a/content/NAVPatterns/error-message-processing/index.md +++ b/content/NAVPatterns/error-message-processing/index.md @@ -1,5 +1,5 @@ +++ -title = "error-message-processing.md" +title = "Error Message Processing" weight = 550 +++ _By Jesper Schulz at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/extending-the-role-center-headlines/index.md b/content/NAVPatterns/extending-the-role-center-headlines/index.md index 6436f811..b2c234f2 100644 --- a/content/NAVPatterns/extending-the-role-center-headlines/index.md +++ b/content/NAVPatterns/extending-the-role-center-headlines/index.md @@ -1,5 +1,5 @@ +++ -title = "extending-the-role-center-headlines.md" +title = "Extending the Role Center Headlines" weight = 560 +++ _By David Bastide at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/feature-localization-for-data-structures/index.md b/content/NAVPatterns/feature-localization-for-data-structures/index.md index effc2267..281ed2bf 100644 --- a/content/NAVPatterns/feature-localization-for-data-structures/index.md +++ b/content/NAVPatterns/feature-localization-for-data-structures/index.md @@ -1,5 +1,5 @@ +++ -title = "feature-localization-for-data-structures.md" +title = "Feature Localization For Data Structures" weight = 570 +++ _by Bogdan Sturzoiu at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/fieldcaption-and-tablecaption/index.md b/content/NAVPatterns/fieldcaption-and-tablecaption/index.md index 5a520b78..28754526 100644 --- a/content/NAVPatterns/fieldcaption-and-tablecaption/index.md +++ b/content/NAVPatterns/fieldcaption-and-tablecaption/index.md @@ -1,5 +1,5 @@ +++ -title = "fieldcaption-and-tablecaption.md" +title = "FIELDCAPTION and TABLECAPTION" weight = 580 +++ For user messages, errors etc., use FIELDCAPTION not FIELDNAME and TABLECAPTION not TABLENAME. diff --git a/content/NAVPatterns/fielderror/index.md b/content/NAVPatterns/fielderror/index.md index 0550cae9..a28cb8e1 100644 --- a/content/NAVPatterns/fielderror/index.md +++ b/content/NAVPatterns/fielderror/index.md @@ -1,5 +1,5 @@ +++ -title = "fielderror.md" +title = "FIELDERROR" weight = 590 +++ Never use FIELDERROR with a period as it is automatically inserted. diff --git a/content/NAVPatterns/findset-findfirst-findlast/index.md b/content/NAVPatterns/findset-findfirst-findlast/index.md index c3b07d22..f3a0c7a3 100644 --- a/content/NAVPatterns/findset-findfirst-findlast/index.md +++ b/content/NAVPatterns/findset-findfirst-findlast/index.md @@ -1,5 +1,5 @@ +++ -title = "findset-findfirst-findlast.md" +title = "FINDSET FINDFIRST FINDLAST" weight = 600 +++ FINDSET, FIND('+') or FIND('-') should only be used when NEXT is used and vice versa. diff --git a/content/NAVPatterns/global-text-constants/index.md b/content/NAVPatterns/global-text-constants/index.md index 5508cf74..ab728845 100644 --- a/content/NAVPatterns/global-text-constants/index.md +++ b/content/NAVPatterns/global-text-constants/index.md @@ -1,5 +1,5 @@ +++ -title = "global-text-constants.md" +title = "Global Text Constants" weight = 610 +++ Declare Text Constant as global variables. diff --git a/content/NAVPatterns/hooks/index.md b/content/NAVPatterns/hooks/index.md index 8d9376b8..6e770f0e 100644 --- a/content/NAVPatterns/hooks/index.md +++ b/content/NAVPatterns/hooks/index.md @@ -1,5 +1,5 @@ +++ -title = "hooks.md" +title = "Hooks" weight = 620 +++ _By Eric Wauters ([waldo][anchor0]), Partner-Ready-Software_ diff --git a/content/NAVPatterns/implementation-of-surrogate-keys-using-autoincrement-pattern/index.md b/content/NAVPatterns/implementation-of-surrogate-keys-using-autoincrement-pattern/index.md index f64fc8e6..dedca119 100644 --- a/content/NAVPatterns/implementation-of-surrogate-keys-using-autoincrement-pattern/index.md +++ b/content/NAVPatterns/implementation-of-surrogate-keys-using-autoincrement-pattern/index.md @@ -1,5 +1,5 @@ +++ -title = "implementation-of-surrogate-keys-using-autoincrement-pattern.md" +title = "Surrogate keys using Autoincrement Pattern" weight = 630 +++ _By [Soren Klemmensen][anchor0], [_Partner-Ready-Software_ ][anchor1]& [360 Visibility][anchor2]_ diff --git a/content/NAVPatterns/in-context-notifications/index.md b/content/NAVPatterns/in-context-notifications/index.md index bf40a100..04d56404 100644 --- a/content/NAVPatterns/in-context-notifications/index.md +++ b/content/NAVPatterns/in-context-notifications/index.md @@ -1,5 +1,5 @@ +++ -title = "in-context-notifications.md" +title = "In-context Notifications" weight = 640 +++ ___By Soumya Dutta at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/indentation/index.md b/content/NAVPatterns/indentation/index.md index 064c1c1d..24354721 100644 --- a/content/NAVPatterns/indentation/index.md +++ b/content/NAVPatterns/indentation/index.md @@ -1,5 +1,5 @@ +++ -title = "indentation.md" +title = "Indentation" weight = 650 +++ In general, use an indentation of two space characters. Logical expressions in the IF, WHILE, and UNTIL parts are indented at least 3, 6, and 6 spaces respectively. diff --git a/content/NAVPatterns/initialized-variables/index.md b/content/NAVPatterns/initialized-variables/index.md index 7f9f47d4..0a54056d 100644 --- a/content/NAVPatterns/initialized-variables/index.md +++ b/content/NAVPatterns/initialized-variables/index.md @@ -1,5 +1,5 @@ +++ -title = "initialized-variables.md" +title = "Initialized Variables" weight = 660 +++ Variables should always be set to a specific value, before they are used. diff --git a/content/NAVPatterns/instructions-in-the-ui/index.md b/content/NAVPatterns/instructions-in-the-ui/index.md index 7e2ef45f..74ce036f 100644 --- a/content/NAVPatterns/instructions-in-the-ui/index.md +++ b/content/NAVPatterns/instructions-in-the-ui/index.md @@ -1,5 +1,5 @@ +++ -title = "instructions-in-the-ui.md" +title = "Instructions in the UI" weight = 670 +++ _by Nikola Kukrika at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/integration-of-addresses/index.md b/content/NAVPatterns/integration-of-addresses/index.md index f18e7818..283f902b 100644 --- a/content/NAVPatterns/integration-of-addresses/index.md +++ b/content/NAVPatterns/integration-of-addresses/index.md @@ -1,5 +1,5 @@ +++ -title = "integration-of-addresses.md" +title = "Integration of Addresses" weight = 680 +++ [watch?v=60Wrx9N gfY&list=PLhZ3P LY7CqmVszuvtJLujFyHpsVN0Uw&index=19][anchor0] diff --git a/content/NAVPatterns/internally-used-dot-net-types/index.md b/content/NAVPatterns/internally-used-dot-net-types/index.md index ca59b764..0f7f0061 100644 --- a/content/NAVPatterns/internally-used-dot-net-types/index.md +++ b/content/NAVPatterns/internally-used-dot-net-types/index.md @@ -1,5 +1,5 @@ +++ -title = "internally-used-dot-net-types.md" +title = "Internally-used DotNet Types" weight = 690 +++ ## **Internally used Dot Net Types** diff --git a/content/NAVPatterns/internationalization/index.md b/content/NAVPatterns/internationalization/index.md index 70af32de..8698cbee 100644 --- a/content/NAVPatterns/internationalization/index.md +++ b/content/NAVPatterns/internationalization/index.md @@ -1,5 +1,5 @@ +++ -title = "internationalization.md" +title = "Internationalization" weight = 700 +++ ## C/AL Coding Guidelines diff --git a/content/NAVPatterns/journal-error-processing/index.md b/content/NAVPatterns/journal-error-processing/index.md index 17eaa245..4a8d14c8 100644 --- a/content/NAVPatterns/journal-error-processing/index.md +++ b/content/NAVPatterns/journal-error-processing/index.md @@ -1,5 +1,5 @@ +++ -title = "journal-error-processing.md" +title = "Journal Error Processing" weight = 710 +++ _by Bogdana Botez at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/journal-template-batch-line/index.md b/content/NAVPatterns/journal-template-batch-line/index.md index 0d6c1993..82f8f69e 100644 --- a/content/NAVPatterns/journal-template-batch-line/index.md +++ b/content/NAVPatterns/journal-template-batch-line/index.md @@ -1,5 +1,5 @@ +++ -title = "journal-template-batch-line.md" +title = "Journal Template Batch Line" weight = 720 +++ _by Bogdana Botez at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/keyword-pairs-indentation/index.md b/content/NAVPatterns/keyword-pairs-indentation/index.md index ca6bc245..c16f3eb9 100644 --- a/content/NAVPatterns/keyword-pairs-indentation/index.md +++ b/content/NAVPatterns/keyword-pairs-indentation/index.md @@ -1,5 +1,5 @@ +++ -title = "keyword-pairs-indentation.md" +title = "Keyword Pairs - Indentation" weight = 730 +++ The IF..THEN pair, WHILE..DO pair, and FOR..DO pair must appear on the same line or the same level of indentation. Bad code diff --git a/content/NAVPatterns/line-start-keywords/index.md b/content/NAVPatterns/line-start-keywords/index.md index fe765775..368d5dfa 100644 --- a/content/NAVPatterns/line-start-keywords/index.md +++ b/content/NAVPatterns/line-start-keywords/index.md @@ -1,5 +1,5 @@ +++ -title = "line-start-keywords.md" +title = "Line Start Keywords" weight = 740 +++ The END, IF, REPEAT, FOR, WHILE, ELSE and CASE statement should always start a line. Bad code diff --git a/content/NAVPatterns/localizability/index.md b/content/NAVPatterns/localizability/index.md index 3595dcdf..9b16cefa 100644 --- a/content/NAVPatterns/localizability/index.md +++ b/content/NAVPatterns/localizability/index.md @@ -1,5 +1,5 @@ +++ -title = "localizability.md" +title = "Localizability" weight = 750 +++ ## C/AL Coding Guidelines diff --git a/content/NAVPatterns/lonely-repeat/index.md b/content/NAVPatterns/lonely-repeat/index.md index e0d938ec..6229f8db 100644 --- a/content/NAVPatterns/lonely-repeat/index.md +++ b/content/NAVPatterns/lonely-repeat/index.md @@ -1,5 +1,5 @@ +++ -title = "lonely-repeat.md" +title = "Lonely Repeat" weight = 760 +++ The REPEAT statement should always be alone on a line. diff --git a/content/NAVPatterns/maintainability-index/index.md b/content/NAVPatterns/maintainability-index/index.md index 03c9643e..96bca596 100644 --- a/content/NAVPatterns/maintainability-index/index.md +++ b/content/NAVPatterns/maintainability-index/index.md @@ -1,5 +1,5 @@ +++ -title = "maintainability-index.md" +title = "Maintainability Index" weight = 770 +++ [Maintainability Index][anchor0]: Do not write functions that have a very low maintainability index. This makes the code hard to maintain. diff --git a/content/NAVPatterns/master-data/index.md b/content/NAVPatterns/master-data/index.md index 68982e07..c7f67aad 100644 --- a/content/NAVPatterns/master-data/index.md +++ b/content/NAVPatterns/master-data/index.md @@ -1,5 +1,5 @@ +++ -title = "master-data.md" +title = "Master Data" weight = 780 +++ __By [Soren Klemmensen][anchor0], [_Partner-Ready-Software_ ][anchor1]& [360 Visibility][anchor2]__ diff --git a/content/NAVPatterns/message-and-error/index.md b/content/NAVPatterns/message-and-error/index.md index 9c7604ee..ab328e18 100644 --- a/content/NAVPatterns/message-and-error/index.md +++ b/content/NAVPatterns/message-and-error/index.md @@ -1,5 +1,5 @@ +++ -title = "message-and-error.md" +title = "MESSAGE and ERROR" weight = 790 +++ Always end MESSAGE or ERROR with a period. diff --git a/content/NAVPatterns/multi-file-download/index.md b/content/NAVPatterns/multi-file-download/index.md index 6b86f43a..bb45dd95 100644 --- a/content/NAVPatterns/multi-file-download/index.md +++ b/content/NAVPatterns/multi-file-download/index.md @@ -1,5 +1,5 @@ +++ -title = "multi-file-download.md" +title = "Multi-file Download" weight = 800 +++ #### _By Martin Dam at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/multi-page-list/index.md b/content/NAVPatterns/multi-page-list/index.md index c87e5cf2..f48ab7df 100644 --- a/content/NAVPatterns/multi-page-list/index.md +++ b/content/NAVPatterns/multi-page-list/index.md @@ -1,5 +1,5 @@ +++ -title = "multi-page-list.md" +title = "Multi-Page List" weight = 810 +++ _By Bogdana Botez at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/multilanguage-application-data/index.md b/content/NAVPatterns/multilanguage-application-data/index.md index ca7309fb..4cfafc70 100644 --- a/content/NAVPatterns/multilanguage-application-data/index.md +++ b/content/NAVPatterns/multilanguage-application-data/index.md @@ -1,5 +1,5 @@ +++ -title = "multilanguage-application-data.md" +title = "Multilanguage Application Data" weight = 820 +++ _by Bogdana Botez at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/named-invocations/index.md b/content/NAVPatterns/named-invocations/index.md index d4855951..7d07a48d 100644 --- a/content/NAVPatterns/named-invocations/index.md +++ b/content/NAVPatterns/named-invocations/index.md @@ -1,5 +1,5 @@ +++ -title = "named-invocations.md" +title = "Named Invocations" weight = 830 +++ When calling an object statically use the name, not the number diff --git a/content/NAVPatterns/nav-upgrade/index.md b/content/NAVPatterns/nav-upgrade/index.md index 73ce6e5a..5025ab3f 100644 --- a/content/NAVPatterns/nav-upgrade/index.md +++ b/content/NAVPatterns/nav-upgrade/index.md @@ -1,5 +1,5 @@ +++ -title = "nav-upgrade.md" +title = "Nav Upgrade" weight = 840 +++ ## Anti-Patterns in NAV Upgrade diff --git a/content/NAVPatterns/nested-withs/index.md b/content/NAVPatterns/nested-withs/index.md index 1102f864..fb3b9e62 100644 --- a/content/NAVPatterns/nested-withs/index.md +++ b/content/NAVPatterns/nested-withs/index.md @@ -1,5 +1,5 @@ +++ -title = "nested-withs.md" +title = "Nested WITHs" weight = 850 +++ Do not nest WITHs that reference different types of objects. diff --git a/content/NAVPatterns/net-exception-handling-in-cal/index.md b/content/NAVPatterns/net-exception-handling-in-cal/index.md index 60d51553..25bb559b 100644 --- a/content/NAVPatterns/net-exception-handling-in-cal/index.md +++ b/content/NAVPatterns/net-exception-handling-in-cal/index.md @@ -1,5 +1,5 @@ +++ -title = "net-exception-handling-in-cal.md" +title = "NET Exception Handling in CAL" weight = 860 +++ _by Mostafa Balat, Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/no-series/index.md b/content/NAVPatterns/no-series/index.md index dc0de304..e611c26a 100644 --- a/content/NAVPatterns/no-series/index.md +++ b/content/NAVPatterns/no-series/index.md @@ -1,5 +1,5 @@ +++ -title = "no-series.md" +title = "No Series" weight = 870 +++ _By Bogdana Botez, at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/notification-lifecycle-management-pattern/index.md b/content/NAVPatterns/notification-lifecycle-management-pattern/index.md index fa7d1dfb..069b2134 100644 --- a/content/NAVPatterns/notification-lifecycle-management-pattern/index.md +++ b/content/NAVPatterns/notification-lifecycle-management-pattern/index.md @@ -1,5 +1,5 @@ +++ -title = "notification-lifecycle-management-pattern.md" +title = "Notification Lifecycle Management Pattern" weight = 880 +++ **Notification Lifecycle Management pattern** diff --git a/content/NAVPatterns/notifications/index.md b/content/NAVPatterns/notifications/index.md index 48ea9f17..270c0fc4 100644 --- a/content/NAVPatterns/notifications/index.md +++ b/content/NAVPatterns/notifications/index.md @@ -1,5 +1,5 @@ +++ -title = "notifications.md" +title = "Notifications" weight = 890 +++ A collection of patterns about notifications. diff --git a/content/NAVPatterns/observer/index.md b/content/NAVPatterns/observer/index.md index 210c1c04..716e9712 100644 --- a/content/NAVPatterns/observer/index.md +++ b/content/NAVPatterns/observer/index.md @@ -1,5 +1,5 @@ +++ -title = "observer.md" +title = "Observer" weight = 900 +++ #### _By Nikolai L'Estrange, from TVision Technology Ltd. in the UK__ diff --git a/content/NAVPatterns/one-statement-per-line/index.md b/content/NAVPatterns/one-statement-per-line/index.md index 9e81e408..bee82dc4 100644 --- a/content/NAVPatterns/one-statement-per-line/index.md +++ b/content/NAVPatterns/one-statement-per-line/index.md @@ -1,5 +1,5 @@ +++ -title = "one-statement-per-line.md" +title = "One Statement Per Line" weight = 910 +++ A line of code should not have more than one statement. diff --git a/content/NAVPatterns/parameter-placeholders/index.md b/content/NAVPatterns/parameter-placeholders/index.md index f2e504b1..e71089cc 100644 --- a/content/NAVPatterns/parameter-placeholders/index.md +++ b/content/NAVPatterns/parameter-placeholders/index.md @@ -1,5 +1,5 @@ +++ -title = "parameter-placeholders.md" +title = "Parameter Placeholders" weight = 920 +++ The number of parameters passed to a string must match the placeholders. diff --git a/content/NAVPatterns/patterns-authors/index.md b/content/NAVPatterns/patterns-authors/index.md index 39831825..2a4a20ff 100644 --- a/content/NAVPatterns/patterns-authors/index.md +++ b/content/NAVPatterns/patterns-authors/index.md @@ -1,5 +1,5 @@ +++ -title = "patterns-authors.md" +title = "Patterns Authors" weight = 930 +++ This is the list of people that have been part of the NAV Design Patterns team. If you would like to join the project follow the instructions provided on [Be a NAV Pattern Author][anchor0] page. diff --git a/content/NAVPatterns/posting-routine-select-behavior/index.md b/content/NAVPatterns/posting-routine-select-behavior/index.md index 46bd5f56..720db7a1 100644 --- a/content/NAVPatterns/posting-routine-select-behavior/index.md +++ b/content/NAVPatterns/posting-routine-select-behavior/index.md @@ -1,5 +1,5 @@ +++ -title = "posting-routine-select-behavior.md" +title = "Posting Routine - Select Behavior" weight = 940 +++ _By waldo_ diff --git a/content/NAVPatterns/product-name/index.md b/content/NAVPatterns/product-name/index.md index 3dd5dc8c..3d772122 100644 --- a/content/NAVPatterns/product-name/index.md +++ b/content/NAVPatterns/product-name/index.md @@ -1,5 +1,5 @@ +++ -title = "product-name.md" +title = "Product Name" weight = 950 +++ #### **Abstract** diff --git a/content/NAVPatterns/queries/index.md b/content/NAVPatterns/queries/index.md index 61bb050d..f823a5fd 100644 --- a/content/NAVPatterns/queries/index.md +++ b/content/NAVPatterns/queries/index.md @@ -1,5 +1,5 @@ +++ -title = "queries.md" +title = "Queries" weight = 960 +++ Expand to see NAV design patterns which use queries. diff --git a/content/NAVPatterns/read-once-initialization-and-validation/index.md b/content/NAVPatterns/read-once-initialization-and-validation/index.md index a5f56bb1..9519c274 100644 --- a/content/NAVPatterns/read-once-initialization-and-validation/index.md +++ b/content/NAVPatterns/read-once-initialization-and-validation/index.md @@ -1,5 +1,5 @@ +++ -title = "read-once-initialization-and-validation.md" +title = "Read-once Initialization and Validation" weight = 970 +++ _By Tim Grant** diff --git a/content/NAVPatterns/readability/index.md b/content/NAVPatterns/readability/index.md index de4dda12..18360f86 100644 --- a/content/NAVPatterns/readability/index.md +++ b/content/NAVPatterns/readability/index.md @@ -1,5 +1,5 @@ +++ -title = "readability.md" +title = "Readability" weight = 980 +++ ## C/AL Coding Guidelines diff --git a/content/NAVPatterns/related-links/index.md b/content/NAVPatterns/related-links/index.md index 144c0356..bda8b801 100644 --- a/content/NAVPatterns/related-links/index.md +++ b/content/NAVPatterns/related-links/index.md @@ -1,5 +1,5 @@ +++ -title = "related-links.md" +title = "Related Links" weight = 990 +++ Find below some related NAV Design Patterns links. diff --git a/content/NAVPatterns/released-entity/index.md b/content/NAVPatterns/released-entity/index.md index ea536ece..ff07536c 100644 --- a/content/NAVPatterns/released-entity/index.md +++ b/content/NAVPatterns/released-entity/index.md @@ -1,5 +1,5 @@ +++ -title = "released-entity.md" +title = "Released Entity" weight = 1000 +++ Authors: Henrik Langbak and Kim Ginnerup, Bording Data diff --git a/content/NAVPatterns/report-selection/index.md b/content/NAVPatterns/report-selection/index.md index dee79c74..0a144100 100644 --- a/content/NAVPatterns/report-selection/index.md +++ b/content/NAVPatterns/report-selection/index.md @@ -1,5 +1,5 @@ +++ -title = "report-selection.md" +title = "Report Selection" weight = 1010 +++ From the PRS workshop at NAVTechDays 2013, this pattern was written by 2 work groups diff --git a/content/NAVPatterns/reusable-bugs/index.md b/content/NAVPatterns/reusable-bugs/index.md index 7025e204..0727591e 100644 --- a/content/NAVPatterns/reusable-bugs/index.md +++ b/content/NAVPatterns/reusable-bugs/index.md @@ -1,5 +1,5 @@ +++ -title = "reusable-bugs.md" +title = "Reusable Bugs" weight = 1020 +++ # Reusable Bugs diff --git a/content/NAVPatterns/security/index.md b/content/NAVPatterns/security/index.md index 82591122..9af575b4 100644 --- a/content/NAVPatterns/security/index.md +++ b/content/NAVPatterns/security/index.md @@ -1,5 +1,5 @@ +++ -title = "security.md" +title = "Security" weight = 1030 +++ ## **Security patterns for NAV diff --git a/content/NAVPatterns/select-distinct-with-queries/index.md b/content/NAVPatterns/select-distinct-with-queries/index.md index ab2e9ba4..fb81506c 100644 --- a/content/NAVPatterns/select-distinct-with-queries/index.md +++ b/content/NAVPatterns/select-distinct-with-queries/index.md @@ -1,5 +1,5 @@ +++ -title = "select-distinct-with-queries.md" +title = "SELECT DISTINCT with Queries" weight = 1040 +++ _By Bogdana Botez, at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/separate-if-and-else/index.md b/content/NAVPatterns/separate-if-and-else/index.md index 804c0649..33244e31 100644 --- a/content/NAVPatterns/separate-if-and-else/index.md +++ b/content/NAVPatterns/separate-if-and-else/index.md @@ -1,5 +1,5 @@ +++ -title = "separate-if-and-else.md" +title = "Separate IF and ELSE" weight = 1050 +++ IF and ELSE statements should be on separate lines. Bad code diff --git a/content/NAVPatterns/setup-specificity-fallback/index.md b/content/NAVPatterns/setup-specificity-fallback/index.md index 44992756..7f9bc4a2 100644 --- a/content/NAVPatterns/setup-specificity-fallback/index.md +++ b/content/NAVPatterns/setup-specificity-fallback/index.md @@ -1,5 +1,5 @@ +++ -title = "setup-specificity-fallback.md" +title = "Setup Specificity Fallback" weight = 1060 +++ _By Jan Hoek at IDYN_ diff --git a/content/NAVPatterns/setup-table/index.md b/content/NAVPatterns/setup-table/index.md index 5fe56db7..364628b8 100644 --- a/content/NAVPatterns/setup-table/index.md +++ b/content/NAVPatterns/setup-table/index.md @@ -1,5 +1,5 @@ +++ -title = "setup-table.md" +title = "Setup Table" weight = 1070 +++ ## Setup Table diff --git a/content/NAVPatterns/silent-file-upload-and-download/index.md b/content/NAVPatterns/silent-file-upload-and-download/index.md index 5631c26e..efc86e9a 100644 --- a/content/NAVPatterns/silent-file-upload-and-download/index.md +++ b/content/NAVPatterns/silent-file-upload-and-download/index.md @@ -1,5 +1,5 @@ +++ -title = "silent-file-upload-and-download.md" +title = "Silent File Upload and Download" weight = 1080 +++ _By Bogdana Botez, at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/singleton-codeunit/index.md b/content/NAVPatterns/singleton-codeunit/index.md index 4cd1f25c..9f8c0245 100644 --- a/content/NAVPatterns/singleton-codeunit/index.md +++ b/content/NAVPatterns/singleton-codeunit/index.md @@ -1,5 +1,5 @@ +++ -title = "singleton-codeunit.md" +title = "Singleton Codeunit" weight = 1100 +++ ## Singleton Codeunit diff --git a/content/NAVPatterns/singleton-table/index.md b/content/NAVPatterns/singleton-table/index.md index 253fdb4e..00230a49 100644 --- a/content/NAVPatterns/singleton-table/index.md +++ b/content/NAVPatterns/singleton-table/index.md @@ -1,5 +1,5 @@ +++ -title = "singleton-table.md" +title = "Singleton Table" weight = 1110 +++ ## Singleton Table diff --git a/content/NAVPatterns/singleton/index.md b/content/NAVPatterns/singleton/index.md index 1e6c17db..8f4758ee 100644 --- a/content/NAVPatterns/singleton/index.md +++ b/content/NAVPatterns/singleton/index.md @@ -1,5 +1,5 @@ +++ -title = "singleton.md" +title = "Singleton" weight = 1090 +++ ## Singleton diff --git a/content/NAVPatterns/spacing-binary-operators/index.md b/content/NAVPatterns/spacing-binary-operators/index.md index fe58e7cd..a3c4d26c 100644 --- a/content/NAVPatterns/spacing-binary-operators/index.md +++ b/content/NAVPatterns/spacing-binary-operators/index.md @@ -1,5 +1,5 @@ +++ -title = "spacing-binary-operators.md" +title = "Spacing Binary Operators" weight = 1120 +++ There must be exactly one space character on each side of a binary operator such as = + - AND OR =. The parameter comma operator however, should have no spaces. diff --git a/content/NAVPatterns/spacing-brackets-and/index.md b/content/NAVPatterns/spacing-brackets-and/index.md index 2a9d53f6..bedb184b 100644 --- a/content/NAVPatterns/spacing-brackets-and/index.md +++ b/content/NAVPatterns/spacing-brackets-and/index.md @@ -1,5 +1,5 @@ +++ -title = "spacing-brackets-and.md" +title = "Spacing Brackets and ::" weight = 1130 +++ There must be no spaces characters before and after \[\] dimension brackets symbols or :: option symbols. diff --git a/content/NAVPatterns/spacing-unary-operators/index.md b/content/NAVPatterns/spacing-unary-operators/index.md index bc5b23b1..b3b68872 100644 --- a/content/NAVPatterns/spacing-unary-operators/index.md +++ b/content/NAVPatterns/spacing-unary-operators/index.md @@ -1,5 +1,5 @@ +++ -title = "spacing-unary-operators.md" +title = "Spacing Unary Operators" weight = 1140 +++ There must be no space between a unary operator and its argument (except for the NOT keyword). diff --git a/content/NAVPatterns/standard-journal/index.md b/content/NAVPatterns/standard-journal/index.md index c54f0892..6dfa1975 100644 --- a/content/NAVPatterns/standard-journal/index.md +++ b/content/NAVPatterns/standard-journal/index.md @@ -1,5 +1,5 @@ +++ -title = "standard-journal.md" +title = "Standard Journal" weight = 1150 +++ _By Bogdana Botez, at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/static-object-invocation/index.md b/content/NAVPatterns/static-object-invocation/index.md index 74814933..b7ef5b50 100644 --- a/content/NAVPatterns/static-object-invocation/index.md +++ b/content/NAVPatterns/static-object-invocation/index.md @@ -1,5 +1,5 @@ +++ -title = "static-object-invocation.md" +title = "Static Object Invocation" weight = 1160 +++ Call objects statically whenever possible. It reduces extra noise and removes extra variables. Downside: changing the name of the object which is called statically will need a code update. diff --git a/content/NAVPatterns/suggested-abbreviations/index.md b/content/NAVPatterns/suggested-abbreviations/index.md index c2dbdd9a..df4af1ec 100644 --- a/content/NAVPatterns/suggested-abbreviations/index.md +++ b/content/NAVPatterns/suggested-abbreviations/index.md @@ -1,5 +1,5 @@ +++ -title = "suggested-abbreviations.md" +title = "Suggested Abbreviations" weight = 1170 +++ ### Suggested Abbreviations diff --git a/content/NAVPatterns/template-for-writing-nav-design-patterns/index.md b/content/NAVPatterns/template-for-writing-nav-design-patterns/index.md index eac265e4..77a8b22b 100644 --- a/content/NAVPatterns/template-for-writing-nav-design-patterns/index.md +++ b/content/NAVPatterns/template-for-writing-nav-design-patterns/index.md @@ -1,5 +1,5 @@ +++ -title = "template-for-writing-nav-design-patterns.md" +title = "Template for writing Nav Design Patterns" weight = 1180 +++ This is a guideline, some parts are optional (if there's no content, remove the whole paragraph). diff --git a/content/NAVPatterns/temporary-dataset-report/index.md b/content/NAVPatterns/temporary-dataset-report/index.md index 5e8ab5e8..009a606c 100644 --- a/content/NAVPatterns/temporary-dataset-report/index.md +++ b/content/NAVPatterns/temporary-dataset-report/index.md @@ -1,5 +1,5 @@ +++ -title = "temporary-dataset-report.md" +title = "Temporary Dataset Report" weight = 1190 +++ _by Abhishek Ghosh, at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/temporary-variable-naming/index.md b/content/NAVPatterns/temporary-variable-naming/index.md index bac217cb..4f8ec150 100644 --- a/content/NAVPatterns/temporary-variable-naming/index.md +++ b/content/NAVPatterns/temporary-variable-naming/index.md @@ -1,5 +1,5 @@ +++ -title = "temporary-variable-naming.md" +title = "Temporary Variable Naming" weight = 1200 +++ The name of a temporary variable must be prefixed with the word Temp and not otherwise. Bad code diff --git a/content/NAVPatterns/textconst-suffixes/index.md b/content/NAVPatterns/textconst-suffixes/index.md index 48999526..54277293 100644 --- a/content/NAVPatterns/textconst-suffixes/index.md +++ b/content/NAVPatterns/textconst-suffixes/index.md @@ -1,5 +1,5 @@ +++ -title = "textconst-suffixes.md" +title = "TextConst Suffixes" weight = 1210 +++ TextConst variable names should have a suffix (an approved three-letter suffix: Msg, Tok, Err, Qst, Lbl, Txt) describing usage. diff --git a/content/NAVPatterns/totals-and-discounts-on-subpages-sales-and-purchases/index.md b/content/NAVPatterns/totals-and-discounts-on-subpages-sales-and-purchases/index.md index ff19a66e..32bc2aa8 100644 --- a/content/NAVPatterns/totals-and-discounts-on-subpages-sales-and-purchases/index.md +++ b/content/NAVPatterns/totals-and-discounts-on-subpages-sales-and-purchases/index.md @@ -1,5 +1,5 @@ +++ -title = "totals-and-discounts-on-subpages-sales-and-purchases.md" +title = "Totals and Discounts on Subpages Sales and Purchases" weight = 1220 +++ _By Nikola Kukrika at Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/transfer-custom-fields/index.md b/content/NAVPatterns/transfer-custom-fields/index.md index 6e91ec2e..13669ec4 100644 --- a/content/NAVPatterns/transfer-custom-fields/index.md +++ b/content/NAVPatterns/transfer-custom-fields/index.md @@ -1,5 +1,5 @@ +++ -title = "transfer-custom-fields.md" +title = "Transfer Custom Fields" weight = 1230 +++ [watch?v=cGaBqwfGCws&list=PLhZ3P LY7CqmVszuvtJLujFyHpsVN0Uw&index=9][anchor0] diff --git a/content/NAVPatterns/tryfunction-net-exception-handling-in-cal/index.md b/content/NAVPatterns/tryfunction-net-exception-handling-in-cal/index.md index 56c4e5f4..75cf79b6 100644 --- a/content/NAVPatterns/tryfunction-net-exception-handling-in-cal/index.md +++ b/content/NAVPatterns/tryfunction-net-exception-handling-in-cal/index.md @@ -1,5 +1,5 @@ +++ -title = "tryfunction-net-exception-handling-in-cal.md" +title = "TryFunction NET Exception Handling in CAL" weight = 1240 +++ _by Mostafa Balat, Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/unary-operator-line-end/index.md b/content/NAVPatterns/unary-operator-line-end/index.md index b49f5f9f..388a4019 100644 --- a/content/NAVPatterns/unary-operator-line-end/index.md +++ b/content/NAVPatterns/unary-operator-line-end/index.md @@ -1,5 +1,5 @@ +++ -title = "unary-operator-line-end.md" +title = "Unary Operator Line End" weight = 1250 +++ Do not end a line with unary operator. diff --git a/content/NAVPatterns/unnecessary-compound-parenthesis/index.md b/content/NAVPatterns/unnecessary-compound-parenthesis/index.md index 5a753cb6..dc16c6b3 100644 --- a/content/NAVPatterns/unnecessary-compound-parenthesis/index.md +++ b/content/NAVPatterns/unnecessary-compound-parenthesis/index.md @@ -1,5 +1,5 @@ +++ -title = "unnecessary-compound-parenthesis.md" +title = "Unnecessary Compound Parenthesis" weight = 1260 +++ Use parenthesis only to enclose compound expressions inside compound expressions. diff --git a/content/NAVPatterns/unnecessary-else/index.md b/content/NAVPatterns/unnecessary-else/index.md index 8a3f1426..0a1f9751 100644 --- a/content/NAVPatterns/unnecessary-else/index.md +++ b/content/NAVPatterns/unnecessary-else/index.md @@ -1,5 +1,5 @@ +++ -title = "unnecessary-else.md" +title = "Unnecessary ELSE" weight = 1270 +++ ELSE should not be used when the last action in the THEN part is an EXIT, BREAK, SKIP, QUIT, ERROR. Bad code diff --git a/content/NAVPatterns/unnecessary-function-parenthesis/index.md b/content/NAVPatterns/unnecessary-function-parenthesis/index.md index 54bb00fb..ff2adecc 100644 --- a/content/NAVPatterns/unnecessary-function-parenthesis/index.md +++ b/content/NAVPatterns/unnecessary-function-parenthesis/index.md @@ -1,5 +1,5 @@ +++ -title = "unnecessary-function-parenthesis.md" +title = "Unnecessary Function Parenthesis" weight = 1280 +++ Do not use parenthesis in a function call if the function does not have any parameters. diff --git a/content/NAVPatterns/unnecessary-separators/index.md b/content/NAVPatterns/unnecessary-separators/index.md index a2362eae..79bb2d1d 100644 --- a/content/NAVPatterns/unnecessary-separators/index.md +++ b/content/NAVPatterns/unnecessary-separators/index.md @@ -1,5 +1,5 @@ +++ -title = "unnecessary-separators.md" +title = "Unnecessary Separators" weight = 1290 +++ There should be no unnecessary separators. Bad code diff --git a/content/NAVPatterns/unnecessary-truefalse/index.md b/content/NAVPatterns/unnecessary-truefalse/index.md index a6a3fb49..db675c2b 100644 --- a/content/NAVPatterns/unnecessary-truefalse/index.md +++ b/content/NAVPatterns/unnecessary-truefalse/index.md @@ -1,5 +1,5 @@ +++ -title = "unnecessary-truefalse.md" +title = "Unnecessary TRUE/FALSE" weight = 1300 +++ Do not use TRUE or FALSE keywords unnecessarily if the expression is already an logical expression. diff --git a/content/NAVPatterns/unreachable-code/index.md b/content/NAVPatterns/unreachable-code/index.md index 48b70bee..67d8953a 100644 --- a/content/NAVPatterns/unreachable-code/index.md +++ b/content/NAVPatterns/unreachable-code/index.md @@ -1,5 +1,5 @@ +++ -title = "unreachable-code.md" +title = "Unreachable Code" weight = 1310 +++ Do not write code that will never be hit. diff --git a/content/NAVPatterns/unused-initialized-variables/index.md b/content/NAVPatterns/unused-initialized-variables/index.md index def36b42..3e403721 100644 --- a/content/NAVPatterns/unused-initialized-variables/index.md +++ b/content/NAVPatterns/unused-initialized-variables/index.md @@ -1,5 +1,5 @@ +++ -title = "unused-initialized-variables.md" +title = "Unused Initialized Variables" weight = 1320 +++ The value assigned to a variable must be used. Else the variable is not necessary. diff --git a/content/NAVPatterns/unused-variables/index.md b/content/NAVPatterns/unused-variables/index.md index 8b0c5cc3..8f599bfa 100644 --- a/content/NAVPatterns/unused-variables/index.md +++ b/content/NAVPatterns/unused-variables/index.md @@ -1,5 +1,5 @@ +++ -title = "unused-variables.md" +title = "Unused Variables" weight = 1330 +++ Do not declare variables that are unused. diff --git a/content/NAVPatterns/use-queries-to-detect-duplicate-records/index.md b/content/NAVPatterns/use-queries-to-detect-duplicate-records/index.md index e202ce9c..3dd4d43e 100644 --- a/content/NAVPatterns/use-queries-to-detect-duplicate-records/index.md +++ b/content/NAVPatterns/use-queries-to-detect-duplicate-records/index.md @@ -1,5 +1,5 @@ +++ -title = "use-queries-to-detect-duplicate-records.md" +title = "use Queries to Detect Duplicate Records" weight = 1340 +++ _by Abshishek Ghosh and Bogdan Sturzoiu at Microsoft Development Center Copenhagen** diff --git a/content/NAVPatterns/use-queries-to-replace-nested-loops/index.md b/content/NAVPatterns/use-queries-to-replace-nested-loops/index.md index 5c5d8726..b85acefa 100644 --- a/content/NAVPatterns/use-queries-to-replace-nested-loops/index.md +++ b/content/NAVPatterns/use-queries-to-replace-nested-loops/index.md @@ -1,5 +1,5 @@ +++ -title = "use-queries-to-replace-nested-loops.md" +title = "Use Queries to Replace Nested Loops" weight = 1350 +++ #### _by Bogdan Sturzoiu, Microsoft Development Center Copenhagen_ diff --git a/content/NAVPatterns/use-text-constants/index.md b/content/NAVPatterns/use-text-constants/index.md index 83f14ac8..2784252e 100644 --- a/content/NAVPatterns/use-text-constants/index.md +++ b/content/NAVPatterns/use-text-constants/index.md @@ -1,5 +1,5 @@ +++ -title = "use-text-constants.md" +title = "Use Text Constants" weight = 1360 +++ Pass user messages using Text Constants. It makes translation easy. diff --git a/content/NAVPatterns/using-calcdate/index.md b/content/NAVPatterns/using-calcdate/index.md index 268df68d..e14ad100 100644 --- a/content/NAVPatterns/using-calcdate/index.md +++ b/content/NAVPatterns/using-calcdate/index.md @@ -1,5 +1,5 @@ +++ -title = "using-calcdate.md" +title = "Using Calcdate" weight = 1370 +++ CALCDATE should only be used with DateFormula variables. Alternatively the string should be enclosed using the <\> symbols. diff --git a/content/NAVPatterns/using-optioncaptionml/index.md b/content/NAVPatterns/using-optioncaptionml/index.md index abeb58a0..1de0a0c8 100644 --- a/content/NAVPatterns/using-optioncaptionml/index.md +++ b/content/NAVPatterns/using-optioncaptionml/index.md @@ -1,5 +1,5 @@ +++ -title = "using-optioncaptionml.md" +title = "Using OptionCaptionML" weight = 1380 +++ The OptionCaptionML should be filled in for sourceexpression using option data types. diff --git a/content/NAVPatterns/ux/index.md b/content/NAVPatterns/ux/index.md index e4d8b6df..b755e886 100644 --- a/content/NAVPatterns/ux/index.md +++ b/content/NAVPatterns/ux/index.md @@ -1,5 +1,5 @@ +++ -title = "ux.md" +title = "UX" weight = 1390 +++ ## C/AL Coding Guidelines diff --git a/content/NAVPatterns/variable-already-scoped/index.md b/content/NAVPatterns/variable-already-scoped/index.md index f7861580..fabf31aa 100644 --- a/content/NAVPatterns/variable-already-scoped/index.md +++ b/content/NAVPatterns/variable-already-scoped/index.md @@ -1,5 +1,5 @@ +++ -title = "variable-already-scoped.md" +title = "Variable Already Scoped" weight = 1400 +++ Do not use scope ''.'' qualifier unnecessarily when a variable is already implicitly or explicitly scoped. It keeps the code simpler. diff --git a/content/NAVPatterns/variable-capacity-mismatch/index.md b/content/NAVPatterns/variable-capacity-mismatch/index.md index 0d451131..44b80671 100644 --- a/content/NAVPatterns/variable-capacity-mismatch/index.md +++ b/content/NAVPatterns/variable-capacity-mismatch/index.md @@ -1,5 +1,5 @@ +++ -title = "variable-capacity-mismatch.md" +title = "Variable Capacity Mismatch" weight = 1410 +++ Do not assign a value to a variable whose capacity is smaller. diff --git a/content/NAVPatterns/variable-naming/index.md b/content/NAVPatterns/variable-naming/index.md index ceb77711..8d7b6e11 100644 --- a/content/NAVPatterns/variable-naming/index.md +++ b/content/NAVPatterns/variable-naming/index.md @@ -1,5 +1,5 @@ +++ -title = "variable-naming.md" +title = "Variable Naming" weight = 1420 +++ Variables that refer to a C/AL object must contain the objects name, abbreviated where necessary. diff --git a/content/NAVPatterns/variables-declarations-order/index.md b/content/NAVPatterns/variables-declarations-order/index.md index ce1111a4..142b0655 100644 --- a/content/NAVPatterns/variables-declarations-order/index.md +++ b/content/NAVPatterns/variables-declarations-order/index.md @@ -1,5 +1,5 @@ +++ -title = "variables-declarations-order.md" +title = "Variables Declarations Order" weight = 1430 +++ Variables declarations should be ordered by type. In general, object and complex variable types are listed first followed by simple variables. The order should be the same as the object list in the object designer for C/AL objects. Afterwards come the complex variables like RecordRef, .NET, FieldRef etc. At the end come all the simple data types in no particular order. Bad code diff --git a/content/NAVPatterns/variant-facade/index.md b/content/NAVPatterns/variant-facade/index.md index 0f978b4c..abaeaf0e 100644 --- a/content/NAVPatterns/variant-facade/index.md +++ b/content/NAVPatterns/variant-facade/index.md @@ -1,5 +1,5 @@ +++ -title = "variant-facade.md" +title = "Variant Facade" weight = 1440 +++ # Variant Façade diff --git a/content/NAVPatterns/with-scope-name-collision/index.md b/content/NAVPatterns/with-scope-name-collision/index.md index 7c73b9eb..2d076443 100644 --- a/content/NAVPatterns/with-scope-name-collision/index.md +++ b/content/NAVPatterns/with-scope-name-collision/index.md @@ -1,5 +1,5 @@ +++ -title = "with-scope-name-collision.md" +title = "WITH Scope Name Collision" weight = 1450 +++ Do not use the WITH scope when it has a variable whose name is the same as a local variable. This can lead to wrong code assumptions.