From 740dbf4e5ab112e0315106ba0bbead48d4d1f854 Mon Sep 17 00:00:00 2001 From: JeremyVyska Date: Wed, 10 Nov 2021 09:17:12 +0000 Subject: [PATCH] deploy: 2d3e5d02a26b81c4703b0e6c510c0b1447764719 --- 404.html | 18 +- bcbestpractices/index.html | 47 ++-- bcbestpractices/index.xml | 2 +- bcpatterns/index.html | 47 ++-- bcpatterns/index.xml | 2 +- categories/index.html | 49 ++-- categories/index.xml | 2 +- contributing/index.html | 234 ++++++++++++++++++ contributing/index.xml | 1 + index.html | 66 ++--- index.json | 2 +- index.xml | 7 +- .../1-patterns/activity-log/index.html | 45 ++-- .../1-patterns/argument-table/index.html | 45 ++-- .../data-driven-blocked-entity/index.html | 45 ++-- .../1-patterns/blocked-entity/index.html | 47 ++-- .../1-patterns/blocked-entity/index.xml | 2 +- .../cached-web-service-calls/index.html | 45 ++-- .../conditional-cascading-update/index.html | 45 ++-- .../1-patterns/copy-document/index.html | 45 ++-- .../create-data-from-templates/index.html | 45 ++-- .../create-urls-to-nav-clients/index.html | 45 ++-- .../creating-custom-charts/index.html | 45 ++-- .../cross-session-events/index.html | 45 ++-- .../currently-active-record/index.html | 45 ++-- .../data-migration-facade/index.html | 45 ++-- .../1-patterns/discovery-event/index.html | 45 ++-- navpatterns/1-patterns/document/index.html | 45 ++-- .../index.html | 45 ++-- .../error-message-processing/index.html | 45 ++-- .../index.html | 45 ++-- .../index.html | 45 ++-- navpatterns/1-patterns/hooks/index.html | 45 ++-- .../index.html | 45 ++-- navpatterns/1-patterns/index.html | 47 ++-- navpatterns/1-patterns/index.xml | 86 +++---- .../instructions-in-the-ui/index.html | 45 ++-- .../integration-of-addresses/index.html | 45 ++-- .../journal-error-processing/index.html | 45 ++-- .../journal-template-batch-line/index.html | 45 ++-- navpatterns/1-patterns/master-data/index.html | 45 ++-- .../1-patterns/multi-file-download/index.html | 45 ++-- .../1-patterns/multi-page-list/index.html | 45 ++-- .../multilanguage-application-data/index.html | 45 ++-- .../net-exception-handling-in-cal/index.html | 47 ++-- .../net-exception-handling-in-cal/index.xml | 2 +- .../index.html | 45 ++-- navpatterns/1-patterns/no-series/index.html | 45 ++-- .../in-context-notifications/index.html | 45 ++-- .../1-patterns/notifications/index.html | 47 ++-- .../1-patterns/notifications/index.xml | 4 +- .../index.html | 45 ++-- navpatterns/1-patterns/observer/index.html | 45 ++-- .../index.html | 45 ++-- .../1-patterns/product-name/index.html | 45 ++-- navpatterns/1-patterns/queries/index.html | 47 ++-- navpatterns/1-patterns/queries/index.xml | 6 +- .../select-distinct-with-queries/index.html | 45 ++-- .../index.html | 45 ++-- .../index.html | 45 ++-- .../index.html | 45 ++-- .../1-patterns/released-entity/index.html | 45 ++-- .../1-patterns/report-selection/index.html | 45 ++-- navpatterns/1-patterns/security/index.html | 45 ++-- .../setup-specificity-fallback/index.html | 45 ++-- .../index.html | 45 ++-- navpatterns/1-patterns/singleton/index.html | 47 ++-- navpatterns/1-patterns/singleton/index.xml | 4 +- .../singleton/singleton-codeunit/index.html | 45 ++-- .../singleton-table/cue-table/index.html | 45 ++-- .../singleton/singleton-table/index.html | 47 ++-- .../singleton/singleton-table/index.xml | 4 +- .../singleton-table/setup-table/index.html | 45 ++-- .../1-patterns/standard-journal/index.html | 45 ++-- .../temporary-dataset-report/index.html | 45 ++-- .../index.html | 45 ++-- .../transfer-custom-fields/index.html | 45 ++-- .../1-patterns/variant-facade/index.html | 45 ++-- navpatterns/2-anti-patterns/index.html | 47 ++-- navpatterns/2-anti-patterns/index.xml | 4 +- .../2-anti-patterns/nav-upgrade/index.html | 45 ++-- .../2-anti-patterns/reusable-bugs/index.html | 45 ++-- .../3-cal-coding-guidelines/design/index.html | 45 ++-- .../3-cal-coding-guidelines/index.html | 47 ++-- navpatterns/3-cal-coding-guidelines/index.xml | 4 +- .../internally-used-dot-net-types/index.html | 45 ++-- .../internationalization/index.html | 47 ++-- .../internationalization/index.xml | 2 +- .../using-calcdate/index.html | 45 ++-- .../captionml-for-system-tables/index.html | 45 ++-- .../fieldcaption-and-tablecaption/index.html | 45 ++-- .../global-text-constants/index.html | 45 ++-- .../localizability/index.html | 47 ++-- .../localizability/index.xml | 10 +- .../use-text-constants/index.html | 45 ++-- .../using-optioncaptionml/index.html | 45 ++-- .../begin-as-an-afterword/index.html | 45 ++-- .../readability/begin-end/index.html | 45 ++-- .../binary-operator-line-start/index.html | 45 ++-- .../readability/blank-lines/index.html | 45 ++-- .../readability/case-actions/index.html | 45 ++-- .../colon-usage-in-case/index.html | 45 ++-- .../comments-curly-brackets/index.html | 45 ++-- .../readability/comments-spacing/index.html | 45 ++-- .../readability/end-else-pair/index.html | 45 ++-- .../readability/indentation/index.html | 45 ++-- .../readability/index.html | 47 ++-- .../readability/index.xml | 64 ++--- .../keyword-pairs-indentation/index.html | 45 ++-- .../line-start-keywords/index.html | 45 ++-- .../readability/lonely-repeat/index.html | 45 ++-- .../readability/named-invocations/index.html | 45 ++-- .../readability/nested-withs/index.html | 45 ++-- .../one-statement-per-line/index.html | 45 ++-- .../separate-if-and-else/index.html | 45 ++-- .../spacing-binary-operators/index.html | 45 ++-- .../spacing-brackets-and/index.html | 45 ++-- .../spacing-unary-operators/index.html | 45 ++-- .../suggested-abbreviations/index.html | 45 ++-- .../temporary-variable-naming/index.html | 45 ++-- .../readability/textconst-suffixes/index.html | 45 ++-- .../unary-operator-line-end/index.html | 45 ++-- .../index.html | 45 ++-- .../readability/unnecessary-else/index.html | 45 ++-- .../index.html | 45 ++-- .../unnecessary-separators/index.html | 45 ++-- .../unnecessary-truefalse/index.html | 45 ++-- .../variable-already-scoped/index.html | 45 ++-- .../readability/variable-naming/index.html | 45 ++-- .../variables-declarations-order/index.html | 45 ++-- .../ux/actions-images/index.html | 45 ++-- .../ux/confirm/index.html | 45 ++-- .../ux/fielderror/index.html | 45 ++-- .../3-cal-coding-guidelines/ux/index.html | 47 ++-- .../3-cal-coding-guidelines/ux/index.xml | 8 +- .../ux/message-and-error/index.html | 45 ++-- .../4-get-involved/code-of-conduct/index.html | 45 ++-- navpatterns/4-get-involved/index.html | 47 ++-- navpatterns/4-get-involved/index.xml | 6 +- .../patterns-authors/index.html | 45 ++-- .../index.html | 45 ++-- navpatterns/index.html | 47 ++-- navpatterns/index.xml | 8 +- navpatterns/related-links/index.html | 46 ++-- sitemap.xml | 2 +- tags/index.html | 49 ++-- tags/index.xml | 2 +- welcome/index.html | 47 ++-- welcome/index.xml | 2 +- 149 files changed, 3229 insertions(+), 2860 deletions(-) create mode 100644 contributing/index.html create mode 100644 contributing/index.xml diff --git a/404.html b/404.html index cc6ee3ef..9f6ff867 100644 --- a/404.html +++ b/404.html @@ -4,15 +4,15 @@ -404 Page not found :: BC AL Help - - - - - - - - +404 Page not found :: AL Guidelines + + + + + + + + diff --git a/bcbestpractices/index.html b/bcbestpractices/index.html index 259eab01..1791c30f 100644 --- a/bcbestpractices/index.html +++ b/bcbestpractices/index.html @@ -3,19 +3,19 @@ - + -BC Dev. Best Practices :: BC AL Help - - - - - - - - - - +BC Dev. Best Practices :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
@@ -33,9 +33,9 @@ BC AL Help . dev
- - - + + +
  • Related Links
  • +
  • Contributing
    • @@ -220,12 +221,12 @@ BC AL Help . dev
      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/bcbestpractices/index.xml b/bcbestpractices/index.xml index bb061f3c..1887cdd6 100644 --- a/bcbestpractices/index.xml +++ b/bcbestpractices/index.xml @@ -1 +1 @@ -BC Dev. Best Practices on BC AL Helphttps://bcalhelp.dev/bcbestpractices/Recent content in BC Dev. Best Practices on BC AL HelpHugo -- gohugo.ioen-us \ No newline at end of file +BC Dev. Best Practices on AL Guidelineshttps://alguidelines.dev/bcbestpractices/Recent content in BC Dev. Best Practices on AL GuidelinesHugo -- gohugo.ioen-us \ No newline at end of file diff --git a/bcpatterns/index.html b/bcpatterns/index.html index 60f618bd..27971e2a 100644 --- a/bcpatterns/index.html +++ b/bcpatterns/index.html @@ -3,19 +3,19 @@ - + -BC Patterns :: BC AL Help - - - - - - - - - - +BC Patterns :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
      @@ -33,9 +33,9 @@ BC AL Help . dev
      - - - + + +
    • Related Links
    • +
    • Contributing
      • @@ -215,12 +216,12 @@ BC AL Help . dev
        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/bcpatterns/index.xml b/bcpatterns/index.xml index 03e9095d..c6c57bd7 100644 --- a/bcpatterns/index.xml +++ b/bcpatterns/index.xml @@ -1 +1 @@ -BC Patterns on BC AL Helphttps://bcalhelp.dev/bcpatterns/Recent content in BC Patterns on BC AL HelpHugo -- gohugo.ioen-us \ No newline at end of file +BC Patterns on AL Guidelineshttps://alguidelines.dev/bcpatterns/Recent content in BC Patterns on AL GuidelinesHugo -- gohugo.ioen-us \ No newline at end of file diff --git a/categories/index.html b/categories/index.html index a9fed5c8..33b2277f 100644 --- a/categories/index.html +++ b/categories/index.html @@ -3,19 +3,19 @@ - + -Categories :: BC AL Help - - - - - - - - - - +Categories :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
        @@ -33,9 +33,9 @@ BC AL Help . dev
        - - - + + +
      • Related Links
      • +
      • Contributing
        • @@ -205,18 +206,18 @@ BC AL Help . dev
          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/categories/index.xml b/categories/index.xml index b2908971..165df49b 100644 --- a/categories/index.xml +++ b/categories/index.xml @@ -1 +1 @@ -Categories on BC AL Helphttps://bcalhelp.dev/categories/Recent content in Categories on BC AL HelpHugo -- gohugo.ioen-us \ No newline at end of file +Categories on AL Guidelineshttps://alguidelines.dev/categories/Recent content in Categories on AL GuidelinesHugo -- gohugo.ioen-us \ No newline at end of file diff --git a/contributing/index.html b/contributing/index.html new file mode 100644 index 00000000..79f8b09c --- /dev/null +++ b/contributing/index.html @@ -0,0 +1,234 @@ + + + + + + + +Contributing :: AL Guidelines + + + + + + + + + + + + + + + +
          +
          +
          +
          + + +
          +
          +
          +
          +
          +

          Contributing

          +

          Code of Conduct

          +

          This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

          +

          When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

          +

          This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

          +

          Steps to Contribute

          +
            +
          • Guide to Fork & PR (coming soon)
          • +
          • Templates for Patterns and Best Practices (coming soon)
          • +
          • Understanding the Approval Process (coming soon)
          • +
          +
          +
          +
          + +
          + +
          +
          +
          +
          + + + + + + + + + \ No newline at end of file diff --git a/contributing/index.xml b/contributing/index.xml new file mode 100644 index 00000000..cb99eb8c --- /dev/null +++ b/contributing/index.xml @@ -0,0 +1 @@ +Contributing on AL Guidelineshttps://alguidelines.dev/contributing/Recent content in Contributing on AL GuidelinesHugo -- gohugo.ioen-us \ No newline at end of file diff --git a/index.html b/index.html index 0cd752ca..82ea56cc 100644 --- a/index.html +++ b/index.html @@ -3,20 +3,20 @@ - - + + -Home :: BC AL Help - - - - - - - - - - +Home :: AL Guidelines + + + + + + + + + + @@ -25,7 +25,7 @@
          @@ -34,9 +34,9 @@ BC AL Help . dev
          - - - + + +
        • Related Links
        • +
        • Contributing
          • @@ -190,13 +191,22 @@ BC AL Help . dev

            A team of people interested in NAV application design has come together to work on naming and surfacing design solutions to common NAV business needs. When those solutions are generic enough to be applied in various places of the NAV application, with slight variations on implementation but mainly respecting the same base concepts, we can describe them as NAV design patterns.

            A design pattern is a repeatable template of how to solve a common development challenge.

            +

            What are Development Best Practices?

            +

            (more text coming soon)

            History of “NAV Design Patterns”

            In 2013, Microsoft NAV Dev Team and prominent members of the community collaborated on a Community and Microsoft collection of commonly needed / used Design Patterns.

            For some history on this, waldo’s posts Code is Poetry and Design is Philosophy are a great read.

            -

            Contributing

            -

            This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

            -

            When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

            -

            This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

            +

            Behind This Project

            +

            This project is a Microsoft Business Central Community initiative with support from the Microsoft Business Central team. The founding community members are

            + +

            Contibuting

            +

            To find out more about contributing, read up here: +Contributing

          • Related Links
          • +
          • Contributing
            • @@ -293,12 +294,12 @@ BC AL Help . dev
              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/argument-table/index.html b/navpatterns/1-patterns/argument-table/index.html index 2daf6942..47ff1c8a 100644 --- a/navpatterns/1-patterns/argument-table/index.html +++ b/navpatterns/1-patterns/argument-table/index.html @@ -4,17 +4,17 @@ -Argument Table :: BC AL Help - - - - - - - - - - +Argument Table :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
              @@ -32,9 +32,9 @@ BC AL Help . dev
              - - - + + +
            • Related Links
            • +
            • Contributing
              • @@ -296,12 +297,12 @@ FillInVATReturnData(VATReturnData
                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/blocked-entity/data-driven-blocked-entity/index.html b/navpatterns/1-patterns/blocked-entity/data-driven-blocked-entity/index.html index 717402bf..98ec7585 100644 --- a/navpatterns/1-patterns/blocked-entity/data-driven-blocked-entity/index.html +++ b/navpatterns/1-patterns/blocked-entity/data-driven-blocked-entity/index.html @@ -4,17 +4,17 @@ -Data Driven Blocked Entity :: BC AL Help - - - - - - - - - - +Data Driven Blocked Entity :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                @@ -32,9 +32,9 @@ BC AL Help . dev
                - - - + + +
              • Related Links
              • +
              • Contributing
                • @@ -296,12 +297,12 @@ RecordRestrictionMgt.RestrictRecordUsage(RecRef.RECORDID,STRSUBSTNO(RestrictUsag
                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/blocked-entity/index.html b/navpatterns/1-patterns/blocked-entity/index.html index f4535e6c..c93bb522 100644 --- a/navpatterns/1-patterns/blocked-entity/index.html +++ b/navpatterns/1-patterns/blocked-entity/index.html @@ -3,19 +3,19 @@ - + -Blocked Entity :: BC AL Help - - - - - - - - - - +Blocked Entity :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                  @@ -33,9 +33,9 @@ BC AL Help . dev
                  - - - + + +
                • Related Links
                • +
                • Contributing
                  • @@ -286,12 +287,12 @@ BC AL Help . dev
                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/blocked-entity/index.xml b/navpatterns/1-patterns/blocked-entity/index.xml index 4550b67e..8637bbb0 100644 --- a/navpatterns/1-patterns/blocked-entity/index.xml +++ b/navpatterns/1-patterns/blocked-entity/index.xml @@ -1,3 +1,3 @@ -Blocked Entity on BC AL Helphttps://bcalhelp.dev/navpatterns/1-patterns/blocked-entity/Recent content in Blocked Entity on BC AL HelpHugo -- gohugo.ioen-usData Driven Blocked Entityhttps://bcalhelp.dev/navpatterns/1-patterns/blocked-entity/data-driven-blocked-entity/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/blocked-entity/data-driven-blocked-entity/Written by Bogdan Andrei Sturzoiu, at Microsoft Development Center Copenhagen +Blocked Entity on AL Guidelineshttps://alguidelines.dev/navpatterns/1-patterns/blocked-entity/Recent content in Blocked Entity on AL GuidelinesHugo -- gohugo.ioen-usData Driven Blocked Entityhttps://alguidelines.dev/navpatterns/1-patterns/blocked-entity/data-driven-blocked-entity/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/blocked-entity/data-driven-blocked-entity/Written by Bogdan Andrei Sturzoiu, at Microsoft Development Center Copenhagen Abstract This pattern implements a generic mechanism for dynamically restricting and allowing usage of a record by the business process administrator. Problem A NAV record can be used in a number of functionalities across the app. There are situations, however, when the administrator wants to restrict the consumption of such a record, as well as lift the restriction when it is no longer relevant. \ No newline at end of file diff --git a/navpatterns/1-patterns/cached-web-service-calls/index.html b/navpatterns/1-patterns/cached-web-service-calls/index.html index fb0bce36..03ae09bb 100644 --- a/navpatterns/1-patterns/cached-web-service-calls/index.html +++ b/navpatterns/1-patterns/cached-web-service-calls/index.html @@ -4,17 +4,17 @@ -Cached Web Server Calls :: BC AL Help - - - - - - - - - - +Cached Web Server Calls :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                    @@ -32,9 +32,9 @@ BC AL Help . dev
                    - - - + + +
                  • Related Links
                  • +
                  • Contributing
                    • @@ -330,12 +331,12 @@ OnAction=VAR
                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/conditional-cascading-update/index.html b/navpatterns/1-patterns/conditional-cascading-update/index.html index fc05a48e..02f8bf58 100644 --- a/navpatterns/1-patterns/conditional-cascading-update/index.html +++ b/navpatterns/1-patterns/conditional-cascading-update/index.html @@ -4,17 +4,17 @@ -Conditional Cascading Update :: BC AL Help - - - - - - - - - - +Conditional Cascading Update :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                      @@ -32,9 +32,9 @@ BC AL Help . dev
                      - - - + + +
                    • Related Links
                    • +
                    • Contributing
                      • @@ -240,12 +241,12 @@ BC AL Help . dev
                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/copy-document/index.html b/navpatterns/1-patterns/copy-document/index.html index cda6d63b..f2810e5d 100644 --- a/navpatterns/1-patterns/copy-document/index.html +++ b/navpatterns/1-patterns/copy-document/index.html @@ -4,17 +4,17 @@ -Copy Document :: BC AL Help - - - - - - - - - - +Copy Document :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                        @@ -32,9 +32,9 @@ BC AL Help . dev
                        - - - + + +
                      • Related Links
                      • +
                      • Contributing
                        • @@ -299,12 +300,12 @@ BC AL Help . dev
                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/create-data-from-templates/index.html b/navpatterns/1-patterns/create-data-from-templates/index.html index a9602328..061494e3 100644 --- a/navpatterns/1-patterns/create-data-from-templates/index.html +++ b/navpatterns/1-patterns/create-data-from-templates/index.html @@ -4,17 +4,17 @@ -Create Data from Templates :: BC AL Help - - - - - - - - - - +Create Data from Templates :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                          @@ -32,9 +32,9 @@ BC AL Help . dev
                          - - - + + +
                        • Related Links
                        • +
                        • Contributing
                          • @@ -378,12 +379,12 @@ RecRef.SETTABLE(
                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/create-urls-to-nav-clients/index.html b/navpatterns/1-patterns/create-urls-to-nav-clients/index.html index a47a1e32..dd6bf181 100644 --- a/navpatterns/1-patterns/create-urls-to-nav-clients/index.html +++ b/navpatterns/1-patterns/create-urls-to-nav-clients/index.html @@ -4,17 +4,17 @@ -Create URLs to NAV Clients :: BC AL Help - - - - - - - - - - +Create URLs to NAV Clients :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                            @@ -32,9 +32,9 @@ BC AL Help . dev
                            - - - + + +
                          • Related Links
                          • +
                          • Contributing
                            • @@ -483,12 +484,12 @@ GETURL(CLIENTTYPE
                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/creating-custom-charts/index.html b/navpatterns/1-patterns/creating-custom-charts/index.html index e14f68c8..d3fcff29 100644 --- a/navpatterns/1-patterns/creating-custom-charts/index.html +++ b/navpatterns/1-patterns/creating-custom-charts/index.html @@ -4,17 +4,17 @@ -Creating Custom Charts :: BC AL Help - - - - - - - - - - +Creating Custom Charts :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                              @@ -32,9 +32,9 @@ BC AL Help . dev
                              - - - + + +
                            • Related Links
                            • +
                            • Contributing
                              • @@ -360,12 +361,12 @@ BC AL Help . dev
                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/cross-session-events/index.html b/navpatterns/1-patterns/cross-session-events/index.html index 1c416fe1..336c2364 100644 --- a/navpatterns/1-patterns/cross-session-events/index.html +++ b/navpatterns/1-patterns/cross-session-events/index.html @@ -4,17 +4,17 @@ -Cross Session Events :: BC AL Help - - - - - - - - - - +Cross Session Events :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                - - - + + +
                              • Related Links
                              • +
                              • Contributing
                                • @@ -345,12 +346,12 @@ BC AL Help . dev
                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/currently-active-record/index.html b/navpatterns/1-patterns/currently-active-record/index.html index 4b714700..e7249d70 100644 --- a/navpatterns/1-patterns/currently-active-record/index.html +++ b/navpatterns/1-patterns/currently-active-record/index.html @@ -4,17 +4,17 @@ -Currently Active Record :: BC AL Help - - - - - - - - - - +Currently Active Record :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                  - - - + + +
                                • Related Links
                                • +
                                • Contributing
                                  • @@ -342,12 +343,12 @@ The Pattern makes a scalable solution with a predictable performance. The perfor
                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/data-migration-facade/index.html b/navpatterns/1-patterns/data-migration-facade/index.html index 81634a69..9637c9d7 100644 --- a/navpatterns/1-patterns/data-migration-facade/index.html +++ b/navpatterns/1-patterns/data-migration-facade/index.html @@ -4,17 +4,17 @@ -Data Migration Facade :: BC AL Help - - - - - - - - - - +Data Migration Facade :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                    - - - + + +
                                  • Related Links
                                  • +
                                  • Contributing
                                    • @@ -493,12 +494,12 @@ This starts the migration. False means this is not a retry. A re-try is when you
                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/discovery-event/index.html b/navpatterns/1-patterns/discovery-event/index.html index cff8eaf5..906c57f7 100644 --- a/navpatterns/1-patterns/discovery-event/index.html +++ b/navpatterns/1-patterns/discovery-event/index.html @@ -4,17 +4,17 @@ -Discovery Event :: BC AL Help - - - - - - - - - - +Discovery Event :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                      - - - + + +
                                    • Related Links
                                    • +
                                    • Contributing
                                      • @@ -263,12 +264,12 @@ You see I can use the “sender” as a normal Record-variable. I access
                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/document/index.html b/navpatterns/1-patterns/document/index.html index bc07d305..a7b2d503 100644 --- a/navpatterns/1-patterns/document/index.html +++ b/navpatterns/1-patterns/document/index.html @@ -4,17 +4,17 @@ -Document :: BC AL Help - - - - - - - - - - +Document :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                        - - - + + +
                                      • Related Links
                                      • +
                                      • Contributing
                                        • @@ -297,12 +298,12 @@ BC AL Help . dev
                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/easy-update-of-setup-or-supplementary-information/index.html b/navpatterns/1-patterns/easy-update-of-setup-or-supplementary-information/index.html index d970941d..6c9a42f5 100644 --- a/navpatterns/1-patterns/easy-update-of-setup-or-supplementary-information/index.html +++ b/navpatterns/1-patterns/easy-update-of-setup-or-supplementary-information/index.html @@ -4,17 +4,17 @@ -Easy Update Of Setup Or Supplementary Information :: BC AL Help - - - - - - - - - - +Easy Update Of Setup Or Supplementary Information :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                          - - - + + +
                                        • Related Links
                                        • +
                                        • Contributing
                                          • @@ -275,12 +276,12 @@ Error(Field X is missing a value. Please correct it.)

                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/error-message-processing/index.html b/navpatterns/1-patterns/error-message-processing/index.html index 42bcf598..33687d27 100644 --- a/navpatterns/1-patterns/error-message-processing/index.html +++ b/navpatterns/1-patterns/error-message-processing/index.html @@ -4,17 +4,17 @@ -Error Message Processing :: BC AL Help - - - - - - - - - - +Error Message Processing :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                            - - - + + +
                                          • Related Links
                                          • +
                                          • Contributing
                                            • @@ -296,12 +297,12 @@ END ELSE
                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/extending-the-role-center-headlines/index.html b/navpatterns/1-patterns/extending-the-role-center-headlines/index.html index 9752ccc6..4b7ed832 100644 --- a/navpatterns/1-patterns/extending-the-role-center-headlines/index.html +++ b/navpatterns/1-patterns/extending-the-role-center-headlines/index.html @@ -4,17 +4,17 @@ -Extending the Role Center Headlines :: BC AL Help - - - - - - - - - - +Extending the Role Center Headlines :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                              - - - + + +
                                            • Related Links
                                            • +
                                            • Contributing
                                              • @@ -355,12 +356,12 @@ _
                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/feature-localization-for-data-structures/index.html b/navpatterns/1-patterns/feature-localization-for-data-structures/index.html index 20c18921..d0e3b82f 100644 --- a/navpatterns/1-patterns/feature-localization-for-data-structures/index.html +++ b/navpatterns/1-patterns/feature-localization-for-data-structures/index.html @@ -4,17 +4,17 @@ -Feature Localization For Data Structures :: BC AL Help - - - - - - - - - - +Feature Localization For Data Structures :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                - - - + + +
                                              • Related Links
                                              • +
                                              • Contributing
                                                • @@ -380,12 +381,12 @@ BC AL Help . dev
                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/hooks/index.html b/navpatterns/1-patterns/hooks/index.html index 01b0e91c..ca7c7cdf 100644 --- a/navpatterns/1-patterns/hooks/index.html +++ b/navpatterns/1-patterns/hooks/index.html @@ -4,17 +4,17 @@ -Hooks :: BC AL Help - - - - - - - - - - +Hooks :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                                  - - - + + +
                                                • Related Links
                                                • +
                                                • Contributing
                                                  • @@ -297,12 +298,12 @@ BC AL Help . dev
                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/implementation-of-surrogate-keys-using-autoincrement-pattern/index.html b/navpatterns/1-patterns/implementation-of-surrogate-keys-using-autoincrement-pattern/index.html index 5649e1d5..2bbce5fc 100644 --- a/navpatterns/1-patterns/implementation-of-surrogate-keys-using-autoincrement-pattern/index.html +++ b/navpatterns/1-patterns/implementation-of-surrogate-keys-using-autoincrement-pattern/index.html @@ -4,17 +4,17 @@ -Surrogate keys using Autoincrement Pattern :: BC AL Help - - - - - - - - - - +Surrogate keys using Autoincrement Pattern :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                    - - - + + +
                                                  • Related Links
                                                  • +
                                                  • Contributing
                                                    • @@ -309,12 +310,12 @@ BC AL Help . dev
                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/index.html b/navpatterns/1-patterns/index.html index 46fafa0f..44fba6f0 100644 --- a/navpatterns/1-patterns/index.html +++ b/navpatterns/1-patterns/index.html @@ -3,19 +3,19 @@ - + -1. Patterns :: BC AL Help - - - - - - - - - - +1. Patterns :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                      @@ -33,9 +33,9 @@ BC AL Help . dev
                                                      - - - + + +
                                                    • Related Links
                                                    • +
                                                    • Contributing
                                                      • @@ -215,12 +216,12 @@ BC AL Help . dev
                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/index.xml b/navpatterns/1-patterns/index.xml index c214bf86..f001f1e4 100644 --- a/navpatterns/1-patterns/index.xml +++ b/navpatterns/1-patterns/index.xml @@ -1,110 +1,110 @@ -1. Patterns on BC AL Helphttps://bcalhelp.dev/navpatterns/1-patterns/Recent content in 1. Patterns on BC AL HelpHugo -- gohugo.ioen-usBlocked Entityhttps://bcalhelp.dev/navpatterns/1-patterns/blocked-entity/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/blocked-entity/Originally by Abhishek Ghosh at Microsoft Development Center Copenhagen +1. Patterns on AL Guidelineshttps://alguidelines.dev/navpatterns/1-patterns/Recent content in 1. Patterns on AL GuidelinesHugo -- gohugo.ioen-usBlocked Entityhttps://alguidelines.dev/navpatterns/1-patterns/blocked-entity/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/blocked-entity/Originally by Abhishek Ghosh at Microsoft Development Center Copenhagen Abstract The Blocked Entity is used when it is required to stop transactions for an entity (mostly master data), temporarily or permanently. Description To block entities through metadata, read this pattern. To do the same thing through data, read Data Driven Blocked Entity pattern. -The business entity holds a state that controls if a given transaction is allowed. The state is used by the logic controlling transactions.NET Exception Handling in CALhttps://bcalhelp.dev/navpatterns/1-patterns/net-exception-handling-in-cal/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/net-exception-handling-in-cal/Originally by Mostafa Balat, Microsoft Development Center Copenhagen -Abstract When there is a need to use .NET classes within C/AL, one of the main challenges is to handle the exceptions the methods of these .NET classes may throw. Eventually, if not handled, they will basically bubble up as runtime errors, halting the current operation a user is doing without having a chance to properly display errors in a user-friendly format.Notificationshttps://bcalhelp.dev/navpatterns/1-patterns/notifications/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/notifications/A collection of patterns about notifications.Querieshttps://bcalhelp.dev/navpatterns/1-patterns/queries/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/queries/Expand to see NAV design patterns which use queries.Singletonhttps://bcalhelp.dev/navpatterns/1-patterns/singleton/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/singleton/Singleton By Bogdana Botez at Microsoft Development Center Copenhagen +The business entity holds a state that controls if a given transaction is allowed. The state is used by the logic controlling transactions.NET Exception Handling in CALhttps://alguidelines.dev/navpatterns/1-patterns/net-exception-handling-in-cal/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/net-exception-handling-in-cal/Originally by Mostafa Balat, Microsoft Development Center Copenhagen +Abstract When there is a need to use .NET classes within C/AL, one of the main challenges is to handle the exceptions the methods of these .NET classes may throw. Eventually, if not handled, they will basically bubble up as runtime errors, halting the current operation a user is doing without having a chance to properly display errors in a user-friendly format.Notificationshttps://alguidelines.dev/navpatterns/1-patterns/notifications/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/notifications/A collection of patterns about notifications.Querieshttps://alguidelines.dev/navpatterns/1-patterns/queries/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/queries/Expand to see NAV design patterns which use queries.Singletonhttps://alguidelines.dev/navpatterns/1-patterns/singleton/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/singleton/Singleton By Bogdana Botez at Microsoft Development Center Copenhagen **Context: The pattern described in this article applies to Dynamics NAV only. For the general definition of the Singleton pattern, see for example this link. ** Problem: As a C/AL developer, you need to coordinate action (through a codeunit) or store information (in a table) that is unique across the system. Forces: -Lost reference to centralizer: An instance of a relevant object could attempt to centralize control or data in the system.Activity Logshttps://bcalhelp.dev/navpatterns/1-patterns/activity-log/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/activity-log/Originally by Ciprian Iordache at Microsoft Development Center Copenhagen +Lost reference to centralizer: An instance of a relevant object could attempt to centralize control or data in the system.Activity Logshttps://alguidelines.dev/navpatterns/1-patterns/activity-log/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/activity-log/Originally by Ciprian Iordache at Microsoft Development Center Copenhagen Activity Log Abstract The Activity Log pattern tracks execution of activities. This is a Dynamics NAV specific implementation of the Audit Log pattern. Problem -In general, integrating with external systems can be very challenging, due to the complexity of the situation – connectivity issues, asynchronous operations, user errors, etc. These challenges require sometimes re-trying several times, polling the external system, re-send/re-get data as all these activities can succeed but can very well fail.Argument Tablehttps://bcalhelp.dev/navpatterns/1-patterns/argument-table/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/argument-table/Argument table pattern Originally By Nikola Kukrika and waldo +In general, integrating with external systems can be very challenging, due to the complexity of the situation – connectivity issues, asynchronous operations, user errors, etc. These challenges require sometimes re-trying several times, polling the external system, re-send/re-get data as all these activities can succeed but can very well fail.Argument Tablehttps://alguidelines.dev/navpatterns/1-patterns/argument-table/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/argument-table/Argument table pattern Originally By Nikola Kukrika and waldo Abstract The Argument Table pattern is used to provide an extension point for adding new arguments without changing the signature. By grouping multiple arguments into a table the code becomes more readable (function signature and the usage of the function). -Problem In CAL overloading function signature is not supported. It is also not possible to provide default values for the function arguments.Cached Web Server Callshttps://bcalhelp.dev/navpatterns/1-patterns/cached-web-service-calls/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/cached-web-service-calls/Originally by Mostafa Balat, Microsoft Development Center Copenhagen +Problem In CAL overloading function signature is not supported. It is also not possible to provide default values for the function arguments.Cached Web Server Callshttps://alguidelines.dev/navpatterns/1-patterns/cached-web-service-calls/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/cached-web-service-calls/Originally by Mostafa Balat, Microsoft Development Center Copenhagen Abstract In a service-oriented deployment, web services are used to extend NAV’s functionality and reach. Depending on how volatile this data is and the corresponding usage scheme, it is expected to be up-to-date within a pre-defined period of time (e.g. once a day). -Description When NAV is integrated with external services, then the user scenarios become dependent on the data and functions offered by such services.Conditional Cascading Updatehttps://bcalhelp.dev/navpatterns/1-patterns/conditional-cascading-update/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/conditional-cascading-update/_Originally by Jan Hoek at IDYN _ +Description When NAV is integrated with external services, then the user scenarios become dependent on the data and functions offered by such services.Conditional Cascading Updatehttps://alguidelines.dev/navpatterns/1-patterns/conditional-cascading-update/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/conditional-cascading-update/_Originally by Jan Hoek at IDYN _ Abstract The Conditional Cascading Update pattern is used to intelligently populate fields whose values depend on other field values. In this pattern description, the field triggering the update will be called “source field”, and the depending field will be called “target field”. -Description The value of one table field sometimes depends on the value of another field, typically following an application-defined transformation (note that we’re talking about transformations of field values here.Copy Documenthttps://bcalhelp.dev/navpatterns/1-patterns/copy-document/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/copy-document/By Bogdan Sturzoiu at Microsoft Development Center Copenhagen +Description The value of one table field sometimes depends on the value of another field, typically following an application-defined transformation (note that we’re talking about transformations of field values here.Copy Documenthttps://alguidelines.dev/navpatterns/1-patterns/copy-document/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/copy-document/By Bogdan Sturzoiu at Microsoft Development Center Copenhagen Abstract The goal of the Copy Document pattern is to create a replica of an existing open or closed document (posted or not posted), by moving the lines and, optionally, the header information from the source document to a destination document. -Description Documents are widely used by most of our customers. Many times, a significant portion of these documents are similar to each other, either by sharing the same customer, vendor, type, or line structure.Create Data from Templateshttps://bcalhelp.dev/navpatterns/1-patterns/create-data-from-templates/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/create-data-from-templates/Originally by Nikola Kukrika at Microsoft Development Center Copenhagen +Description Documents are widely used by most of our customers. Many times, a significant portion of these documents are similar to each other, either by sharing the same customer, vendor, type, or line structure.Create Data from Templateshttps://alguidelines.dev/navpatterns/1-patterns/create-data-from-templates/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/create-data-from-templates/Originally by Nikola Kukrika at Microsoft Development Center Copenhagen Abstract For many records, such as Items, Customers, and Vendors, users have to enter the same sets of data again and again. This is tedious, error-prone (users forget to enter a field or they choose the wrong group), and difficult to learn for some users. -We can group sets of data as templates to speed up and simplify the process of entering data in Microsoft Dynamics NAV.Create URLs to NAV Clientshttps://bcalhelp.dev/navpatterns/1-patterns/create-urls-to-nav-clients/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/create-urls-to-nav-clients/By Mike Borg Cardona and Bogdana Botez at Microsoft Development Center Copenhagen +We can group sets of data as templates to speed up and simplify the process of entering data in Microsoft Dynamics NAV.Create URLs to NAV Clientshttps://alguidelines.dev/navpatterns/1-patterns/create-urls-to-nav-clients/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/create-urls-to-nav-clients/By Mike Borg Cardona and Bogdana Botez at Microsoft Development Center Copenhagen Abstract This article illustrates NAV platform functionality to be used by C/AL developers. -The URL builder function, GETURL, is released in Microsoft Dynamics NAV 2013 R2 to reduce coding time for developers who need to create various URL strings to run application objects in either the win client, the web client, or on web services. In addition, the GETURL function makes multitenancy features more transparent to C/AL developers.Creating Custom Chartshttps://bcalhelp.dev/navpatterns/1-patterns/creating-custom-charts/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/creating-custom-charts/Originally by Nikola Kukrika at Microsoft Development Center Copenhagen +The URL builder function, GETURL, is released in Microsoft Dynamics NAV 2013 R2 to reduce coding time for developers who need to create various URL strings to run application objects in either the win client, the web client, or on web services. In addition, the GETURL function makes multitenancy features more transparent to C/AL developers.Creating Custom Chartshttps://alguidelines.dev/navpatterns/1-patterns/creating-custom-charts/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/creating-custom-charts/Originally by Nikola Kukrika at Microsoft Development Center Copenhagen Abstract The goal of this solution is to enable you to: -Use charts in the web client. Create charts with custom functionality. Description This pattern enables you to implement a business chart (Specific Chart type) in a way that is maintainable and reusable on other pages. This also enables you to provide specific functionality that is not possible with the Generic Chart type and it enables you to show charts in the web client.Cross Session Eventshttps://bcalhelp.dev/navpatterns/1-patterns/cross-session-events/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/cross-session-events/By Nikolai L’Estrange, from TVision Technology Ltd. in the UK +Use charts in the web client. Create charts with custom functionality. Description This pattern enables you to implement a business chart (Specific Chart type) in a way that is maintainable and reusable on other pages. This also enables you to provide specific functionality that is not possible with the Generic Chart type and it enables you to show charts in the web client.Cross Session Eventshttps://alguidelines.dev/navpatterns/1-patterns/cross-session-events/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/cross-session-events/By Nikolai L’Estrange, from TVision Technology Ltd. in the UK Abstract Track things that happen in other NAV Sessions. -Problem In Microsoft Dynamics NAV you can fire a function whenever something changes within your session (and from NAV 2016 this is even easier with the new Event model), however there is not an easy way to know what is happening in other sessions. Sometimes you would like to know what has happened since your last read, without reading everything again, e.Currently Active Recordhttps://bcalhelp.dev/navpatterns/1-patterns/currently-active-record/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/currently-active-record/Authors: Henrik Langbak and Kim Ginnerup, Bording Data +Problem In Microsoft Dynamics NAV you can fire a function whenever something changes within your session (and from NAV 2016 this is even easier with the new Event model), however there is not an easy way to know what is happening in other sessions. Sometimes you would like to know what has happened since your last read, without reading everything again, e.Currently Active Recordhttps://alguidelines.dev/navpatterns/1-patterns/currently-active-record/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/currently-active-record/Authors: Henrik Langbak and Kim Ginnerup, Bording Data Abstract Date controlled data is expensive to find in the database. This pattern describes how using a view with a sub-select and a linked table object will minimize the returned dataset. A side effect is reduced and simplified code, increased performance and a more scalable solution that is almost independent of the amount of records in the table. -Description There is no way in NAV to get a set of records from the database, which all have the newest starting date, that is less than or equal to today’s date.Data Migration Facadehttps://bcalhelp.dev/navpatterns/1-patterns/data-migration-facade/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/data-migration-facade/Data Migration Façade By David Bastide and Soumya Dutta at Microsoft Development Center Copenhagen +Description There is no way in NAV to get a set of records from the database, which all have the newest starting date, that is less than or equal to today’s date.Data Migration Facadehttps://alguidelines.dev/navpatterns/1-patterns/data-migration-facade/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/data-migration-facade/Data Migration Façade By David Bastide and Soumya Dutta at Microsoft Development Center Copenhagen Context: This pattern is describing how you can migrate data using the Data Migration Façade. -Problem: Writing migration code from an external source, such as a product from a competitor, can be time consuming, as you need to tackle the problems of what to migrate, in which order, exception handling… and can result in code that is fragile due to deep dependencies on the NAV data model (high coupling).Discovery Eventhttps://bcalhelp.dev/navpatterns/1-patterns/discovery-event/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/discovery-event/by waldo +Problem: Writing migration code from an external source, such as a product from a competitor, can be time consuming, as you need to tackle the problems of what to migrate, in which order, exception handling… and can result in code that is fragile due to deep dependencies on the NAV data model (high coupling).Discovery Eventhttps://alguidelines.dev/navpatterns/1-patterns/discovery-event/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/discovery-event/by waldo Abstract The “Discovery Event” pattern is a way for a generic functionality, to call out to other functionalities that want to make use of it, by raising an event, so that they have an event to subscribe to. This is usually done to set itself up within the generic app. -The problem Let’s suppose you have a generic piece of functionality, that hooks into lots of places (modules) in your application.Documenthttps://bcalhelp.dev/navpatterns/1-patterns/document/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/document/By Xavier Garonnat, knk Ingénierie (France), xgaronnat@knk.fr +The problem Let’s suppose you have a generic piece of functionality, that hooks into lots of places (modules) in your application.Documenthttps://alguidelines.dev/navpatterns/1-patterns/document/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/document/By Xavier Garonnat, knk Ingénierie (France), xgaronnat@knk.fr Abstract A document structure contains a header and a set of lines. Each line is linked to the header and could have common data with header. -Description This pattern should be used as a basis to build any document, showing a header and multiple lines in the same page. Basically, a document is at least composed of two tables and three pages, as shown below:Easy Update Of Setup Or Supplementary Informationhttps://bcalhelp.dev/navpatterns/1-patterns/easy-update-of-setup-or-supplementary-information/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/easy-update-of-setup-or-supplementary-information/Originally by Anders Larsen at Microsoft Development Center Copenhagen +Description This pattern should be used as a basis to build any document, showing a header and multiple lines in the same page. Basically, a document is at least composed of two tables and three pages, as shown below:Easy Update Of Setup Or Supplementary Informationhttps://alguidelines.dev/navpatterns/1-patterns/easy-update-of-setup-or-supplementary-information/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/easy-update-of-setup-or-supplementary-information/Originally by Anders Larsen at Microsoft Development Center Copenhagen Abstract Users or the administrator must regularly update setup or supplementary information in the day-to-day business, such as setting up a new type of customer. This setup task often arrives when their focus is on registration and execution instead of setup. -The navigation experience around these extra steps is often quite troublesome and time-consuming. To enable users to easily perform the needed update, a guide often gives the best support.Error Message Processinghttps://bcalhelp.dev/navpatterns/1-patterns/error-message-processing/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/error-message-processing/By Jesper Schulz at Microsoft Development Center Copenhagen +The navigation experience around these extra steps is often quite troublesome and time-consuming. To enable users to easily perform the needed update, a guide often gives the best support.Error Message Processinghttps://alguidelines.dev/navpatterns/1-patterns/error-message-processing/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/error-message-processing/By Jesper Schulz at Microsoft Development Center Copenhagen Note: This pattern describes new functionality which makes it possible to generalize the Journal Error Processing pattern. -Abstract Missing, invalid or incomplete data is a common issue during data processing in NAV. This article describes how to collect all error messages during processing using the error message component and present them to the user in a unified way, which enables the user to correct the errors efficiently.Extending the Role Center Headlineshttps://bcalhelp.dev/navpatterns/1-patterns/extending-the-role-center-headlines/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/extending-the-role-center-headlines/By David Bastide at Microsoft Development Center Copenhagen +Abstract Missing, invalid or incomplete data is a common issue during data processing in NAV. This article describes how to collect all error messages during processing using the error message component and present them to the user in a unified way, which enables the user to correct the errors efficiently.Extending the Role Center Headlineshttps://alguidelines.dev/navpatterns/1-patterns/extending-the-role-center-headlines/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/extending-the-role-center-headlines/By David Bastide at Microsoft Development Center Copenhagen __ __ Context Headlines are designed as a page of type HeadlinePart containing at least one text field. The part is added to the top of Role Center pages. This document provides an elegant and extensible pattern about how to extend the Role Center headlines to add your own business headlines based on your data, and display them only if relevant. -Description The Dynamics 365 Business Central release (April 2018) introduces a new HeadlinePart page type.Feature Localization For Data Structureshttps://bcalhelp.dev/navpatterns/1-patterns/feature-localization-for-data-structures/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/feature-localization-for-data-structures/Originally by Bogdan Sturzoiu at Microsoft Development Center Copenhagen +Description The Dynamics 365 Business Central release (April 2018) introduces a new HeadlinePart page type.Feature Localization For Data Structureshttps://alguidelines.dev/navpatterns/1-patterns/feature-localization-for-data-structures/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/feature-localization-for-data-structures/Originally by Bogdan Sturzoiu at Microsoft Development Center Copenhagen Abstract This pattern shows a solution for integrating W1 features to pre-existing country features that use different tables to achieve similar functionality. -Description It sometimes happens that certain features are requested in a NAV-supported country, but they are not initially considered generic enough to be included in the W1 build. This is how local features, such as Subcontracting in Italy and India, were created or specific banking and payments functionality in Italy, France, Spain, and others.Hookshttps://bcalhelp.dev/navpatterns/1-patterns/hooks/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/hooks/By Eric Wauters (waldo), Partner-Ready-Software +Description It sometimes happens that certain features are requested in a NAV-supported country, but they are not initially considered generic enough to be included in the W1 build. This is how local features, such as Subcontracting in Italy and India, were created or specific banking and payments functionality in Italy, France, Spain, and others.Hookshttps://alguidelines.dev/navpatterns/1-patterns/hooks/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/hooks/By Eric Wauters (waldo), Partner-Ready-Software Abstract As a partner, adding new code to NAV means interfering with code shipped by Microsoft. Minimize your footprint of changes in Microsoft code, so that, when a new NAV version is shipped, you avoid conflicts and upgrade impact. The core NAV code is the “danger zone” - the less you touch it, the happier your upgrade will be. Description -When doing development over years, by different developers with different mindsets, the standard codebase gets changed a lot, adding multiple lines of code, adding local and global variants, adding or changing keys, changing existing business logic, … .Surrogate keys using Autoincrement Patternhttps://bcalhelp.dev/navpatterns/1-patterns/implementation-of-surrogate-keys-using-autoincrement-pattern/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/implementation-of-surrogate-keys-using-autoincrement-pattern/By Soren Klemmensen, Partner-Ready-Software & 360 Visibility +When doing development over years, by different developers with different mindsets, the standard codebase gets changed a lot, adding multiple lines of code, adding local and global variants, adding or changing keys, changing existing business logic, … .Surrogate keys using Autoincrement Patternhttps://alguidelines.dev/navpatterns/1-patterns/implementation-of-surrogate-keys-using-autoincrement-pattern/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/implementation-of-surrogate-keys-using-autoincrement-pattern/By Soren Klemmensen, Partner-Ready-Software & 360 Visibility Abstract This Pattern is meant to create generic & reusable links between tables. The goal is to have an easy generic way to link a generically designed sub table to a record on a main table which can be used for other links too. -To minimize the impact of customizations and to keep modules as generic and reusable as possible the idea of the Implementation of surrogate keys using AutoIncrement pattern is:Instructions in the UIhttps://bcalhelp.dev/navpatterns/1-patterns/instructions-in-the-ui/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/instructions-in-the-ui/Originally by Nikola Kukrika at Microsoft Development Center Copenhagen +To minimize the impact of customizations and to keep modules as generic and reusable as possible the idea of the Implementation of surrogate keys using AutoIncrement pattern is:Instructions in the UIhttps://alguidelines.dev/navpatterns/1-patterns/instructions-in-the-ui/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/instructions-in-the-ui/Originally by Nikola Kukrika at Microsoft Development Center Copenhagen Abstract To mitigate usability problems with learnability or discoverability of NAV functionality, it is possible to embed instructions in the UI in connection with the task that the user is performing. The goal is to explain how to use the product or feature without impairing the user’s productivity after user has learned how to use a feature. -Description Users must often go through a few days of training to learn how to use NAV, and even then, many users rely on super users to help them mitigate difficulties using NAV.Integration of Addresseshttps://bcalhelp.dev/navpatterns/1-patterns/integration-of-addresses/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/integration-of-addresses/watch?v=60Wrx9N gfY&list=PLhZ3P LY7CqmVszuvtJLujFyHpsVN0Uw&index=19Journal Error Processinghttps://bcalhelp.dev/navpatterns/1-patterns/journal-error-processing/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/journal-error-processing/Originally by Bogdana Botez at Microsoft Development Center Copenhagen +Description Users must often go through a few days of training to learn how to use NAV, and even then, many users rely on super users to help them mitigate difficulties using NAV.Integration of Addresseshttps://alguidelines.dev/navpatterns/1-patterns/integration-of-addresses/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/integration-of-addresses/watch?v=60Wrx9N gfY&list=PLhZ3P LY7CqmVszuvtJLujFyHpsVN0Uw&index=19Journal Error Processinghttps://alguidelines.dev/navpatterns/1-patterns/journal-error-processing/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/journal-error-processing/Originally by Bogdana Botez at Microsoft Development Center Copenhagen Abstract This pattern describes an optimized way to handle invalid, incomplete, or inconsistent data that users enter in journals. -Description Scenario: A user has entered data on a journal line and proceeds to invoke a processing action on it, such as posting or exporting to electronic payments. NAV validates the data before it is committed. If any validation errors are found, the user must be informed of validation errors in the most optimal way.Journal Template Batch Linehttps://bcalhelp.dev/navpatterns/1-patterns/journal-template-batch-line/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/journal-template-batch-line/Originally by Bogdana Botez at Microsoft Development Center Copenhagen +Description Scenario: A user has entered data on a journal line and proceeds to invoke a processing action on it, such as posting or exporting to electronic payments. NAV validates the data before it is committed. If any validation errors are found, the user must be informed of validation errors in the most optimal way.Journal Template Batch Linehttps://alguidelines.dev/navpatterns/1-patterns/journal-template-batch-line/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/journal-template-batch-line/Originally by Bogdana Botez at Microsoft Development Center Copenhagen Abstract The role of a journal line is to temporarily hold transaction data until the transaction is posted. Before posting, the entries are in a draft state, which means that they are available for corrections and/or deletion. As soon as the entries are posted, they are converted to ledger entries. -Journal templates are used to specify the underlying journal structure and to provide the default information for the journal batches.Master Datahttps://bcalhelp.dev/navpatterns/1-patterns/master-data/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/master-data/By Soren Klemmensen, Partner-Ready-Software & 360 Visibility +Journal templates are used to specify the underlying journal structure and to provide the default information for the journal batches.Master Datahttps://alguidelines.dev/navpatterns/1-patterns/master-data/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/master-data/By Soren Klemmensen, Partner-Ready-Software & 360 Visibility Abstract The goal of this design pattern is to outline a standard way of creating master data, such as customers, vendors or items, in NAV. Description This pattern creates a standard master data entity, listing all necessary prerequisites, attributes and methods to generate a basic version of the data entity. -It is being used for creating a master data entity and can roughly be divided into 2 categories: Business and ProductMulti-file Downloadhttps://bcalhelp.dev/navpatterns/1-patterns/multi-file-download/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/multi-file-download/By Martin Dam at Microsoft Development Center Copenhagen Abstract The goal of this pattern is to enable the users to download multiple files as a zip file instead of downloading one by one. On the Web Client this is preferred way of delivering multiple files since it is one of the web patterns and we cannot use File Management code unit to place files silently on the machine. -Description When generating reports that consists of multiple, and usually an unknown number of files, the developer will have to handle the download which also depends on the client the user is on.Multi-Page Listhttps://bcalhelp.dev/navpatterns/1-patterns/multi-page-list/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/multi-page-list/By Bogdana Botez at Microsoft Development Center Copenhagen +It is being used for creating a master data entity and can roughly be divided into 2 categories: Business and ProductMulti-file Downloadhttps://alguidelines.dev/navpatterns/1-patterns/multi-file-download/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/multi-file-download/By Martin Dam at Microsoft Development Center Copenhagen Abstract The goal of this pattern is to enable the users to download multiple files as a zip file instead of downloading one by one. On the Web Client this is preferred way of delivering multiple files since it is one of the web patterns and we cannot use File Management code unit to place files silently on the machine. +Description When generating reports that consists of multiple, and usually an unknown number of files, the developer will have to handle the download which also depends on the client the user is on.Multi-Page Listhttps://alguidelines.dev/navpatterns/1-patterns/multi-page-list/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/multi-page-list/By Bogdana Botez at Microsoft Development Center Copenhagen __ Abstract This pattern describes how to open a related document (or card) page from a list page, for the case when there can be more than one pages associated to the rows of the list page. -Description The example below illustrates the connection of a List Page with multiple Document Pages, while the second example links the List Page with Card Pages.Multilanguage Application Datahttps://bcalhelp.dev/navpatterns/1-patterns/multilanguage-application-data/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/multilanguage-application-data/Originally by Bogdana Botez at Microsoft Development Center Copenhagen +Description The example below illustrates the connection of a List Page with multiple Document Pages, while the second example links the List Page with Card Pages.Multilanguage Application Datahttps://alguidelines.dev/navpatterns/1-patterns/multilanguage-application-data/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/multilanguage-application-data/Originally by Bogdana Botez at Microsoft Development Center Copenhagen Abstract Generally, NAV translation refers to the translation of UI elements like captions and user texts (messages on dialogs, warnings, error messages). This translation is done by the Microsoft Dynamics NAV team before releasing the localized version of the product. -But there is one more scenario. In this scenario, Cronus International Ltd., wants to sell a “Fiets” to a Dutch customer, a"Cykel" to a Danish one, and a “Bicicletta” to an Italian customer.No Serieshttps://bcalhelp.dev/navpatterns/1-patterns/no-series/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/no-series/By Bogdana Botez, at Microsoft Development Center Copenhagen +But there is one more scenario. In this scenario, Cronus International Ltd., wants to sell a “Fiets” to a Dutch customer, a"Cykel" to a Danish one, and a “Bicicletta” to an Italian customer.No Serieshttps://alguidelines.dev/navpatterns/1-patterns/no-series/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/no-series/By Bogdana Botez, at Microsoft Development Center Copenhagen Abstract Number series assignment is widely used in Microsoft Dynamics NAV to automatically assign unique numbers to data entries. -Description Documents and entities of any type (invoices, orders, customers, inventory items etc) are usually assigned an unique number, which can be later referenced whenever that particular entry needs to be consulted. When a new data entry is created, NAV implements the possibility to auto-assign a new number for this entry.Observerhttps://bcalhelp.dev/navpatterns/1-patterns/observer/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/observer/By Nikolai L’Estrange, from TVision Technology Ltd. in the UK_ _ +Description Documents and entities of any type (invoices, orders, customers, inventory items etc) are usually assigned an unique number, which can be later referenced whenever that particular entry needs to be consulted. When a new data entry is created, NAV implements the possibility to auto-assign a new number for this entry.Observerhttps://alguidelines.dev/navpatterns/1-patterns/observer/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/observer/By Nikolai L’Estrange, from TVision Technology Ltd. in the UK_ _ Abstract Track all record changes against a defined table or set of tables. Problem Microsoft Dynamics NAV has the built in ability to track all record changes against any table, however it does not always fire the triggers for every table. -Solution Create a setup table to define which other tables you want to track changes for, and optionally what triggers you want to fire, then link this up to the standard triggers in Codeunit 1.Posting Routine - Select Behaviorhttps://bcalhelp.dev/navpatterns/1-patterns/posting-routine-select-behavior/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/posting-routine-select-behavior/By waldo +Solution Create a setup table to define which other tables you want to track changes for, and optionally what triggers you want to fire, then link this up to the standard triggers in Codeunit 1.Posting Routine - Select Behaviorhttps://alguidelines.dev/navpatterns/1-patterns/posting-routine-select-behavior/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/posting-routine-select-behavior/By waldo Abstract Send information (parameters) to a processing framework/routine so that it knows what to do, how to behave. -Description For a processing routine to behave correctly, it needs sometimes input of a user to know what it has to do, check or avoid doing. To do this, usually a piece of UI is getting called (STRMENU) with the question what to do. These input needs to get to the routine.Product Namehttps://bcalhelp.dev/navpatterns/1-patterns/product-name/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/product-name/Abstract On many occasions, it’s needed to refer to the product name in messages or errors. It’s not a good practice to hardcode the brand name like Dynamics NAV 2017, and change this value with each rebranding. You can use client ProductName System Object instead to refer to the product name. -Problem When you want to refer to product name in informational messages or errors, it’s not a good practice to hardcode the brand name, as this requires changing this text when a rebranding happens.Read-once Initialization and Validationhttps://bcalhelp.dev/navpatterns/1-patterns/read-once-initialization-and-validation/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/read-once-initialization-and-validation/By Tim Grant** +Description For a processing routine to behave correctly, it needs sometimes input of a user to know what it has to do, check or avoid doing. To do this, usually a piece of UI is getting called (STRMENU) with the question what to do. These input needs to get to the routine.Product Namehttps://alguidelines.dev/navpatterns/1-patterns/product-name/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/product-name/Abstract On many occasions, it’s needed to refer to the product name in messages or errors. It’s not a good practice to hardcode the brand name like Dynamics NAV 2017, and change this value with each rebranding. You can use client ProductName System Object instead to refer to the product name. +Problem When you want to refer to product name in informational messages or errors, it’s not a good practice to hardcode the brand name, as this requires changing this text when a rebranding happens.Read-once Initialization and Validationhttps://alguidelines.dev/navpatterns/1-patterns/read-once-initialization-and-validation/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/read-once-initialization-and-validation/By Tim Grant** ** Abstract One time query and validation of a setup table. Description Firstly identifies if a setup table record is in memory, removing the need to execute and validate the re-query again within a code unit. (From NAV 2013+ service tier database caching exists). -If you need to query a setup table, but not sure if the table is yet in memory from earlier code, this helps to determine this call (see Singleton Table pattern).Released Entityhttps://bcalhelp.dev/navpatterns/1-patterns/released-entity/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/released-entity/Authors: Henrik Langbak and Kim Ginnerup, Bording Data +If you need to query a setup table, but not sure if the table is yet in memory from earlier code, this helps to determine this call (see Singleton Table pattern).Released Entityhttps://alguidelines.dev/navpatterns/1-patterns/released-entity/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/released-entity/Authors: Henrik Langbak and Kim Ginnerup, Bording Data Abstract This pattern prevent data from being used elsewhere before it is in a system consistent state. NAV inserts a record as soon as the primary key has been set. But the record may not be in a valid state at this point in time. How do you know if a newly inserted record is ready for use? -Description Whenever you need to stall the release of data, you can use this pattern.Report Selectionhttps://bcalhelp.dev/navpatterns/1-patterns/report-selection/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/report-selection/From the PRS workshop at NAVTechDays 2013, this pattern was written by 2 work groups +Description Whenever you need to stall the release of data, you can use this pattern.Report Selectionhttps://alguidelines.dev/navpatterns/1-patterns/report-selection/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/report-selection/From the PRS workshop at NAVTechDays 2013, this pattern was written by 2 work groups Group 1: Dale Gauci & Kimberly Congleton Group 2: Jens Winberg, Tim Grant, Alen Tot Thanks to Tim Grant who had merged the two patterns, corrected, sent for review and finalized them. -Meet the Pattern It should be possible to change which document report object should be used when printing. This configuration can be stored in one place (Report Selection) and available at configuration time.Securityhttps://bcalhelp.dev/navpatterns/1-patterns/security/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/security/**Security patterns for NAV ** +Meet the Pattern It should be possible to change which document report object should be used when printing. This configuration can be stored in one place (Report Selection) and available at configuration time.Securityhttps://alguidelines.dev/navpatterns/1-patterns/security/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/security/**Security patterns for NAV ** By Bogdana Botez at Microsoft Development Center Copenhagen **** Problem statement When sensitive data is stored inside the Dynamics NAV database, if negligently handled, it can become vulnerable. Particularly, the location, access and the state of the data are critical. Use the following patterns to enhance security on your NAV system. -Sensitive Data Encapsulation Data Encryption Single Point of Access Masked Text SSL in NAVSetup Specificity Fallbackhttps://bcalhelp.dev/navpatterns/1-patterns/setup-specificity-fallback/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/setup-specificity-fallback/By Jan Hoek at IDYN +Sensitive Data Encapsulation Data Encryption Single Point of Access Masked Text SSL in NAVSetup Specificity Fallbackhttps://alguidelines.dev/navpatterns/1-patterns/setup-specificity-fallback/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/setup-specificity-fallback/By Jan Hoek at IDYN Abstract The Setup Specificity Fallback pattern allows users to efficiently define a potentially complex setup in terms of rules and exceptions to these rules, exceptions to the exceptions, etc. **Description ** -The pattern involves a setup table with a compound (i.e. consisting of more than one field) primary key, where each record in the table maps a combination of primary key values to a particular setup value.Silent File Upload and Downloadhttps://bcalhelp.dev/navpatterns/1-patterns/silent-file-upload-and-download/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/silent-file-upload-and-download/By Bogdana Botez, at Microsoft Development Center Copenhagen +The pattern involves a setup table with a compound (i.e. consisting of more than one field) primary key, where each record in the table maps a combination of primary key values to a particular setup value.Silent File Upload and Downloadhttps://alguidelines.dev/navpatterns/1-patterns/silent-file-upload-and-download/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/silent-file-upload-and-download/By Bogdana Botez, at Microsoft Development Center Copenhagen Abstract This pattern is about silently handing file transfers between NAV Service Tier and the NAV client. By “silently” we mean: without showing a dialog box at upload or download time. Description As a terminology clarification [1], note that both “upload” and “download” are named as seen from the client’s point of view: -Download" defines transferring a file from the server to the client.Standard Journalhttps://bcalhelp.dev/navpatterns/1-patterns/standard-journal/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/standard-journal/By Bogdana Botez, at Microsoft Development Center Copenhagen +Download" defines transferring a file from the server to the client.Standard Journalhttps://alguidelines.dev/navpatterns/1-patterns/standard-journal/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/standard-journal/By Bogdana Botez, at Microsoft Development Center Copenhagen Meet the Standard Journal pattern, which gives the NAV user the advantage of storing transaction details and reusing them multiple times at later dates. For example, this is how to pay a monthly bill. -Abstract If the journal data can be reused later, the user has the possibility to save the current temporary transaction details. One example can be the case of monthly electricity payments.Temporary Dataset Reporthttps://bcalhelp.dev/navpatterns/1-patterns/temporary-dataset-report/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/temporary-dataset-report/Originally by Abhishek Ghosh, at Microsoft Development Center Copenhagen +Abstract If the journal data can be reused later, the user has the possibility to save the current temporary transaction details. One example can be the case of monthly electricity payments.Temporary Dataset Reporthttps://alguidelines.dev/navpatterns/1-patterns/temporary-dataset-report/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/temporary-dataset-report/Originally by Abhishek Ghosh, at Microsoft Development Center Copenhagen Abstract This pattern generates the data to be displayed dynamically by combing/processing several data sources. It then displays the resulting dataset without writing to the database. Description While writing reports in NAV, we have the luxury of using a built-in iterator. So, once we define the dataitem and the ordering, the runtime takes care of the iteration. -The iterator has one shortcoming: It can only run through records written into the database.Totals and Discounts on Subpages Sales and Purchaseshttps://bcalhelp.dev/navpatterns/1-patterns/totals-and-discounts-on-subpages-sales-and-purchases/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/totals-and-discounts-on-subpages-sales-and-purchases/By Nikola Kukrika at Microsoft Development Center Copenhagen +The iterator has one shortcoming: It can only run through records written into the database.Totals and Discounts on Subpages Sales and Purchaseshttps://alguidelines.dev/navpatterns/1-patterns/totals-and-discounts-on-subpages-sales-and-purchases/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/totals-and-discounts-on-subpages-sales-and-purchases/By Nikola Kukrika at Microsoft Development Center Copenhagen Abstract To increase discoverability and productivity, critical information, such as statistics, can be moved from separate pages onto the document where it is needed. -For example, documents should clearly display totals and discounts information to provide quick overview, make it easy to relate the amounts to the document currency, and to allow the user to see and apply discounts directly on the document.Transfer Custom Fieldshttps://bcalhelp.dev/navpatterns/1-patterns/transfer-custom-fields/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/transfer-custom-fields/watch?v=cGaBqwfGCws&list=PLhZ3P LY7CqmVszuvtJLujFyHpsVN0Uw&index=9Variant Facadehttps://bcalhelp.dev/navpatterns/1-patterns/variant-facade/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/variant-facade/Variant Façade By Nikola Kukrika, waldo and Gary Winter +For example, documents should clearly display totals and discounts information to provide quick overview, make it easy to relate the amounts to the document currency, and to allow the user to see and apply discounts directly on the document.Transfer Custom Fieldshttps://alguidelines.dev/navpatterns/1-patterns/transfer-custom-fields/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/transfer-custom-fields/watch?v=cGaBqwfGCws&list=PLhZ3P LY7CqmVszuvtJLujFyHpsVN0Uw&index=9Variant Facadehttps://alguidelines.dev/navpatterns/1-patterns/variant-facade/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/variant-facade/Variant Façade By Nikola Kukrika, waldo and Gary Winter Abstract The Variant façade provides a single interface that can take any Record, RecordRef or RecordID as an argument. With this pattern the code is encapsulated within the single object, with clear separation between common and table specific code. Problem Since NAV is strongly typed, developers often need to duplicate functionality in order to add support for a new table. \ No newline at end of file diff --git a/navpatterns/1-patterns/instructions-in-the-ui/index.html b/navpatterns/1-patterns/instructions-in-the-ui/index.html index 8ab61e35..658dc537 100644 --- a/navpatterns/1-patterns/instructions-in-the-ui/index.html +++ b/navpatterns/1-patterns/instructions-in-the-ui/index.html @@ -4,17 +4,17 @@ -Instructions in the UI :: BC AL Help - - - - - - - - - - +Instructions in the UI :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                                        - - - + + +
                                                      • Related Links
                                                      • +
                                                      • Contributing
                                                        • @@ -310,12 +311,12 @@ BC AL Help . dev
                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/integration-of-addresses/index.html b/navpatterns/1-patterns/integration-of-addresses/index.html index e3687a9c..270c6b97 100644 --- a/navpatterns/1-patterns/integration-of-addresses/index.html +++ b/navpatterns/1-patterns/integration-of-addresses/index.html @@ -4,17 +4,17 @@ -Integration of Addresses :: BC AL Help - - - - - - - - - - +Integration of Addresses :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                                          - - - + + +
                                                        • Related Links
                                                        • +
                                                        • Contributing
                                                          • @@ -219,12 +220,12 @@ BC AL Help . dev
                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/journal-error-processing/index.html b/navpatterns/1-patterns/journal-error-processing/index.html index 4e203183..f7d89c43 100644 --- a/navpatterns/1-patterns/journal-error-processing/index.html +++ b/navpatterns/1-patterns/journal-error-processing/index.html @@ -4,17 +4,17 @@ -Journal Error Processing :: BC AL Help - - - - - - - - - - +Journal Error Processing :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                            - - - + + +
                                                          • Related Links
                                                          • +
                                                          • Contributing
                                                            • @@ -343,12 +344,12 @@ BC AL Help . dev
                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/journal-template-batch-line/index.html b/navpatterns/1-patterns/journal-template-batch-line/index.html index 4a01d88e..f26c3863 100644 --- a/navpatterns/1-patterns/journal-template-batch-line/index.html +++ b/navpatterns/1-patterns/journal-template-batch-line/index.html @@ -4,17 +4,17 @@ -Journal Template Batch Line :: BC AL Help - - - - - - - - - - +Journal Template Batch Line :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                                              - - - + + +
                                                            • Related Links
                                                            • +
                                                            • Contributing
                                                              • @@ -359,12 +360,12 @@ BC AL Help . dev
                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/master-data/index.html b/navpatterns/1-patterns/master-data/index.html index f51ee24e..98fc5c18 100644 --- a/navpatterns/1-patterns/master-data/index.html +++ b/navpatterns/1-patterns/master-data/index.html @@ -4,17 +4,17 @@ -Master Data :: BC AL Help - - - - - - - - - - +Master Data :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                - - - + + +
                                                              • Related Links
                                                              • +
                                                              • Contributing
                                                                • @@ -306,12 +307,12 @@ BC AL Help . dev
                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/multi-file-download/index.html b/navpatterns/1-patterns/multi-file-download/index.html index bd5b4124..3d1c1795 100644 --- a/navpatterns/1-patterns/multi-file-download/index.html +++ b/navpatterns/1-patterns/multi-file-download/index.html @@ -4,17 +4,17 @@ -Multi-file Download :: BC AL Help - - - - - - - - - - +Multi-file Download :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                  - - - + + +
                                                                • Related Links
                                                                • +
                                                                • Contributing
                                                                  • @@ -297,12 +298,12 @@ FileMgt.GetExtension(FileName));
                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/multi-page-list/index.html b/navpatterns/1-patterns/multi-page-list/index.html index 93ee295a..ace6a201 100644 --- a/navpatterns/1-patterns/multi-page-list/index.html +++ b/navpatterns/1-patterns/multi-page-list/index.html @@ -4,17 +4,17 @@ -Multi-Page List :: BC AL Help - - - - - - - - - - +Multi-Page List :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                    - - - + + +
                                                                  • Related Links
                                                                  • +
                                                                  • Contributing
                                                                    • @@ -293,12 +294,12 @@ BC AL Help . dev
                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/multilanguage-application-data/index.html b/navpatterns/1-patterns/multilanguage-application-data/index.html index d3d2bd31..ffcf4f9e 100644 --- a/navpatterns/1-patterns/multilanguage-application-data/index.html +++ b/navpatterns/1-patterns/multilanguage-application-data/index.html @@ -4,17 +4,17 @@ -Multilanguage Application Data :: BC AL Help - - - - - - - - - - +Multilanguage Application Data :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                      - - - + + +
                                                                    • Related Links
                                                                    • +
                                                                    • Contributing
                                                                      • @@ -288,12 +289,12 @@ All document types are affected.

                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/net-exception-handling-in-cal/index.html b/navpatterns/1-patterns/net-exception-handling-in-cal/index.html index 240f2c7d..a41c41a6 100644 --- a/navpatterns/1-patterns/net-exception-handling-in-cal/index.html +++ b/navpatterns/1-patterns/net-exception-handling-in-cal/index.html @@ -3,19 +3,19 @@ - + -NET Exception Handling in CAL :: BC AL Help - - - - - - - - - - +NET Exception Handling in CAL :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                        @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                        - - - + + +
                                                                      • Related Links
                                                                      • +
                                                                      • Contributing
                                                                        • @@ -381,12 +382,12 @@ END.
                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/net-exception-handling-in-cal/index.xml b/navpatterns/1-patterns/net-exception-handling-in-cal/index.xml index d065e86f..b2ae1170 100644 --- a/navpatterns/1-patterns/net-exception-handling-in-cal/index.xml +++ b/navpatterns/1-patterns/net-exception-handling-in-cal/index.xml @@ -1,2 +1,2 @@ -NET Exception Handling in CAL on BC AL Helphttps://bcalhelp.dev/navpatterns/1-patterns/net-exception-handling-in-cal/Recent content in NET Exception Handling in CAL on BC AL HelpHugo -- gohugo.ioen-usTryFunction NET Exception Handling in CALhttps://bcalhelp.dev/navpatterns/1-patterns/net-exception-handling-in-cal/tryfunction-net-exception-handling-in-cal/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/net-exception-handling-in-cal/tryfunction-net-exception-handling-in-cal/Originally by Mostafa Balat, Microsoft Development Center Copenhagen +NET Exception Handling in CAL on AL Guidelineshttps://alguidelines.dev/navpatterns/1-patterns/net-exception-handling-in-cal/Recent content in NET Exception Handling in CAL on AL GuidelinesHugo -- gohugo.ioen-usTryFunction NET Exception Handling in CALhttps://alguidelines.dev/navpatterns/1-patterns/net-exception-handling-in-cal/tryfunction-net-exception-handling-in-cal/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/net-exception-handling-in-cal/tryfunction-net-exception-handling-in-cal/Originally by Mostafa Balat, Microsoft Development Center Copenhagen Abstract When there is a need to use .NET classes within C/AL, one of the main challenges is to handle the exceptions the methods of these .NET classes may throw. Eventually, if not handled, they will basically bubble up as runtime errors, halting the current operation a user is doing without having a chance to properly display errors in a user-friendly format. \ No newline at end of file diff --git a/navpatterns/1-patterns/net-exception-handling-in-cal/tryfunction-net-exception-handling-in-cal/index.html b/navpatterns/1-patterns/net-exception-handling-in-cal/tryfunction-net-exception-handling-in-cal/index.html index d9ecb745..f38d9e7f 100644 --- a/navpatterns/1-patterns/net-exception-handling-in-cal/tryfunction-net-exception-handling-in-cal/index.html +++ b/navpatterns/1-patterns/net-exception-handling-in-cal/tryfunction-net-exception-handling-in-cal/index.html @@ -4,17 +4,17 @@ -TryFunction NET Exception Handling in CAL :: BC AL Help - - - - - - - - - - +TryFunction NET Exception Handling in CAL :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                          - - - + + +
                                                                        • Related Links
                                                                        • +
                                                                        • Contributing
                                                                          • @@ -393,12 +394,12 @@ END.
                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/no-series/index.html b/navpatterns/1-patterns/no-series/index.html index c86515b4..c5465984 100644 --- a/navpatterns/1-patterns/no-series/index.html +++ b/navpatterns/1-patterns/no-series/index.html @@ -4,17 +4,17 @@ -No Series :: BC AL Help - - - - - - - - - - +No Series :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                            - - - + + +
                                                                          • Related Links
                                                                          • +
                                                                          • Contributing
                                                                            • @@ -375,12 +376,12 @@ BEGIN

                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/notifications/in-context-notifications/index.html b/navpatterns/1-patterns/notifications/in-context-notifications/index.html index 3b1784ce..0530232b 100644 --- a/navpatterns/1-patterns/notifications/in-context-notifications/index.html +++ b/navpatterns/1-patterns/notifications/in-context-notifications/index.html @@ -4,17 +4,17 @@ -In-context Notifications :: BC AL Help - - - - - - - - - - +In-context Notifications :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                              - - - + + +
                                                                            • Related Links
                                                                            • +
                                                                            • Contributing
                                                                              • @@ -366,12 +367,12 @@ BC AL Help . dev
                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/notifications/index.html b/navpatterns/1-patterns/notifications/index.html index 32e8b0dd..bb05f78e 100644 --- a/navpatterns/1-patterns/notifications/index.html +++ b/navpatterns/1-patterns/notifications/index.html @@ -3,19 +3,19 @@ - + -Notifications :: BC AL Help - - - - - - - - - - +Notifications :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                - - - + + +
                                                                              • Related Links
                                                                              • +
                                                                              • Contributing
                                                                                • @@ -220,12 +221,12 @@ BC AL Help . dev
                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/notifications/index.xml b/navpatterns/1-patterns/notifications/index.xml index a2775916..468a71b7 100644 --- a/navpatterns/1-patterns/notifications/index.xml +++ b/navpatterns/1-patterns/notifications/index.xml @@ -1,6 +1,6 @@ -Notifications on BC AL Helphttps://bcalhelp.dev/navpatterns/1-patterns/notifications/Recent content in Notifications on BC AL HelpHugo -- gohugo.ioen-usIn-context Notificationshttps://bcalhelp.dev/navpatterns/1-patterns/notifications/in-context-notifications/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/notifications/in-context-notifications/__By Soumya Dutta at Microsoft Development Center Copenhagen +Notifications on AL Guidelineshttps://alguidelines.dev/navpatterns/1-patterns/notifications/Recent content in Notifications on AL GuidelinesHugo -- gohugo.ioen-usIn-context Notificationshttps://alguidelines.dev/navpatterns/1-patterns/notifications/in-context-notifications/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/notifications/in-context-notifications/__By Soumya Dutta at Microsoft Development Center Copenhagen Context Application developers need to raise a notification on events that are not blocking but do require attention from users. Notifications alert users to issues or information, and let them decide whether to react immediately or finish what they’re doing first. -Problem Application developers have started to use system calls like CONFIRM or MESSAGE to alert or inform users about a condition. These calls interrupt users by displaying a window in the middle of the screen and forcing an immediate response.Notification Lifecycle Management Patternhttps://bcalhelp.dev/navpatterns/1-patterns/notifications/notification-lifecycle-management-pattern/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/notifications/notification-lifecycle-management-pattern/Notification Lifecycle Management pattern +Problem Application developers have started to use system calls like CONFIRM or MESSAGE to alert or inform users about a condition. These calls interrupt users by displaying a window in the middle of the screen and forcing an immediate response.Notification Lifecycle Management Patternhttps://alguidelines.dev/navpatterns/1-patterns/notifications/notification-lifecycle-management-pattern/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/notifications/notification-lifecycle-management-pattern/Notification Lifecycle Management pattern _ By David Bastide at Microsoft Development Center Copenhagen _    Context diff --git a/navpatterns/1-patterns/notifications/notification-lifecycle-management-pattern/index.html b/navpatterns/1-patterns/notifications/notification-lifecycle-management-pattern/index.html index 438c280f..3717e153 100644 --- a/navpatterns/1-patterns/notifications/notification-lifecycle-management-pattern/index.html +++ b/navpatterns/1-patterns/notifications/notification-lifecycle-management-pattern/index.html @@ -4,17 +4,17 @@ -Notification Lifecycle Management Pattern :: BC AL Help - - - - - - - - - - +Notification Lifecycle Management Pattern :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                  - - - + + +
                                                                                • Related Links
                                                                                • +
                                                                                • Contributing
                                                                                  • @@ -369,12 +370,12 @@ END;
                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/observer/index.html b/navpatterns/1-patterns/observer/index.html index bdfaa6cc..08d65156 100644 --- a/navpatterns/1-patterns/observer/index.html +++ b/navpatterns/1-patterns/observer/index.html @@ -4,17 +4,17 @@ -Observer :: BC AL Help - - - - - - - - - - +Observer :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                    - - - + + +
                                                                                  • Related Links
                                                                                  • +
                                                                                  • Contributing
                                                                                    • @@ -292,12 +293,12 @@ IF Observable.Get(RecRef.NUMBER) AND Observable.TrackRename THEN
                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/posting-routine-select-behavior/index.html b/navpatterns/1-patterns/posting-routine-select-behavior/index.html index c49b593f..af9b79d3 100644 --- a/navpatterns/1-patterns/posting-routine-select-behavior/index.html +++ b/navpatterns/1-patterns/posting-routine-select-behavior/index.html @@ -4,17 +4,17 @@ -Posting Routine - Select Behavior :: BC AL Help - - - - - - - - - - +Posting Routine - Select Behavior :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                      - - - + + +
                                                                                    • Related Links
                                                                                    • +
                                                                                    • Contributing
                                                                                      • @@ -267,12 +268,12 @@ Invoice := Selection IN [2,3];

                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/product-name/index.html b/navpatterns/1-patterns/product-name/index.html index 7eb001ac..2bec7779 100644 --- a/navpatterns/1-patterns/product-name/index.html +++ b/navpatterns/1-patterns/product-name/index.html @@ -4,17 +4,17 @@ -Product Name :: BC AL Help - - - - - - - - - - +Product Name :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                        - - - + + +
                                                                                      • Related Links
                                                                                      • +
                                                                                      • Contributing
                                                                                        • @@ -249,12 +250,12 @@ BC AL Help . dev
                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/queries/index.html b/navpatterns/1-patterns/queries/index.html index c370aa60..663d22aa 100644 --- a/navpatterns/1-patterns/queries/index.html +++ b/navpatterns/1-patterns/queries/index.html @@ -3,19 +3,19 @@ - + -Queries :: BC AL Help - - - - - - - - - - +Queries :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                          @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                          - - - + + +
                                                                                        • Related Links
                                                                                        • +
                                                                                        • Contributing
                                                                                          • @@ -220,12 +221,12 @@ BC AL Help . dev
                                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/queries/index.xml b/navpatterns/1-patterns/queries/index.xml index ae8f7c5f..5e7f3dbb 100644 --- a/navpatterns/1-patterns/queries/index.xml +++ b/navpatterns/1-patterns/queries/index.xml @@ -1,9 +1,9 @@ -Queries on BC AL Helphttps://bcalhelp.dev/navpatterns/1-patterns/queries/Recent content in Queries on BC AL HelpHugo -- gohugo.ioen-usSELECT DISTINCT with Querieshttps://bcalhelp.dev/navpatterns/1-patterns/queries/select-distinct-with-queries/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/queries/select-distinct-with-queries/By Bogdana Botez, at Microsoft Development Center Copenhagen +Queries on AL Guidelineshttps://alguidelines.dev/navpatterns/1-patterns/queries/Recent content in Queries on AL GuidelinesHugo -- gohugo.ioen-usSELECT DISTINCT with Querieshttps://alguidelines.dev/navpatterns/1-patterns/queries/select-distinct-with-queries/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/queries/select-distinct-with-queries/By Bogdana Botez, at Microsoft Development Center Copenhagen Abstract This pattern explains how to perform SELECT DISTINCT by using queries in Dynamics NAV. Description When working with tables, sometimes a developer needs to perform a SELECT DISTINCT (also known as SELECT UNIQUE) from a table. As NAV does not provide this out of the box, we present below a way to select unique records by using queries. -Problem statementuse Queries to Detect Duplicate Recordshttps://bcalhelp.dev/navpatterns/1-patterns/queries/use-queries-to-detect-duplicate-records/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/queries/use-queries-to-detect-duplicate-records/Originally by Abshishek Ghosh and Bogdan Sturzoiu at Microsoft Development Center Copenhagen** +Problem statementuse Queries to Detect Duplicate Recordshttps://alguidelines.dev/navpatterns/1-patterns/queries/use-queries-to-detect-duplicate-records/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/queries/use-queries-to-detect-duplicate-records/Originally by Abshishek Ghosh and Bogdan Sturzoiu at Microsoft Development Center Copenhagen** ** Abstract This pattern uses queries to create an efficient way to detect duplicate entries in a table. This is, for example, useful when trying to find out which customers or contacts have the same names, so we can merge them later. -Description Duplicate detection has several requirements in Microsoft Dynamics NAV. One method to eliminate duplication is by defining the relevant field as the primary key.Use Queries to Replace Nested Loopshttps://bcalhelp.dev/navpatterns/1-patterns/queries/use-queries-to-replace-nested-loops/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/queries/use-queries-to-replace-nested-loops/Originally by Bogdan Sturzoiu, Microsoft Development Center Copenhagen Abstract This pattern shows how the new query object type introduced in NAV 2013 allows you to replace costly loops when inspecting data from two or more tables. +Description Duplicate detection has several requirements in Microsoft Dynamics NAV. One method to eliminate duplication is by defining the relevant field as the primary key.Use Queries to Replace Nested Loopshttps://alguidelines.dev/navpatterns/1-patterns/queries/use-queries-to-replace-nested-loops/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/queries/use-queries-to-replace-nested-loops/Originally by Bogdan Sturzoiu, Microsoft Development Center Copenhagen Abstract This pattern shows how the new query object type introduced in NAV 2013 allows you to replace costly loops when inspecting data from two or more tables. Description One of the core operations in a relational database is joining two or more tables. For example, you might need to extract all sales lines in the database together with information regarding the related sales header. \ No newline at end of file diff --git a/navpatterns/1-patterns/queries/select-distinct-with-queries/index.html b/navpatterns/1-patterns/queries/select-distinct-with-queries/index.html index 6445b9ac..a95969b4 100644 --- a/navpatterns/1-patterns/queries/select-distinct-with-queries/index.html +++ b/navpatterns/1-patterns/queries/select-distinct-with-queries/index.html @@ -4,17 +4,17 @@ -SELECT DISTINCT with Queries :: BC AL Help - - - - - - - - - - +SELECT DISTINCT with Queries :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                            - - - + + +
                                                                                          • Related Links
                                                                                          • +
                                                                                          • Contributing
                                                                                            • @@ -267,12 +268,12 @@ BC AL Help . dev
                                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/queries/use-queries-to-detect-duplicate-records/index.html b/navpatterns/1-patterns/queries/use-queries-to-detect-duplicate-records/index.html index bd59b520..78669899 100644 --- a/navpatterns/1-patterns/queries/use-queries-to-detect-duplicate-records/index.html +++ b/navpatterns/1-patterns/queries/use-queries-to-detect-duplicate-records/index.html @@ -4,17 +4,17 @@ -use Queries to Detect Duplicate Records :: BC AL Help - - - - - - - - - - +use Queries to Detect Duplicate Records :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                              - - - + + +
                                                                                            • Related Links
                                                                                            • +
                                                                                            • Contributing
                                                                                              • @@ -304,12 +305,12 @@ methods CheckDuplicateAnalysisLineDescription and CheckDuplicateAnalysisColumnHe
                                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/queries/use-queries-to-replace-nested-loops/index.html b/navpatterns/1-patterns/queries/use-queries-to-replace-nested-loops/index.html index 11f54f79..8dfb4e14 100644 --- a/navpatterns/1-patterns/queries/use-queries-to-replace-nested-loops/index.html +++ b/navpatterns/1-patterns/queries/use-queries-to-replace-nested-loops/index.html @@ -4,17 +4,17 @@ -Use Queries to Replace Nested Loops :: BC AL Help - - - - - - - - - - +Use Queries to Replace Nested Loops :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                - - - + + +
                                                                                              • Related Links
                                                                                              • +
                                                                                              • Contributing
                                                                                                • @@ -403,12 +404,12 @@ END.
                                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/read-once-initialization-and-validation/index.html b/navpatterns/1-patterns/read-once-initialization-and-validation/index.html index 1ea62273..6a5c3531 100644 --- a/navpatterns/1-patterns/read-once-initialization-and-validation/index.html +++ b/navpatterns/1-patterns/read-once-initialization-and-validation/index.html @@ -4,17 +4,17 @@ -Read-once Initialization and Validation :: BC AL Help - - - - - - - - - - +Read-once Initialization and Validation :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                  - - - + + +
                                                                                                • Related Links
                                                                                                • +
                                                                                                • Contributing
                                                                                                  • @@ -261,12 +262,12 @@ BC AL Help . dev
                                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/released-entity/index.html b/navpatterns/1-patterns/released-entity/index.html index 46ec3d74..9ffa22a7 100644 --- a/navpatterns/1-patterns/released-entity/index.html +++ b/navpatterns/1-patterns/released-entity/index.html @@ -4,17 +4,17 @@ -Released Entity :: BC AL Help - - - - - - - - - - +Released Entity :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                    - - - + + +
                                                                                                  • Related Links
                                                                                                  • +
                                                                                                  • Contributing
                                                                                                    • @@ -287,12 +288,12 @@ When talking about hierarchical data structures and the Release State is held on
                                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/report-selection/index.html b/navpatterns/1-patterns/report-selection/index.html index ea8d9a73..66d1a27e 100644 --- a/navpatterns/1-patterns/report-selection/index.html +++ b/navpatterns/1-patterns/report-selection/index.html @@ -4,17 +4,17 @@ -Report Selection :: BC AL Help - - - - - - - - - - +Report Selection :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                      - - - + + +
                                                                                                    • Related Links
                                                                                                    • +
                                                                                                    • Contributing
                                                                                                      • @@ -328,12 +329,12 @@ END;

                                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/security/index.html b/navpatterns/1-patterns/security/index.html index 6cdecb63..25ab5a8a 100644 --- a/navpatterns/1-patterns/security/index.html +++ b/navpatterns/1-patterns/security/index.html @@ -4,17 +4,17 @@ -Security :: BC AL Help - - - - - - - - - - +Security :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                        - - - + + +
                                                                                                      • Related Links
                                                                                                      • +
                                                                                                      • Contributing
                                                                                                        • @@ -241,12 +242,12 @@ BC AL Help . dev
                                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/setup-specificity-fallback/index.html b/navpatterns/1-patterns/setup-specificity-fallback/index.html index e0c94dce..6bdf3b2a 100644 --- a/navpatterns/1-patterns/setup-specificity-fallback/index.html +++ b/navpatterns/1-patterns/setup-specificity-fallback/index.html @@ -4,17 +4,17 @@ -Setup Specificity Fallback :: BC AL Help - - - - - - - - - - +Setup Specificity Fallback :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                          - - - + + +
                                                                                                        • Related Links
                                                                                                        • +
                                                                                                        • Contributing
                                                                                                          • @@ -265,12 +266,12 @@ If found, return record; if not, optionally return hard-coded value

                                                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/silent-file-upload-and-download/index.html b/navpatterns/1-patterns/silent-file-upload-and-download/index.html index 649124ee..382e03e5 100644 --- a/navpatterns/1-patterns/silent-file-upload-and-download/index.html +++ b/navpatterns/1-patterns/silent-file-upload-and-download/index.html @@ -4,17 +4,17 @@ -Silent File Upload and Download :: BC AL Help - - - - - - - - - - +Silent File Upload and Download :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                            - - - + + +
                                                                                                          • Related Links
                                                                                                          • +
                                                                                                          • Contributing
                                                                                                            • @@ -274,12 +275,12 @@ BC AL Help . dev
                                                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/singleton/index.html b/navpatterns/1-patterns/singleton/index.html index f67a0084..1bad0a2c 100644 --- a/navpatterns/1-patterns/singleton/index.html +++ b/navpatterns/1-patterns/singleton/index.html @@ -3,19 +3,19 @@ - + -Singleton :: BC AL Help - - - - - - - - - - +Singleton :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                              @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                              - - - + + +
                                                                                                            • Related Links
                                                                                                            • +
                                                                                                            • Contributing
                                                                                                              • @@ -242,12 +243,12 @@ BC AL Help . dev
                                                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/singleton/index.xml b/navpatterns/1-patterns/singleton/index.xml index eb9bfa22..b2faa389 100644 --- a/navpatterns/1-patterns/singleton/index.xml +++ b/navpatterns/1-patterns/singleton/index.xml @@ -1,9 +1,9 @@ -Singleton on BC AL Helphttps://bcalhelp.dev/navpatterns/1-patterns/singleton/Recent content in Singleton on BC AL HelpHugo -- gohugo.ioen-usSingleton Tablehttps://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-table/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-table/Singleton Table By Elly Nkya at Microsoft Development Center Copenhagen +Singleton on AL Guidelineshttps://alguidelines.dev/navpatterns/1-patterns/singleton/Recent content in Singleton on AL GuidelinesHugo -- gohugo.ioen-usSingleton Tablehttps://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-table/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-table/Singleton Table By Elly Nkya at Microsoft Development Center Copenhagen _ _ Problem: The developer needs to define a single record that can contain a set of rules and behavior (optional, mandatory, or defaulting mechanisms), that apply to a functionality, and can be configured by a user. Forces -You want a central place to define the address and logo of your company (see Company Information table). You want to define the no.Singleton Codeunithttps://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-codeunit/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-codeunit/Singleton Codeunit _By Bogdana Botez at Microsoft Development Center Copenhagen +You want a central place to define the address and logo of your company (see Company Information table). You want to define the no.Singleton Codeunithttps://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-codeunit/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-codeunit/Singleton Codeunit _By Bogdana Botez at Microsoft Development Center Copenhagen _ _ _ diff --git a/navpatterns/1-patterns/singleton/singleton-codeunit/index.html b/navpatterns/1-patterns/singleton/singleton-codeunit/index.html index ed8914bd..53df1a92 100644 --- a/navpatterns/1-patterns/singleton/singleton-codeunit/index.html +++ b/navpatterns/1-patterns/singleton/singleton-codeunit/index.html @@ -4,17 +4,17 @@ -Singleton Codeunit :: BC AL Help - - - - - - - - - - +Singleton Codeunit :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                - - - + + +
                                                                                                              • Related Links
                                                                                                              • +
                                                                                                              • Contributing
                                                                                                                • @@ -290,12 +291,12 @@ END;
                                                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/singleton/singleton-table/cue-table/index.html b/navpatterns/1-patterns/singleton/singleton-table/cue-table/index.html index 05da9df5..c63939fb 100644 --- a/navpatterns/1-patterns/singleton/singleton-table/cue-table/index.html +++ b/navpatterns/1-patterns/singleton/singleton-table/cue-table/index.html @@ -4,17 +4,17 @@ -Cue Table :: BC AL Help - - - - - - - - - - +Cue Table :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                  - - - + + +
                                                                                                                • Related Links
                                                                                                                • +
                                                                                                                • Contributing
                                                                                                                  • @@ -298,12 +299,12 @@ _

                                                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/singleton/singleton-table/index.html b/navpatterns/1-patterns/singleton/singleton-table/index.html index 9039d1f1..9fa6c173 100644 --- a/navpatterns/1-patterns/singleton/singleton-table/index.html +++ b/navpatterns/1-patterns/singleton/singleton-table/index.html @@ -3,19 +3,19 @@ - + -Singleton Table :: BC AL Help - - - - - - - - - - +Singleton Table :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                    @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                    - - - + + +
                                                                                                                  • Related Links
                                                                                                                  • +
                                                                                                                  • Contributing
                                                                                                                    • @@ -287,12 +288,12 @@ GLSetupRead := TRUE;
                                                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/singleton/singleton-table/index.xml b/navpatterns/1-patterns/singleton/singleton-table/index.xml index 176faefc..5ab1a9b4 100644 --- a/navpatterns/1-patterns/singleton/singleton-table/index.xml +++ b/navpatterns/1-patterns/singleton/singleton-table/index.xml @@ -1,11 +1,11 @@ -Singleton Table on BC AL Helphttps://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-table/Recent content in Singleton Table on BC AL HelpHugo -- gohugo.ioen-usCue Tablehttps://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-table/cue-table/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-table/cue-table/Cue Table _By Bogdana Botez at Microsoft Development Center Copenhagen +Singleton Table on AL Guidelineshttps://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-table/Recent content in Singleton Table on AL GuidelinesHugo -- gohugo.ioen-usCue Tablehttps://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-table/cue-table/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-table/cue-table/Cue Table _By Bogdana Botez at Microsoft Development Center Copenhagen _ _ _ Cues are the second usual application of the Singleton Table pattern in Dynamics NAV, after Setup Tables. Context: The user gets overview information about the business on the Dynamics NAV Role Center page. Figure 1 - Cue information in Dynamics NAV shows cue information seen by the user on the Sales Order Processor role center. -The overview information consists of summed-up numbers, calculated from business data, like for example how many sales orders are still open, how many shipments are ready to go, or partially shipped, how many documents are waiting for approval etc.Setup Tablehttps://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-table/setup-table/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-table/setup-table/Setup Table By Abhishek Ghosh, at Microsoft Development Center Copenhagen +The overview information consists of summed-up numbers, calculated from business data, like for example how many sales orders are still open, how many shipments are ready to go, or partially shipped, how many documents are waiting for approval etc.Setup Tablehttps://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-table/setup-table/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-table/setup-table/Setup Table By Abhishek Ghosh, at Microsoft Development Center Copenhagen This is the first and most well-known of the two usual applications of the Singleton Table pattern in Dynamics NAV. Problem: the developer needs to store information about the operating setup or environment in the database, in a way that can be persisted across sessions. Solution: The information is stored in a table with one record only. The user is subsequently able to modify, but not add or delete records in the table. \ No newline at end of file diff --git a/navpatterns/1-patterns/singleton/singleton-table/setup-table/index.html b/navpatterns/1-patterns/singleton/singleton-table/setup-table/index.html index 53d3409f..0edd3d67 100644 --- a/navpatterns/1-patterns/singleton/singleton-table/setup-table/index.html +++ b/navpatterns/1-patterns/singleton/singleton-table/setup-table/index.html @@ -4,17 +4,17 @@ -Setup Table :: BC AL Help - - - - - - - - - - +Setup Table :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                      - - - + + +
                                                                                                                    • Related Links
                                                                                                                    • +
                                                                                                                    • Contributing
                                                                                                                      • @@ -266,12 +267,12 @@ END;
                                                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/standard-journal/index.html b/navpatterns/1-patterns/standard-journal/index.html index c23a4309..a8dcb682 100644 --- a/navpatterns/1-patterns/standard-journal/index.html +++ b/navpatterns/1-patterns/standard-journal/index.html @@ -4,17 +4,17 @@ -Standard Journal :: BC AL Help - - - - - - - - - - +Standard Journal :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                        - - - + + +
                                                                                                                      • Related Links
                                                                                                                      • +
                                                                                                                      • Contributing
                                                                                                                        • @@ -264,12 +265,12 @@ BC AL Help . dev
                                                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/temporary-dataset-report/index.html b/navpatterns/1-patterns/temporary-dataset-report/index.html index 10b3f8c7..b1dd71d2 100644 --- a/navpatterns/1-patterns/temporary-dataset-report/index.html +++ b/navpatterns/1-patterns/temporary-dataset-report/index.html @@ -4,17 +4,17 @@ -Temporary Dataset Report :: BC AL Help - - - - - - - - - - +Temporary Dataset Report :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                          - - - + + +
                                                                                                                        • Related Links
                                                                                                                        • +
                                                                                                                        • Contributing
                                                                                                                          • @@ -329,12 +330,12 @@ BC AL Help . dev
                                                                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/totals-and-discounts-on-subpages-sales-and-purchases/index.html b/navpatterns/1-patterns/totals-and-discounts-on-subpages-sales-and-purchases/index.html index 7d2707c6..8d232bc7 100644 --- a/navpatterns/1-patterns/totals-and-discounts-on-subpages-sales-and-purchases/index.html +++ b/navpatterns/1-patterns/totals-and-discounts-on-subpages-sales-and-purchases/index.html @@ -4,17 +4,17 @@ -Totals and Discounts on Subpages Sales and Purchases :: BC AL Help - - - - - - - - - - +Totals and Discounts on Subpages Sales and Purchases :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                            - - - + + +
                                                                                                                          • Related Links
                                                                                                                          • +
                                                                                                                          • Contributing
                                                                                                                            • @@ -341,12 +342,12 @@ BC AL Help . dev
                                                                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/transfer-custom-fields/index.html b/navpatterns/1-patterns/transfer-custom-fields/index.html index a785f68b..c0e11a8d 100644 --- a/navpatterns/1-patterns/transfer-custom-fields/index.html +++ b/navpatterns/1-patterns/transfer-custom-fields/index.html @@ -4,17 +4,17 @@ -Transfer Custom Fields :: BC AL Help - - - - - - - - - - +Transfer Custom Fields :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                              - - - + + +
                                                                                                                            • Related Links
                                                                                                                            • +
                                                                                                                            • Contributing
                                                                                                                              • @@ -219,12 +220,12 @@ BC AL Help . dev
                                                                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/1-patterns/variant-facade/index.html b/navpatterns/1-patterns/variant-facade/index.html index b60dbb51..39bbb56a 100644 --- a/navpatterns/1-patterns/variant-facade/index.html +++ b/navpatterns/1-patterns/variant-facade/index.html @@ -4,17 +4,17 @@ -Variant Facade :: BC AL Help - - - - - - - - - - +Variant Facade :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                - - - + + +
                                                                                                                              • Related Links
                                                                                                                              • +
                                                                                                                              • Contributing
                                                                                                                                • @@ -388,12 +389,12 @@ BC AL Help . dev
                                                                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/2-anti-patterns/index.html b/navpatterns/2-anti-patterns/index.html index 718278af..5a69f8dd 100644 --- a/navpatterns/2-anti-patterns/index.html +++ b/navpatterns/2-anti-patterns/index.html @@ -3,19 +3,19 @@ - + -2. Anti-Patterns :: BC AL Help - - - - - - - - - - +2. Anti-Patterns :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                                  @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                                  - - - + + +
                                                                                                                                • Related Links
                                                                                                                                • +
                                                                                                                                • Contributing
                                                                                                                                  • @@ -218,12 +219,12 @@ BC AL Help . dev
                                                                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/2-anti-patterns/index.xml b/navpatterns/2-anti-patterns/index.xml index 44addf97..774c2e60 100644 --- a/navpatterns/2-anti-patterns/index.xml +++ b/navpatterns/2-anti-patterns/index.xml @@ -1,7 +1,7 @@ -2. Anti-Patterns on BC AL Helphttps://bcalhelp.dev/navpatterns/2-anti-patterns/Recent content in 2. Anti-Patterns on BC AL HelpHugo -- gohugo.ioen-usNav Upgradehttps://bcalhelp.dev/navpatterns/2-anti-patterns/nav-upgrade/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/2-anti-patterns/nav-upgrade/Anti-Patterns in NAV Upgrade By Carlos Raul Garcia and Bogdana Botez at Microsoft Development Center Copenhagen +2. Anti-Patterns on AL Guidelineshttps://alguidelines.dev/navpatterns/2-anti-patterns/Recent content in 2. Anti-Patterns on AL GuidelinesHugo -- gohugo.ioen-usNav Upgradehttps://alguidelines.dev/navpatterns/2-anti-patterns/nav-upgrade/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/2-anti-patterns/nav-upgrade/Anti-Patterns in NAV Upgrade By Carlos Raul Garcia and Bogdana Botez at Microsoft Development Center Copenhagen __ Context: when NAV is upgraded, whether on-premises or in the cloud, developers have the chance to write upgrade code to move data across changing data structures. Writing good quality code will help successful upgrades. General on upgrade **Problem: **assuming that the upgrade table contains data. -If the table is empty, it means that either the upgrade has run, or there was no data in the original tenant; in both cases, the upgrade code should exit immediately.Reusable Bugshttps://bcalhelp.dev/navpatterns/2-anti-patterns/reusable-bugs/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/2-anti-patterns/reusable-bugs/By Bogdana Botez, Andreas Moth, Eric Wauters (waldo), Elly Nkya, Nikola Kukrika +If the table is empty, it means that either the upgrade has run, or there was no data in the original tenant; in both cases, the upgrade code should exit immediately.Reusable Bugshttps://alguidelines.dev/navpatterns/2-anti-patterns/reusable-bugs/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/2-anti-patterns/reusable-bugs/By Bogdana Botez, Andreas Moth, Eric Wauters (waldo), Elly Nkya, Nikola Kukrika April 1st, 2015 Abstract It is difficult to come up with new and different bugs in each release, and it is a waste of resources to not use the ones which already had proven successful in the past. To avoid reinventing the wheel, we propose to come up with new innovative ways to create bugs that are reusable and generic enough to be used in various places of the application. \ No newline at end of file diff --git a/navpatterns/2-anti-patterns/nav-upgrade/index.html b/navpatterns/2-anti-patterns/nav-upgrade/index.html index 0374e566..818a4868 100644 --- a/navpatterns/2-anti-patterns/nav-upgrade/index.html +++ b/navpatterns/2-anti-patterns/nav-upgrade/index.html @@ -4,17 +4,17 @@ -Nav Upgrade :: BC AL Help - - - - - - - - - - +Nav Upgrade :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                    - - - + + +
                                                                                                                                  • Related Links
                                                                                                                                  • +
                                                                                                                                  • Contributing
                                                                                                                                    • @@ -269,12 +270,12 @@ BC AL Help . dev
                                                                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/2-anti-patterns/reusable-bugs/index.html b/navpatterns/2-anti-patterns/reusable-bugs/index.html index ba6e5007..5503228b 100644 --- a/navpatterns/2-anti-patterns/reusable-bugs/index.html +++ b/navpatterns/2-anti-patterns/reusable-bugs/index.html @@ -4,17 +4,17 @@ -Reusable Bugs :: BC AL Help - - - - - - - - - - +Reusable Bugs :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                      - - - + + +
                                                                                                                                    • Related Links
                                                                                                                                    • +
                                                                                                                                    • Contributing
                                                                                                                                      • @@ -268,12 +269,12 @@ BC AL Help . dev
                                                                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/design/index.html b/navpatterns/3-cal-coding-guidelines/design/index.html index 687f165b..bf451984 100644 --- a/navpatterns/3-cal-coding-guidelines/design/index.html +++ b/navpatterns/3-cal-coding-guidelines/design/index.html @@ -4,17 +4,17 @@ -Design :: BC AL Help - - - - - - - - - - +Design :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                        - - - + + +
                                                                                                                                      • Related Links
                                                                                                                                      • +
                                                                                                                                      • Contributing
                                                                                                                                        • @@ -231,12 +232,12 @@ BC AL Help . dev
                                                                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/index.html b/navpatterns/3-cal-coding-guidelines/index.html index 88c94dd9..b8f63d41 100644 --- a/navpatterns/3-cal-coding-guidelines/index.html +++ b/navpatterns/3-cal-coding-guidelines/index.html @@ -3,19 +3,19 @@ - + -3. CAL Coding Guidelines :: BC AL Help - - - - - - - - - - +3. CAL Coding Guidelines :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                                          @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                                          - - - + + +
                                                                                                                                        • Related Links
                                                                                                                                        • +
                                                                                                                                        • Contributing
                                                                                                                                          • @@ -221,12 +222,12 @@ BC AL Help . dev
                                                                                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/index.xml b/navpatterns/3-cal-coding-guidelines/index.xml index a4e487fc..4462082b 100644 --- a/navpatterns/3-cal-coding-guidelines/index.xml +++ b/navpatterns/3-cal-coding-guidelines/index.xml @@ -1,5 +1,5 @@ -3. CAL Coding Guidelines on BC AL Helphttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/Recent content in 3. CAL Coding Guidelines on BC AL HelpHugo -- gohugo.ioen-usInternationalizationhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/internationalization/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/internationalization/C/AL Coding Guidelines Internationalization Find the C/AL guidelines by expanding the menu in the left.Localizabilityhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/C/AL Coding Guidelines Localizability Find the C/AL guidelines by expanding the menu in the left.Readabilityhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/C/AL Coding Guidelines Readability Generally, all readability rules are Microsoft style choices only. You can use them to keep consistency with the existing code. -Find the C/AL guidelines by expanding the menu in the left.UXhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/C/AL Coding Guidelines User eXperience Find the C/AL guidelines by expanding the menu in the left.Designhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/design/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/design/C/AL Coding Guidelines Design Find the C/AL guidelines by expanding the menu in the left.Internally-used DotNet Typeshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/internally-used-dot-net-types/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/internally-used-dot-net-types/Internally used Dot Net Types (Dynamics NAV 2015) +3. CAL Coding Guidelines on AL Guidelineshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/Recent content in 3. CAL Coding Guidelines on AL GuidelinesHugo -- gohugo.ioen-usInternationalizationhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/internationalization/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/internationalization/C/AL Coding Guidelines Internationalization Find the C/AL guidelines by expanding the menu in the left.Localizabilityhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/C/AL Coding Guidelines Localizability Find the C/AL guidelines by expanding the menu in the left.Readabilityhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/C/AL Coding Guidelines Readability Generally, all readability rules are Microsoft style choices only. You can use them to keep consistency with the existing code. +Find the C/AL guidelines by expanding the menu in the left.UXhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/C/AL Coding Guidelines User eXperience Find the C/AL guidelines by expanding the menu in the left.Designhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/design/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/design/C/AL Coding Guidelines Design Find the C/AL guidelines by expanding the menu in the left.Internally-used DotNet Typeshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/internally-used-dot-net-types/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/internally-used-dot-net-types/Internally used Dot Net Types (Dynamics NAV 2015) Dot Net Types ‘mscorlib’.System.Convert ‘mscorlib’.System.Globalization.CultureInfo diff --git a/navpatterns/3-cal-coding-guidelines/internally-used-dot-net-types/index.html b/navpatterns/3-cal-coding-guidelines/internally-used-dot-net-types/index.html index f0a36501..dd976356 100644 --- a/navpatterns/3-cal-coding-guidelines/internally-used-dot-net-types/index.html +++ b/navpatterns/3-cal-coding-guidelines/internally-used-dot-net-types/index.html @@ -4,17 +4,17 @@ -Internally-used DotNet Types :: BC AL Help - - - - - - - - - - +Internally-used DotNet Types :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                            - - - + + +
                                                                                                                                          • Related Links
                                                                                                                                          • +
                                                                                                                                          • Contributing
                                                                                                                                            • @@ -324,12 +325,12 @@ BC AL Help . dev
                                                                                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/internationalization/index.html b/navpatterns/3-cal-coding-guidelines/internationalization/index.html index bccae581..27161378 100644 --- a/navpatterns/3-cal-coding-guidelines/internationalization/index.html +++ b/navpatterns/3-cal-coding-guidelines/internationalization/index.html @@ -3,19 +3,19 @@ - + -Internationalization :: BC AL Help - - - - - - - - - - +Internationalization :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                                              @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                                              - - - + + +
                                                                                                                                            • Related Links
                                                                                                                                            • +
                                                                                                                                            • Contributing
                                                                                                                                              • @@ -232,12 +233,12 @@ BC AL Help . dev
                                                                                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/internationalization/index.xml b/navpatterns/3-cal-coding-guidelines/internationalization/index.xml index 734a4b84..34c1d294 100644 --- a/navpatterns/3-cal-coding-guidelines/internationalization/index.xml +++ b/navpatterns/3-cal-coding-guidelines/internationalization/index.xml @@ -1,3 +1,3 @@ -Internationalization on BC AL Helphttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/internationalization/Recent content in Internationalization on BC AL HelpHugo -- gohugo.ioen-usUsing Calcdatehttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/internationalization/using-calcdate/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/internationalization/using-calcdate/CALCDATE should only be used with DateFormula variables. Alternatively the string should be enclosed using the <> symbols. Bad code +Internationalization on AL Guidelineshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/internationalization/Recent content in Internationalization on AL GuidelinesHugo -- gohugo.ioen-usUsing Calcdatehttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/internationalization/using-calcdate/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/internationalization/using-calcdate/CALCDATE should only be used with DateFormula variables. Alternatively the string should be enclosed using the <> symbols. Bad code IF ReservEntry."Expected Receipt Date" \> CALCDATE('-' + FORMAT("Dampener (Time)") + FirstDate) THEN Good code IF ReservEntry."Expected Receipt Date" \> CALCDATE('<-' + FORMAT("Dampener (Time)") + FirstDate + '\>') THEN \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/internationalization/using-calcdate/index.html b/navpatterns/3-cal-coding-guidelines/internationalization/using-calcdate/index.html index 2890e95c..172d4079 100644 --- a/navpatterns/3-cal-coding-guidelines/internationalization/using-calcdate/index.html +++ b/navpatterns/3-cal-coding-guidelines/internationalization/using-calcdate/index.html @@ -4,17 +4,17 @@ -Using Calcdate :: BC AL Help - - - - - - - - - - +Using Calcdate :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                - - - + + +
                                                                                                                                              • Related Links
                                                                                                                                              • +
                                                                                                                                              • Contributing
                                                                                                                                                • @@ -230,12 +231,12 @@ THEN
                                                                                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/localizability/captionml-for-system-tables/index.html b/navpatterns/3-cal-coding-guidelines/localizability/captionml-for-system-tables/index.html index 79a178d4..7f954327 100644 --- a/navpatterns/3-cal-coding-guidelines/localizability/captionml-for-system-tables/index.html +++ b/navpatterns/3-cal-coding-guidelines/localizability/captionml-for-system-tables/index.html @@ -4,17 +4,17 @@ -CaptionML on System Pages :: BC AL Help - - - - - - - - - - +CaptionML on System Pages :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                  - - - + + +
                                                                                                                                                • Related Links
                                                                                                                                                • +
                                                                                                                                                • Contributing
                                                                                                                                                  • @@ -239,12 +240,12 @@ OBJECT Table 2000000000 User
                                                                                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/localizability/fieldcaption-and-tablecaption/index.html b/navpatterns/3-cal-coding-guidelines/localizability/fieldcaption-and-tablecaption/index.html index d8e1bd20..f7c63785 100644 --- a/navpatterns/3-cal-coding-guidelines/localizability/fieldcaption-and-tablecaption/index.html +++ b/navpatterns/3-cal-coding-guidelines/localizability/fieldcaption-and-tablecaption/index.html @@ -4,17 +4,17 @@ -FIELDCAPTION and TABLECAPTION :: BC AL Help - - - - - - - - - - +FIELDCAPTION and TABLECAPTION :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                    - - - + + +
                                                                                                                                                  • Related Links
                                                                                                                                                  • +
                                                                                                                                                  • Contributing
                                                                                                                                                    • @@ -231,12 +232,12 @@ BC AL Help . dev
                                                                                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/localizability/global-text-constants/index.html b/navpatterns/3-cal-coding-guidelines/localizability/global-text-constants/index.html index 1892111a..c0286237 100644 --- a/navpatterns/3-cal-coding-guidelines/localizability/global-text-constants/index.html +++ b/navpatterns/3-cal-coding-guidelines/localizability/global-text-constants/index.html @@ -4,17 +4,17 @@ -Global Text Constants :: BC AL Help - - - - - - - - - - +Global Text Constants :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                      - - - + + +
                                                                                                                                                    • Related Links
                                                                                                                                                    • +
                                                                                                                                                    • Contributing
                                                                                                                                                      • @@ -233,12 +234,12 @@ BEGIN
                                                                                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/localizability/index.html b/navpatterns/3-cal-coding-guidelines/localizability/index.html index 4bbcebce..482b4d4d 100644 --- a/navpatterns/3-cal-coding-guidelines/localizability/index.html +++ b/navpatterns/3-cal-coding-guidelines/localizability/index.html @@ -3,19 +3,19 @@ - + -Localizability :: BC AL Help - - - - - - - - - - +Localizability :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                                                        @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                                                        - - - + + +
                                                                                                                                                      • Related Links
                                                                                                                                                      • +
                                                                                                                                                      • Contributing
                                                                                                                                                        • @@ -227,12 +228,12 @@ BC AL Help . dev
                                                                                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/localizability/index.xml b/navpatterns/3-cal-coding-guidelines/localizability/index.xml index 1103771a..ed89285d 100644 --- a/navpatterns/3-cal-coding-guidelines/localizability/index.xml +++ b/navpatterns/3-cal-coding-guidelines/localizability/index.xml @@ -1,18 +1,18 @@ -Localizability on BC AL Helphttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/Recent content in Localizability on BC AL HelpHugo -- gohugo.ioen-usCaptionML on System Pageshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/captionml-for-system-tables/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/captionml-for-system-tables/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. +Localizability on AL Guidelineshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/Recent content in Localizability on AL GuidelinesHugo -- gohugo.ioen-usCaptionML on System Pageshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/captionml-for-system-tables/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/captionml-for-system-tables/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. Bad code ... { 2 ;2 ;Field ; SourceExpr=Name } ... OBJECT Table 2000000000 User ... { 2 ; ;Name ;Text50 } Good code -... { 2 ;2 ;Field ; CaptionML=ENU=Name; SourceExpr=Name } .FIELDCAPTION and TABLECAPTIONhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/fieldcaption-and-tablecaption/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/fieldcaption-and-tablecaption/For user messages, errors etc., use FIELDCAPTION not FIELDNAME and TABLECAPTION not TABLENAME. +... { 2 ;2 ;Field ; CaptionML=ENU=Name; SourceExpr=Name } .FIELDCAPTION and TABLECAPTIONhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/fieldcaption-and-tablecaption/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/fieldcaption-and-tablecaption/For user messages, errors etc., use FIELDCAPTION not FIELDNAME and TABLECAPTION not TABLENAME. Reason: The correct translation will be automatically used. 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"),...)Global Text Constantshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/global-text-constants/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/global-text-constants/Declare Text Constant as global variables. +IF NOT CONFIRM(UpdateLocationQst,TRUE,FIELDCAPTION("Location Code"),...)Global Text Constantshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/global-text-constants/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/global-text-constants/Declare Text Constant as global variables. Bad code PROCEDURE GetRequirementText@6(...) : Text\[50\]; VAR RequirementOptionsTxt@1002 : TextConst 'ENU=Shipment,Receive,Pick,Put-Away'; BEGIN Good code -VAR RequirementOptionsTxt@1002 : TextConst 'ENU=Shipment,Receive,Pick,Put-Away'; ... PROCEDURE GetRequirementText@6(...) : Text\[50\]; BEGINUse Text Constantshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/use-text-constants/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/use-text-constants/Pass user messages using Text Constants. It makes translation easy. +VAR RequirementOptionsTxt@1002 : TextConst 'ENU=Shipment,Receive,Pick,Put-Away'; ... PROCEDURE GetRequirementText@6(...) : Text\[50\]; BEGINUse Text Constantshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/use-text-constants/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/use-text-constants/Pass user messages using Text Constants. It makes translation easy. Bad code ImportAttachmentQst@1021 : TextConst 'ENU="Import attachment "'; ... IF CONFIRM(ImportAttachmentQst + Caption +'?',TRUE) THEN BEGIN Good code ImportAttachmentQst@1021 : TextConst 'ENU="Import attachment %1?"'; ... IF CONFIRM(STRSUBSTNO(ImportAttachmentQst, Caption),TRUE) THEN BEGIN Bad code -... IF NOT CONFIRM( STRSUBSTNO( 'Difference on Periodic entries: %1 on %2' + 'Do you want to continue?',Balance,Date), TRUE) THEN ERROR('Program terminated by the user'); Good codeUsing OptionCaptionMLhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/using-optioncaptionml/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/using-optioncaptionml/The OptionCaptionML should be filled in for sourceexpression using option data types. +... IF NOT CONFIRM( STRSUBSTNO( 'Difference on Periodic entries: %1 on %2' + 'Do you want to continue?',Balance,Date), TRUE) THEN ERROR('Program terminated by the user'); Good codeUsing OptionCaptionMLhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/using-optioncaptionml/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/using-optioncaptionml/The OptionCaptionML should be filled in for sourceexpression using option data types. Bad code { 30 ;TextBox ;17850;0 ;150 ;423 ;Name=Selection; SourceExpr=Selection; DataSetFieldName=Selection } ... Selection@1008 : 'Open,Closed,Open and Closed'; ... Good code { 30 ;TextBox ;17850;0 ;150 ;423 ;Name=Selection; OptionCaptionML=ENU=Open,Closed,Open and Closed; SourceExpr=Selection; DataSetFieldName=Selection } ... Selection@1008 : 'Open,Closed,Open and Closed'; \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/localizability/use-text-constants/index.html b/navpatterns/3-cal-coding-guidelines/localizability/use-text-constants/index.html index 30cf1a6d..72f507ed 100644 --- a/navpatterns/3-cal-coding-guidelines/localizability/use-text-constants/index.html +++ b/navpatterns/3-cal-coding-guidelines/localizability/use-text-constants/index.html @@ -4,17 +4,17 @@ -Use Text Constants :: BC AL Help - - - - - - - - - - +Use Text Constants :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                          - - - + + +
                                                                                                                                                        • Related Links
                                                                                                                                                        • +
                                                                                                                                                        • Contributing
                                                                                                                                                          • @@ -248,12 +249,12 @@ ERROR(ProgramTerminatedErr);
                                                                                                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/localizability/using-optioncaptionml/index.html b/navpatterns/3-cal-coding-guidelines/localizability/using-optioncaptionml/index.html index 83bf1ab3..8e9b48ce 100644 --- a/navpatterns/3-cal-coding-guidelines/localizability/using-optioncaptionml/index.html +++ b/navpatterns/3-cal-coding-guidelines/localizability/using-optioncaptionml/index.html @@ -4,17 +4,17 @@ -Using OptionCaptionML :: BC AL Help - - - - - - - - - - +Using OptionCaptionML :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                            - - - + + +
                                                                                                                                                          • Related Links
                                                                                                                                                          • +
                                                                                                                                                          • Contributing
                                                                                                                                                            • @@ -236,12 +237,12 @@ Selection@1008 : 'Open,Closed,Open and Closed';
                                                                                                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/begin-as-an-afterword/index.html b/navpatterns/3-cal-coding-guidelines/readability/begin-as-an-afterword/index.html index 2219bb2c..1226b467 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/begin-as-an-afterword/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/begin-as-an-afterword/index.html @@ -4,17 +4,17 @@ -Begin as an 'After Word' :: BC AL Help - - - - - - - - - - +Begin as an 'After Word' :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                              - - - + + +
                                                                                                                                                            • Related Links
                                                                                                                                                            • +
                                                                                                                                                            • Contributing
                                                                                                                                                              • @@ -230,12 +231,12 @@ END;
                                                                                                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/begin-end/index.html b/navpatterns/3-cal-coding-guidelines/readability/begin-end/index.html index 61ae9c4b..7cbaee94 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/begin-end/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/begin-end/index.html @@ -4,17 +4,17 @@ -Begin-End - Compound Only :: BC AL Help - - - - - - - - - - +Begin-End - Compound Only :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                - - - + + +
                                                                                                                                                              • Related Links
                                                                                                                                                              • +
                                                                                                                                                              • Contributing
                                                                                                                                                                • @@ -263,12 +264,12 @@ END ELSE (not X)
                                                                                                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/binary-operator-line-start/index.html b/navpatterns/3-cal-coding-guidelines/readability/binary-operator-line-start/index.html index cc6611ee..7af0da35 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/binary-operator-line-start/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/binary-operator-line-start/index.html @@ -4,17 +4,17 @@ -Binary Operator to Start Line :: BC AL Help - - - - - - - - - - +Binary Operator to Start Line :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                  - - - + + +
                                                                                                                                                                • Related Links
                                                                                                                                                                • +
                                                                                                                                                                • Contributing
                                                                                                                                                                  • @@ -229,12 +230,12 @@ Quantity -
                                                                                                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/blank-lines/index.html b/navpatterns/3-cal-coding-guidelines/readability/blank-lines/index.html index 247cdc1f..c2e02534 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/blank-lines/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/blank-lines/index.html @@ -4,17 +4,17 @@ -Blank Lines.md :: BC AL Help - - - - - - - - - - +Blank Lines.md :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                    - - - + + +
                                                                                                                                                                  • Related Links
                                                                                                                                                                  • +
                                                                                                                                                                  • Contributing
                                                                                                                                                                    • @@ -243,12 +244,12 @@ THEN
                                                                                                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/case-actions/index.html b/navpatterns/3-cal-coding-guidelines/readability/case-actions/index.html index 92be24de..1bc48218 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/case-actions/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/case-actions/index.html @@ -4,17 +4,17 @@ -CASE Action :: BC AL Help - - - - - - - - - - +CASE Action :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                      - - - + + +
                                                                                                                                                                    • Related Links
                                                                                                                                                                    • +
                                                                                                                                                                    • Contributing
                                                                                                                                                                      • @@ -231,12 +232,12 @@ Letter2 := '11';
                                                                                                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/colon-usage-in-case/index.html b/navpatterns/3-cal-coding-guidelines/readability/colon-usage-in-case/index.html index 03f1f0f9..4fc32e4e 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/colon-usage-in-case/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/colon-usage-in-case/index.html @@ -4,17 +4,17 @@ -Colon usage in CASE :: BC AL Help - - - - - - - - - - +Colon usage in CASE :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                        - - - + + +
                                                                                                                                                                      • Related Links
                                                                                                                                                                      • +
                                                                                                                                                                      • Contributing
                                                                                                                                                                        • @@ -229,12 +230,12 @@ DimValue."Dimension Code" := GLSetup."Global Dimension 1 Code&quo
                                                                                                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/comments-curly-brackets/index.html b/navpatterns/3-cal-coding-guidelines/readability/comments-curly-brackets/index.html index 002c4e39..d94c5d2c 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/comments-curly-brackets/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/comments-curly-brackets/index.html @@ -4,17 +4,17 @@ -Comments inside Curly Brackets :: BC AL Help - - - - - - - - - - +Comments inside Curly Brackets :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                          - - - + + +
                                                                                                                                                                        • Related Links
                                                                                                                                                                        • +
                                                                                                                                                                        • Contributing
                                                                                                                                                                          • @@ -247,12 +248,12 @@ END;
                                                                                                                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/comments-spacing/index.html b/navpatterns/3-cal-coding-guidelines/readability/comments-spacing/index.html index b848b558..24eabf75 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/comments-spacing/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/comments-spacing/index.html @@ -4,17 +4,17 @@ -Comment Spacing :: BC AL Help - - - - - - - - - - +Comment Spacing :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                            - - - + + +
                                                                                                                                                                          • Related Links
                                                                                                                                                                          • +
                                                                                                                                                                          • Contributing
                                                                                                                                                                            • @@ -226,12 +227,12 @@ Bad code

                                                                                                                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/end-else-pair/index.html b/navpatterns/3-cal-coding-guidelines/readability/end-else-pair/index.html index 97290479..71efb196 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/end-else-pair/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/end-else-pair/index.html @@ -4,17 +4,17 @@ -END ELSE Pair :: BC AL Help - - - - - - - - - - +END ELSE Pair :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                              - - - + + +
                                                                                                                                                                            • Related Links
                                                                                                                                                                            • +
                                                                                                                                                                            • Contributing
                                                                                                                                                                              • @@ -235,12 +236,12 @@ END ELSE
                                                                                                                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/indentation/index.html b/navpatterns/3-cal-coding-guidelines/readability/indentation/index.html index c33e552f..c2274155 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/indentation/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/indentation/index.html @@ -4,17 +4,17 @@ -Indentation :: BC AL Help - - - - - - - - - - +Indentation :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                - - - + + +
                                                                                                                                                                              • Related Links
                                                                                                                                                                              • +
                                                                                                                                                                              • Contributing
                                                                                                                                                                                • @@ -285,12 +286,12 @@ DO
                                                                                                                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/index.html b/navpatterns/3-cal-coding-guidelines/readability/index.html index 3538c767..a04471a1 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/index.html @@ -3,19 +3,19 @@ - + -Readability :: BC AL Help - - - - - - - - - - +Readability :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                                                                                  @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                                                                                  - - - + + +
                                                                                                                                                                                • Related Links
                                                                                                                                                                                • +
                                                                                                                                                                                • Contributing
                                                                                                                                                                                  • @@ -228,12 +229,12 @@ BC AL Help . dev
                                                                                                                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/index.xml b/navpatterns/3-cal-coding-guidelines/readability/index.xml index ee5dac56..6d97a74c 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/index.xml +++ b/navpatterns/3-cal-coding-guidelines/readability/index.xml @@ -1,63 +1,63 @@ -Readability on BC AL Helphttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/Recent content in Readability on BC AL HelpHugo -- gohugo.ioen-usBegin as an 'After Word'https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/begin-as-an-afterword/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/begin-as-an-afterword/When BEGIN follows THEN, ELSE, DO, it should be on the same line, preceded by one space character. Bad code +Readability on AL Guidelineshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/Recent content in Readability on AL GuidelinesHugo -- gohugo.ioen-usBegin as an 'After Word'https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/begin-as-an-afterword/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/begin-as-an-afterword/When BEGIN follows THEN, ELSE, DO, it should be on the same line, preceded by one space character. Bad code IF ICPartnerRefType = ICPartnerRefType::"Common Item No." THEN BEGIN ... END; Good code -IF ICPartnerRefType = ICPartnerRefType::"Common Item No." THEN BEGIN ... END;Begin-End - Compound Onlyhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/begin-end/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/begin-end/Only use BEGIN..END to enclose compound statements. Bad code +IF ICPartnerRefType = ICPartnerRefType::"Common Item No." THEN BEGIN ... END;Begin-End - Compound Onlyhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/begin-end/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/begin-end/Only use BEGIN..END to enclose compound statements. Bad code IF FINDSET THEN BEGIN REPEAT ... UNTIL NEXT = 0; END; Good code IF FINDSET THEN REPEAT ... UNTIL NEXT = 0; Bad code IF IsAssemblyOutputLine THEN BEGIN TESTFIELD("Order Line No.",0); END; Good code IF IsAssemblyOutputLine THEN TESTFIELD("Order Line No.",0); Bad code IF FINDSET THEN REPEAT BEGIN ... END; UNTIL NEXT = 0; Good code -IF FINDSET THEN REPEAT .Binary Operator to Start Linehttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/binary-operator-line-start/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/binary-operator-line-start/Do not start a line with a binary operator. Bad code +IF FINDSET THEN REPEAT .Binary Operator to Start Linehttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/binary-operator-line-start/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/binary-operator-line-start/Do not start a line with a binary operator. Bad code "Quantity to Ship" := Quantity - "Quantity Shipped" Good code -"Quantity to Ship" := Quantity - "Quantity Shipped"Blank Lines.mdhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/blank-lines/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/blank-lines/Do not use blank lines at the beginning or end of any functions, after BEGIN, before END, or inside multiline expressions. Bad code +"Quantity to Ship" := Quantity - "Quantity Shipped"Blank Lines.mdhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/blank-lines/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/blank-lines/Do not use blank lines at the beginning or end of any functions, after BEGIN, before END, or inside multiline expressions. Bad code PROCEDURE MATRIX\_OnDrillDown@1133(MATRIX\_ColumnOrdinal : Integer); BEGIN SetupDrillDownCol(MATRIX\_ColumnOrdinal); DrillDown(FALSE,ValueType); END; Good code PROCEDURE MATRIX\_OnDrillDown@1133(MATRIX\_ColumnOrdinal : Integer); BEGIN SetupDrillDownCol(MATRIX\_ColumnOrdinal); DrillDown(FALSE,ValueType); END; Bad code IF NameIsValid AND Name2IsValid THEN Good code -IF NameIsValid AND Name2IsValid THENCASE Actionhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/case-actions/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/case-actions/A CASE action should start on a line after the possibility. Bad code +IF NameIsValid AND Name2IsValid THENCASE Actionhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/case-actions/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/case-actions/A CASE action should start on a line after the possibility. Bad code CASE Letter OF 'A': Letter2 := '10'; 'B': Letter2 := '11'; Good code -CASE Letter OF 'A': Letter2 := '10'; 'B': Letter2 := '11';Colon usage in CASEhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/colon-usage-in-case/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/colon-usage-in-case/The last possibility on a CASE statement must be immediately followed by a colon. Bad code +CASE Letter OF 'A': Letter2 := '10'; 'B': Letter2 := '11';Colon usage in CASEhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/colon-usage-in-case/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/colon-usage-in-case/The last possibility on a CASE statement must be immediately followed by a colon. Bad code CASE DimOption OF DimOption::"Global Dimension 1" : DimValue."Dimension Code" := GLSetup."Global Dimension 1 Code"; Good code -CASE DimOption OF DimOption::"Global Dimension 1": DimValue."Dimension Code" := GLSetup."Global Dimension 1 Code";Comments inside Curly Bracketshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/comments-curly-brackets/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/comments-curly-brackets/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 +CASE DimOption OF DimOption::"Global Dimension 1": DimValue."Dimension Code" := GLSetup."Global Dimension 1 Code";Comments inside Curly Bracketshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/comments-curly-brackets/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/comments-curly-brackets/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 PeriodTxt: {Period} Good code PeriodTxt: // Period Bad code PROCEDURE MATRIX\_OnAfterGetRecord@10(MATRIX\_ColumnOrdinal : Integer); BEGIN { IF ShowColumnName THEN MatrixHeader := MatrixRecords\[MATRIX\_ColumnOrdinal\].Name ELSE MatrixHeader := MatrixRecords\[MATRIX\_ColumnOrdinal\].Code; } MatrixRecord := MatrixRecords\[MATRIX\_ColumnOrdinal\]; AnalysisValue := CalcAmt(ValueType,TRUE); MATRIX\_CellData\[MATRIX\_ColumnOrdinal\] := AnalysisValue; END; Good code -PROCEDURE MATRIX\_OnAfterGetRecord@10(MATRIX\_ColumnOrdinal : Integer); BEGIN MatrixRecord := MatrixRecords\[MATRIX\_ColumnOrdinal\]; AnalysisValue := CalcAmt(ValueType,TRUE); MATRIX\_CellData\[MATRIX\_ColumnOrdinal\] := AnalysisValue; END;Comment Spacinghttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/comments-spacing/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/comments-spacing/Always start comments with // followed by one space character. Bad code +PROCEDURE MATRIX\_OnAfterGetRecord@10(MATRIX\_ColumnOrdinal : Integer); BEGIN MatrixRecord := MatrixRecords\[MATRIX\_ColumnOrdinal\]; AnalysisValue := CalcAmt(ValueType,TRUE); MATRIX\_CellData\[MATRIX\_ColumnOrdinal\] := AnalysisValue; END;Comment Spacinghttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/comments-spacing/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/comments-spacing/Always start comments with // followed by one space character. Bad code RowNo += 1000; //Move way below the budget Good code -RowNo += 1000; // Move way below the budgetEND ELSE Pairhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/end-else-pair/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/end-else-pair/The END ELSE pair should always appear on the same line. Bad code +RowNo += 1000; // Move way below the budgetEND ELSE Pairhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/end-else-pair/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/end-else-pair/The END ELSE pair should always appear on the same line. Bad code IF OppEntry.FIND('-') THEN IF SalesCycleStage.FIND('-') THEN BEGIN ... END ELSE ... Good code -IF OppEntry.FIND('-') THEN IF SalesCycleStage.FIND('-') THEN BEGIN ... END ELSE ...Indentationhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/indentation/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/indentation/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. Bad code +IF OppEntry.FIND('-') THEN IF SalesCycleStage.FIND('-') THEN BEGIN ... END ELSE ...Indentationhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/indentation/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/indentation/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. Bad code IF GLSetup."Unrealized VAT" OR (GLSetup."Prepayment Unrealized VAT" AND NewCVLedgEntryBuf.Prepayment) Good code IF GLSetup."Unrealized VAT" OR (GLSetup."Prepayment Unrealized VAT" AND NewCVLedgEntryBuf.Prepayment) Bad code -IF GenJnlLine."Account No." <\> ICPartner.Code THEN ICPartner.GET("Account No."); IF GenJnlLine.Amount \> 0 THEN BEGIN ... Good codeKeyword Pairs - Indentationhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/keyword-pairs-indentation/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/keyword-pairs-indentation/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 +IF GenJnlLine."Account No." <\> ICPartner.Code THEN ICPartner.GET("Account No."); IF GenJnlLine.Amount \> 0 THEN BEGIN ... Good codeKeyword Pairs - Indentationhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/keyword-pairs-indentation/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/keyword-pairs-indentation/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 IF (x = y) AND (a = b) THEN Good code -IF (x = y) AND (a = b) THENLine Start Keywordshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/line-start-keywords/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/line-start-keywords/The END, IF, REPEAT, FOR, WHILE, ELSE and CASE statement should always start a line. Bad code +IF (x = y) AND (a = b) THENLine Start Keywordshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/line-start-keywords/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/line-start-keywords/The END, IF, REPEAT, FOR, WHILE, ELSE and CASE statement should always start a line. Bad code IF IsContactName THEN ValidateContactName ELSE IF IsSalespersonCode THEN ValidateSalespersonCode ELSE IF IsSalesCycleCode THEN ValidatSalesCycleCode; Good code -IF IsContactName THEN ValidateContactName ELSE IF IsSalespersonCode THEN ValidateSalespersonCode ELSE IF IsSalesCycleCode THEN ValidatSalesCycleCode;Lonely Repeathttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/lonely-repeat/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/lonely-repeat/The REPEAT statement should always be alone on a line. Bad code +IF IsContactName THEN ValidateContactName ELSE IF IsSalespersonCode THEN ValidateSalespersonCode ELSE IF IsSalesCycleCode THEN ValidatSalesCycleCode;Lonely Repeathttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/lonely-repeat/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/lonely-repeat/The REPEAT statement should always be alone on a line. Bad code IF ReservEntry.FINDSET THEN REPEAT Good code -IF ReservEntry.FINDSET THEN REPEATNamed Invocationshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/named-invocations/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/named-invocations/When calling an object statically use the name, not the number Bad code +IF ReservEntry.FINDSET THEN REPEATNamed Invocationshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/named-invocations/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/named-invocations/When calling an object statically use the name, not the number Bad code PAGE.RUNMODAL(525,SalesShptLine) Good code -PAGE.RUNMODAL(PAGE::"Posted Sales Shipment Lines",SalesShptLine)Nested WITHshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/nested-withs/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/nested-withs/Do not nest WITHs that reference different types of objects. Bad code +PAGE.RUNMODAL(PAGE::"Posted Sales Shipment Lines",SalesShptLine)Nested WITHshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/nested-withs/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/nested-withs/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;One Statement Per Linehttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/one-statement-per-line/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/one-statement-per-line/A line of code should not have more than one statement. Bad code +WITH PostedWhseShptLine DO BEGIN ... InsertBufferRec(...,ItemLedgEntry."Serial No.",ItemLedgEntry."Lot No.",...); ... END;One Statement Per Linehttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/one-statement-per-line/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/one-statement-per-line/A line of code should not have more than one statement. Bad code IF OppEntry.FIND('-') THEN EXIT Good code IF OppEntry.FIND('-') THEN EXIT Bad code TotalCost += Cost; TotalAmt += Amt; Good code -TotalCost += Cost; TotalAmt += Amt;Separate IF and ELSEhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/separate-if-and-else/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/separate-if-and-else/IF and ELSE statements should be on separate lines. Bad code +TotalCost += Cost; TotalAmt += Amt;Separate IF and ELSEhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/separate-if-and-else/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/separate-if-and-else/IF and ELSE statements should be on separate lines. Bad code IF Atom\[i+1\] = '\>' THEN HasLogicalOperator := TRUE ELSE BEGIN ... END; Good code -IF Atom\[i+1\] = '\>' THEN HasLogicalOperator := TRUE ELSE BEGIN ... END;Spacing Binary Operatorshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-binary-operators/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-binary-operators/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. Bad code +IF Atom\[i+1\] = '\>' THEN HasLogicalOperator := TRUE ELSE BEGIN ... END;Spacing Binary Operatorshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-binary-operators/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-binary-operators/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. Bad code "Line Discount %" := "Line Discount Amount"/"Line Value"\*100 Good code "Line Discount %" := "Line Discount Amount" / "Line Value" \* 100; Bad code StartDate := CALCDATE('<+'+FORMAT(Days + i)+'D\>', StartDate); Good code -StartDate := CALCDATE('<+' + FORMAT(Days + i) + 'D\>',StartDate); Bad codeSpacing Brackets and ::https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-brackets-and/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-brackets-and/There must be no spaces characters before and after [] dimension brackets symbols or :: option symbols. Bad code +StartDate := CALCDATE('<+' + FORMAT(Days + i) + 'D\>',StartDate); Bad codeSpacing Brackets and ::https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-brackets-and/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-brackets-and/There must be no spaces characters before and after [] dimension brackets symbols or :: option symbols. Bad code A\[i\] \[j\] := Amt; Good code A\[i\]\[j\] := Amt; Bad code "Currency Exchange Rate"."Fix Exchange Rate Amount" :: Currency: Good code "Currency Exchange Rate"."Fix Exchange Rate Amount"::Currency: Bad code IF FIND (Which) THEN Good code -IF FIND(Which) THENSpacing Unary Operatorshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-unary-operators/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-unary-operators/There must be no space between a unary operator and its argument (except for the NOT keyword). Bad code +IF FIND(Which) THENSpacing Unary Operatorshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-unary-operators/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-unary-operators/There must be no space between a unary operator and its argument (except for the NOT keyword). Bad code IF NOT(Type = Type::Item) THEN Good code IF NOT (Type = Type::Item) THEN Bad code DiscAmt := - "Discount Amount"; Good code -DiscAmt := -"Discount Amount";Suggested Abbreviationshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/suggested-abbreviations/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/suggested-abbreviations/Suggested Abbreviations Whenever possible, do not use abbreviations in variables, functions and objects names. +DiscAmt := -"Discount Amount";Suggested Abbreviationshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/suggested-abbreviations/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/suggested-abbreviations/Suggested Abbreviations Whenever possible, do not use abbreviations in variables, functions and objects names. If there is no other choice, then use the suggestions below. Abbreviation Text @@ -103,38 +103,38 @@ Appln application Arriv arrival -AsmTemporary Variable Naminghttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/temporary-variable-naming/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/temporary-variable-naming/The name of a temporary variable must be prefixed with the word Temp and not otherwise. Bad code +AsmTemporary Variable Naminghttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/temporary-variable-naming/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/temporary-variable-naming/The name of a temporary variable must be prefixed with the word Temp and not otherwise. Bad code JobWIPBuffer@1002 : TEMPORARY Record 1018; Good code TempJobWIPBuffer@1002 : TEMPORARY Record 1018; Bad code TempJobWIPBuffer@1002 : Record 1018; Good code -CopyOfJobWIPBuffer@1002 : Record 1018;TextConst Suffixeshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/textconst-suffixes/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/textconst-suffixes/TextConst variable names should have a suffix (an approved three-letter suffix: Msg, Tok, Err, Qst, Lbl, Txt) describing usage. Bad code +CopyOfJobWIPBuffer@1002 : Record 1018;TextConst Suffixeshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/textconst-suffixes/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/textconst-suffixes/TextConst variable names should have a suffix (an approved three-letter suffix: Msg, Tok, Err, Qst, Lbl, Txt) describing usage. Bad code CannotDeleteLine@1005 : TextConst 'ENU=You cannot delete this line because one or more rating values exists.'; ... ERROR(CannotDeleteLine,TABLECAPTION); Good code CannotDeleteLineErr@1005 : TextConst 'ENU=You cannot delete this line because one or more rating values exists.'; ... ERROR(CannotDeleteLineErr,TABLECAPTION); Bad code -Text000@1011 : TextConst 'ENU="has been changed (initial a %1: %2= %3, %4= %5)"'; .Unary Operator Line Endhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unary-operator-line-end/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unary-operator-line-end/Do not end a line with unary operator. Bad code +Text000@1011 : TextConst 'ENU="has been changed (initial a %1: %2= %3, %4= %5)"'; .Unary Operator Line Endhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unary-operator-line-end/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unary-operator-line-end/Do not end a line with unary operator. Bad code "Quantity Handled (Base)" := - "Quantity Handled (Base)"); Good code -"Quantity Handled (Base)" := - "Quantity Handled (Base)");Unnecessary Compound Parenthesishttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-compound-parenthesis/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-compound-parenthesis/Use parenthesis only to enclose compound expressions inside compound expressions. Bad code +"Quantity Handled (Base)" := - "Quantity Handled (Base)");Unnecessary Compound Parenthesishttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-compound-parenthesis/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-compound-parenthesis/Use parenthesis only to enclose compound expressions inside compound expressions. Bad code IF ("Costing Method" = "Costing Method"::Standard) THEN Good code IF "Costing Method" = "Costing Method"::Standard THEN Bad code ProfitPct = -(Profit) / CostAmt \* 100; Good code -ProfitPct = -Profit / CostAmt \* 100;Unnecessary ELSEhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-else/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-else/ELSE should not be used when the last action in the THEN part is an EXIT, BREAK, SKIP, QUIT, ERROR. Bad code +ProfitPct = -Profit / CostAmt \* 100;Unnecessary ELSEhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-else/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-else/ELSE should not be used when the last action in the THEN part is an EXIT, BREAK, SKIP, QUIT, ERROR. Bad code IF IsAdjmtBinCodeChanged THEN ERROR(AdjmtBinCodeChangeNotAllowedErr,...) ELSE ERROR(BinCodeChangeNotAllowedErr,...); Good code -IF IsAdjmtBinCodeChanged THEN ERROR(AdjmtBinCodeChangeNotAllowedErr,...) ERROR(BinCodeChangeNotAllowedErr,...);Unnecessary Function Parenthesishttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-function-parenthesis/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-function-parenthesis/Do not use parenthesis in a function call if the function does not have any parameters. Bad code +IF IsAdjmtBinCodeChanged THEN ERROR(AdjmtBinCodeChangeNotAllowedErr,...) ERROR(BinCodeChangeNotAllowedErr,...);Unnecessary Function Parenthesishttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-function-parenthesis/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-function-parenthesis/Do not use parenthesis in a function call if the function does not have any parameters. Bad code IF ReservMgt.IsPositive() THEN Good code IF ReservMgt.IsPositive THEN Bad code IF ChangeStatusForm.RUNMODAL() <\> ACTION::Yes THEN Good code -IF ChangeStatusForm.RUNMODAL <\> ACTION::Yes THENUnnecessary Separatorshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-separators/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-separators/There should be no unnecessary separators. Bad code +IF ChangeStatusForm.RUNMODAL <\> ACTION::Yes THENUnnecessary Separatorshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-separators/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-separators/There should be no unnecessary separators. Bad code IF Customer.FINDFIRST THEN;; Good code -IF Customer.FINDFIRST THEN;Unnecessary TRUE/FALSEhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-truefalse/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-truefalse/Do not use TRUE or FALSE keywords unnecessarily if the expression is already an logical expression. Bad code +IF Customer.FINDFIRST THEN;Unnecessary TRUE/FALSEhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-truefalse/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-truefalse/Do not use TRUE or FALSE keywords unnecessarily if the expression is already an logical expression. Bad code IF IsPositive() = TRUE THEN Good code IF IsPositive THEN Bad code IF Complete <\> TRUE THEN Good code -IF NOT Complete THENVariable Already Scopedhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/variable-already-scoped/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/variable-already-scoped/Do not use scope ‘’.'' qualifier unnecessarily when a variable is already implicitly or explicitly scoped. It keeps the code simpler. Bad code +IF NOT Complete THENVariable Already Scopedhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/variable-already-scoped/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/variable-already-scoped/Do not use scope ‘’.'' qualifier unnecessarily when a variable is already implicitly or explicitly scoped. It keeps the code simpler. Bad code ReturnRcptHeader.SETRANGE(ReturnRcptHeader."Return Order No.","Document No."); Good code ReturnRcptHeader.SETRANGE("Return Order No.","Document No."); Bad code WITH ChangeLogSetupTable DO BEGIN ... IF ChangeLogSetupTable.DELETE THEN ... END; Good code -WITH ChangeLogSetupTable DO BEGIN ... IF DELETE THEN ... END;Variable Naminghttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/variable-naming/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/variable-naming/Variables that refer to a C/AL object must contain the objects name, abbreviated where necessary. +WITH ChangeLogSetupTable DO BEGIN ... IF DELETE THEN ... END;Variable Naminghttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/variable-naming/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/variable-naming/Variables that refer to a C/AL object must contain the objects name, abbreviated where necessary. A variable must begin with a capital letter. Blanks, periods, and other characters (such as parentheses) that would make quotation marks around a variable necessary must be omitted. If a variable is a compound of two or more words or abbreviations, each word or abbreviation should begin with a capital letter. Bad code -... WIPBuffer@1002 : Record 1018 .Variables Declarations Orderhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/variables-declarations-order/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/variables-declarations-order/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 +... WIPBuffer@1002 : Record 1018 .Variables Declarations Orderhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/variables-declarations-order/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/variables-declarations-order/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 StartingDateFilter@1002 : Text\[30\]; Vend@1003 : Record 23; Good code \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/keyword-pairs-indentation/index.html b/navpatterns/3-cal-coding-guidelines/readability/keyword-pairs-indentation/index.html index 318a1cef..699face7 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/keyword-pairs-indentation/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/keyword-pairs-indentation/index.html @@ -4,17 +4,17 @@ -Keyword Pairs - Indentation :: BC AL Help - - - - - - - - - - +Keyword Pairs - Indentation :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                    - - - + + +
                                                                                                                                                                                  • Related Links
                                                                                                                                                                                  • +
                                                                                                                                                                                  • Contributing
                                                                                                                                                                                    • @@ -228,12 +229,12 @@ THEN
                                                                                                                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/line-start-keywords/index.html b/navpatterns/3-cal-coding-guidelines/readability/line-start-keywords/index.html index 189333bc..390f4d7a 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/line-start-keywords/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/line-start-keywords/index.html @@ -4,17 +4,17 @@ -Line Start Keywords :: BC AL Help - - - - - - - - - - +Line Start Keywords :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                      - - - + + +
                                                                                                                                                                                    • Related Links
                                                                                                                                                                                    • +
                                                                                                                                                                                    • Contributing
                                                                                                                                                                                      • @@ -234,12 +235,12 @@ ValidatSalesCycleCode;
                                                                                                                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/lonely-repeat/index.html b/navpatterns/3-cal-coding-guidelines/readability/lonely-repeat/index.html index 06990f53..ebb9f348 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/lonely-repeat/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/lonely-repeat/index.html @@ -4,17 +4,17 @@ -Lonely Repeat :: BC AL Help - - - - - - - - - - +Lonely Repeat :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                        - - - + + +
                                                                                                                                                                                      • Related Links
                                                                                                                                                                                      • +
                                                                                                                                                                                      • Contributing
                                                                                                                                                                                        • @@ -227,12 +228,12 @@ REPEAT
                                                                                                                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/named-invocations/index.html b/navpatterns/3-cal-coding-guidelines/readability/named-invocations/index.html index dbfcc564..4208cfbc 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/named-invocations/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/named-invocations/index.html @@ -4,17 +4,17 @@ -Named Invocations :: BC AL Help - - - - - - - - - - +Named Invocations :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                          - - - + + +
                                                                                                                                                                                        • Related Links
                                                                                                                                                                                        • +
                                                                                                                                                                                        • Contributing
                                                                                                                                                                                          • @@ -226,12 +227,12 @@ Bad code

                                                                                                                                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/nested-withs/index.html b/navpatterns/3-cal-coding-guidelines/readability/nested-withs/index.html index 3bb697c5..c64746fe 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/nested-withs/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/nested-withs/index.html @@ -4,17 +4,17 @@ -Nested WITHs :: BC AL Help - - - - - - - - - - +Nested WITHs :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                            - - - + + +
                                                                                                                                                                                          • Related Links
                                                                                                                                                                                          • +
                                                                                                                                                                                          • Contributing
                                                                                                                                                                                            • @@ -235,12 +236,12 @@ END;
                                                                                                                                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/one-statement-per-line/index.html b/navpatterns/3-cal-coding-guidelines/readability/one-statement-per-line/index.html index 21326dc9..d072eac0 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/one-statement-per-line/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/one-statement-per-line/index.html @@ -4,17 +4,17 @@ -One Statement Per Line :: BC AL Help - - - - - - - - - - +One Statement Per Line :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                              - - - + + +
                                                                                                                                                                                            • Related Links
                                                                                                                                                                                            • +
                                                                                                                                                                                            • Contributing
                                                                                                                                                                                              • @@ -234,12 +235,12 @@ TotalAmt += Amt;
                                                                                                                                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/separate-if-and-else/index.html b/navpatterns/3-cal-coding-guidelines/readability/separate-if-and-else/index.html index 1cae1d4f..aa50c717 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/separate-if-and-else/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/separate-if-and-else/index.html @@ -4,17 +4,17 @@ -Separate IF and ELSE :: BC AL Help - - - - - - - - - - +Separate IF and ELSE :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                - - - + + +
                                                                                                                                                                                              • Related Links
                                                                                                                                                                                              • +
                                                                                                                                                                                              • Contributing
                                                                                                                                                                                                • @@ -231,12 +232,12 @@ END;
                                                                                                                                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/spacing-binary-operators/index.html b/navpatterns/3-cal-coding-guidelines/readability/spacing-binary-operators/index.html index 722e8b5e..4e21a2be 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/spacing-binary-operators/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/spacing-binary-operators/index.html @@ -4,17 +4,17 @@ -Spacing Binary Operators :: BC AL Help - - - - - - - - - - +Spacing Binary Operators :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                  - - - + + +
                                                                                                                                                                                                • Related Links
                                                                                                                                                                                                • +
                                                                                                                                                                                                • Contributing
                                                                                                                                                                                                  • @@ -238,12 +239,12 @@ Bad code

                                                                                                                                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/spacing-brackets-and/index.html b/navpatterns/3-cal-coding-guidelines/readability/spacing-brackets-and/index.html index 6c89d1fe..c86aa38c 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/spacing-brackets-and/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/spacing-brackets-and/index.html @@ -4,17 +4,17 @@ -Spacing Brackets and :: :: BC AL Help - - - - - - - - - - +Spacing Brackets and :: :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                    - - - + + +
                                                                                                                                                                                                  • Related Links
                                                                                                                                                                                                  • +
                                                                                                                                                                                                  • Contributing
                                                                                                                                                                                                    • @@ -238,12 +239,12 @@ Bad code

                                                                                                                                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/spacing-unary-operators/index.html b/navpatterns/3-cal-coding-guidelines/readability/spacing-unary-operators/index.html index 8aa95252..d005b685 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/spacing-unary-operators/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/spacing-unary-operators/index.html @@ -4,17 +4,17 @@ -Spacing Unary Operators :: BC AL Help - - - - - - - - - - +Spacing Unary Operators :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                      - - - + + +
                                                                                                                                                                                                    • Related Links
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    • Contributing
                                                                                                                                                                                                      • @@ -232,12 +233,12 @@ Bad code

                                                                                                                                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/suggested-abbreviations/index.html b/navpatterns/3-cal-coding-guidelines/readability/suggested-abbreviations/index.html index fa23d5ec..dfead242 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/suggested-abbreviations/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/suggested-abbreviations/index.html @@ -4,17 +4,17 @@ -Suggested Abbreviations :: BC AL Help - - - - - - - - - - +Suggested Abbreviations :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                        - - - + + +
                                                                                                                                                                                                      • Related Links
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      • Contributing
                                                                                                                                                                                                        • @@ -924,12 +925,12 @@ BC AL Help . dev
                                                                                                                                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/temporary-variable-naming/index.html b/navpatterns/3-cal-coding-guidelines/readability/temporary-variable-naming/index.html index 938dc164..976625d5 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/temporary-variable-naming/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/temporary-variable-naming/index.html @@ -4,17 +4,17 @@ -Temporary Variable Naming :: BC AL Help - - - - - - - - - - +Temporary Variable Naming :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                          - - - + + +
                                                                                                                                                                                                        • Related Links
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        • Contributing
                                                                                                                                                                                                          • @@ -231,12 +232,12 @@ BC AL Help . dev
                                                                                                                                                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/textconst-suffixes/index.html b/navpatterns/3-cal-coding-guidelines/readability/textconst-suffixes/index.html index 305db880..b21f69ab 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/textconst-suffixes/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/textconst-suffixes/index.html @@ -4,17 +4,17 @@ -TextConst Suffixes :: BC AL Help - - - - - - - - - - +TextConst Suffixes :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                            - - - + + +
                                                                                                                                                                                                          • Related Links
                                                                                                                                                                                                          • +
                                                                                                                                                                                                          • Contributing
                                                                                                                                                                                                            • @@ -294,12 +295,12 @@ ChartOfAccountsLbl@9647 : TextConst 'ENU=Chart of Accounts';
                                                                                                                                                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/unary-operator-line-end/index.html b/navpatterns/3-cal-coding-guidelines/readability/unary-operator-line-end/index.html index 47133149..64b08932 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/unary-operator-line-end/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/unary-operator-line-end/index.html @@ -4,17 +4,17 @@ -Unary Operator Line End :: BC AL Help - - - - - - - - - - +Unary Operator Line End :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                              - - - + + +
                                                                                                                                                                                                            • Related Links
                                                                                                                                                                                                            • +
                                                                                                                                                                                                            • Contributing
                                                                                                                                                                                                              • @@ -228,12 +229,12 @@ Bad code

                                                                                                                                                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/unnecessary-compound-parenthesis/index.html b/navpatterns/3-cal-coding-guidelines/readability/unnecessary-compound-parenthesis/index.html index 7c516640..8081ba30 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/unnecessary-compound-parenthesis/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/unnecessary-compound-parenthesis/index.html @@ -4,17 +4,17 @@ -Unnecessary Compound Parenthesis :: BC AL Help - - - - - - - - - - +Unnecessary Compound Parenthesis :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                - - - + + +
                                                                                                                                                                                                              • Related Links
                                                                                                                                                                                                              • +
                                                                                                                                                                                                              • Contributing
                                                                                                                                                                                                                • @@ -241,12 +242,12 @@ Bad code

                                                                                                                                                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/unnecessary-else/index.html b/navpatterns/3-cal-coding-guidelines/readability/unnecessary-else/index.html index 5a752574..66873e00 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/unnecessary-else/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/unnecessary-else/index.html @@ -4,17 +4,17 @@ -Unnecessary ELSE :: BC AL Help - - - - - - - - - - +Unnecessary ELSE :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                  - - - + + +
                                                                                                                                                                                                                • Related Links
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                • Contributing
                                                                                                                                                                                                                  • @@ -230,12 +231,12 @@ ERROR(BinCodeChangeNotAllowedErr,...);
                                                                                                                                                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/unnecessary-function-parenthesis/index.html b/navpatterns/3-cal-coding-guidelines/readability/unnecessary-function-parenthesis/index.html index 962f56b6..468cc117 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/unnecessary-function-parenthesis/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/unnecessary-function-parenthesis/index.html @@ -4,17 +4,17 @@ -Unnecessary Function Parenthesis :: BC AL Help - - - - - - - - - - +Unnecessary Function Parenthesis :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                    - - - + + +
                                                                                                                                                                                                                  • Related Links
                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                  • Contributing
                                                                                                                                                                                                                    • @@ -232,12 +233,12 @@ Bad code

                                                                                                                                                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/unnecessary-separators/index.html b/navpatterns/3-cal-coding-guidelines/readability/unnecessary-separators/index.html index 70fcc385..cf5f95d6 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/unnecessary-separators/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/unnecessary-separators/index.html @@ -4,17 +4,17 @@ -Unnecessary Separators :: BC AL Help - - - - - - - - - - +Unnecessary Separators :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                      @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                      - - - + + +
                                                                                                                                                                                                                    • Related Links
                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                    • Contributing
                                                                                                                                                                                                                      • @@ -225,12 +226,12 @@ BC AL Help . dev
                                                                                                                                                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/unnecessary-truefalse/index.html b/navpatterns/3-cal-coding-guidelines/readability/unnecessary-truefalse/index.html index b34d359a..5424cd66 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/unnecessary-truefalse/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/unnecessary-truefalse/index.html @@ -4,17 +4,17 @@ -Unnecessary TRUE/FALSE :: BC AL Help - - - - - - - - - - +Unnecessary TRUE/FALSE :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                        - - - + + +
                                                                                                                                                                                                                      • Related Links
                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                      • Contributing
                                                                                                                                                                                                                        • @@ -232,12 +233,12 @@ Bad code

                                                                                                                                                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/variable-already-scoped/index.html b/navpatterns/3-cal-coding-guidelines/readability/variable-already-scoped/index.html index 4e51fdd3..26ea3c9f 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/variable-already-scoped/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/variable-already-scoped/index.html @@ -4,17 +4,17 @@ -Variable Already Scoped :: BC AL Help - - - - - - - - - - +Variable Already Scoped :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                          - - - + + +
                                                                                                                                                                                                                        • Related Links
                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                        • Contributing
                                                                                                                                                                                                                          • @@ -240,12 +241,12 @@ END;
                                                                                                                                                                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/variable-naming/index.html b/navpatterns/3-cal-coding-guidelines/readability/variable-naming/index.html index 064133e2..f980be0c 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/variable-naming/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/variable-naming/index.html @@ -4,17 +4,17 @@ -Variable Naming :: BC AL Help - - - - - - - - - - +Variable Naming :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                            @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                            - - - + + +
                                                                                                                                                                                                                          • Related Links
                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                          • Contributing
                                                                                                                                                                                                                            • @@ -263,12 +264,12 @@ THEN BEGIN
                                                                                                                                                                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/readability/variables-declarations-order/index.html b/navpatterns/3-cal-coding-guidelines/readability/variables-declarations-order/index.html index 383a3b0a..0dee495a 100644 --- a/navpatterns/3-cal-coding-guidelines/readability/variables-declarations-order/index.html +++ b/navpatterns/3-cal-coding-guidelines/readability/variables-declarations-order/index.html @@ -4,17 +4,17 @@ -Variables Declarations Order :: BC AL Help - - - - - - - - - - +Variables Declarations Order :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                              - - - + + +
                                                                                                                                                                                                                            • Related Links
                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                            • Contributing
                                                                                                                                                                                                                              • @@ -227,12 +228,12 @@ StartingDateFilter@1002 : Text\[30\];
                                                                                                                                                                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/ux/actions-images/index.html b/navpatterns/3-cal-coding-guidelines/ux/actions-images/index.html index 40330b56..260b1e3f 100644 --- a/navpatterns/3-cal-coding-guidelines/ux/actions-images/index.html +++ b/navpatterns/3-cal-coding-guidelines/ux/actions-images/index.html @@ -4,17 +4,17 @@ -Actions - Images :: BC AL Help - - - - - - - - - - +Actions - Images :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                - - - + + +
                                                                                                                                                                                                                              • Related Links
                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                              • Contributing
                                                                                                                                                                                                                                • @@ -231,12 +232,12 @@ Image=Report }
                                                                                                                                                                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/ux/confirm/index.html b/navpatterns/3-cal-coding-guidelines/ux/confirm/index.html index a92bdd6f..c871ab1e 100644 --- a/navpatterns/3-cal-coding-guidelines/ux/confirm/index.html +++ b/navpatterns/3-cal-coding-guidelines/ux/confirm/index.html @@ -4,17 +4,17 @@ -CONFIRM :: BC AL Help - - - - - - - - - - +CONFIRM :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                                  @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                  - - - + + +
                                                                                                                                                                                                                                • Related Links
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                • Contributing
                                                                                                                                                                                                                                  • @@ -230,12 +231,12 @@ IF CONFIRM(ChangeAllOpenedEntriesQst,TRUE) THEN
                                                                                                                                                                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/ux/fielderror/index.html b/navpatterns/3-cal-coding-guidelines/ux/fielderror/index.html index 05db154a..b41905d6 100644 --- a/navpatterns/3-cal-coding-guidelines/ux/fielderror/index.html +++ b/navpatterns/3-cal-coding-guidelines/ux/fielderror/index.html @@ -4,17 +4,17 @@ -FIELDERROR :: BC AL Help - - - - - - - - - - +FIELDERROR :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                    - - - + + +
                                                                                                                                                                                                                                  • Related Links
                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                  • Contributing
                                                                                                                                                                                                                                    • @@ -230,12 +231,12 @@ Cust.FIELDERROR("No.",InvalidValue);
                                                                                                                                                                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/ux/index.html b/navpatterns/3-cal-coding-guidelines/ux/index.html index 8016413a..ae0d7781 100644 --- a/navpatterns/3-cal-coding-guidelines/ux/index.html +++ b/navpatterns/3-cal-coding-guidelines/ux/index.html @@ -3,19 +3,19 @@ - + -UX :: BC AL Help - - - - - - - - - - +UX :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                                                                                                                                      @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                      - - - + + +
                                                                                                                                                                                                                                    • Related Links
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    • Contributing
                                                                                                                                                                                                                                      • @@ -227,12 +228,12 @@ BC AL Help . dev
                                                                                                                                                                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/ux/index.xml b/navpatterns/3-cal-coding-guidelines/ux/index.xml index 39ba67bd..4227a37d 100644 --- a/navpatterns/3-cal-coding-guidelines/ux/index.xml +++ b/navpatterns/3-cal-coding-guidelines/ux/index.xml @@ -1,9 +1,9 @@ -UX on BC AL Helphttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/Recent content in UX on BC AL HelpHugo -- gohugo.ioen-usActions - Imageshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/actions-images/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/actions-images/All actions must have an image assigned to them. Bad code +UX on AL Guidelineshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/Recent content in UX on AL GuidelinesHugo -- gohugo.ioen-usActions - Imageshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/actions-images/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/actions-images/All actions must have an image assigned to them. Bad code { 7 ;1 ;Action ; CaptionML=ENU=Customer - &Balance; RunObject=Report 121 } Good code -{ 7 ;1 ;Action ; CaptionML=ENU=Customer - &Balance; RunObject=Report 121 } Image=Report }CONFIRMhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/confirm/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/confirm/Always end CONFIRM with a question mark. Bad code +{ 7 ;1 ;Action ; CaptionML=ENU=Customer - &Balance; RunObject=Report 121 } Image=Report }CONFIRMhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/confirm/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/confirm/Always end CONFIRM with a question mark. Bad code ChangeAllOpenedEntriesQst@1000 : TextConst 'ENU=Do you want to change all open entries for every customer and vendor that are not blocked'; ... IF CONFIRM(ChangeAllOpenedEntriesQst,TRUE) THEN Good code -ChangeAllOpenedEntriesQst@1000 : TextConst 'ENU=Do you want to change all open entries for every customer and vendor that are not blocked?'; ... IF CONFIRM(ChangeAllOpenedEntriesQst,TRUE) THENFIELDERRORhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/fielderror/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/fielderror/Never use FIELDERROR with a period as it is automatically inserted. Bad code +ChangeAllOpenedEntriesQst@1000 : TextConst 'ENU=Do you want to change all open entries for every customer and vendor that are not blocked?'; ... IF CONFIRM(ChangeAllOpenedEntriesQst,TRUE) THENFIELDERRORhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/fielderror/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/fielderror/Never use FIELDERROR with a period as it is automatically inserted. Bad code InvalidValue@1025 : TextConst 'ENU=is invalid.'; ... Cust.FIELDERROR("No.",InvalidValue); Good code -InvalidValue@1025 : TextConst 'ENU=is invalid'; ... Cust.FIELDERROR("No.",InvalidValue);MESSAGE and ERRORhttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/message-and-error/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/message-and-error/Always end MESSAGE or ERROR with a period. Bad code +InvalidValue@1025 : TextConst 'ENU=is invalid'; ... Cust.FIELDERROR("No.",InvalidValue);MESSAGE and ERRORhttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/message-and-error/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/message-and-error/Always end MESSAGE or ERROR with a period. Bad code CustIsBlockedErr@1025 : TextConst 'ENU=You cannot %1 this type of document when Customer %2 is blocked with type %3'; ... ERROR(CustIsBlockedErr,...); Good code CustIsBlockedErr@1025 : TextConst 'ENU=You cannot %1 this type of document when Customer %2 is blocked with type %3.'; ... ERROR(CustIsBlockedErr,...); \ No newline at end of file diff --git a/navpatterns/3-cal-coding-guidelines/ux/message-and-error/index.html b/navpatterns/3-cal-coding-guidelines/ux/message-and-error/index.html index b65457da..2c55f88b 100644 --- a/navpatterns/3-cal-coding-guidelines/ux/message-and-error/index.html +++ b/navpatterns/3-cal-coding-guidelines/ux/message-and-error/index.html @@ -4,17 +4,17 @@ -MESSAGE and ERROR :: BC AL Help - - - - - - - - - - +MESSAGE and ERROR :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                                        @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                        - - - + + +
                                                                                                                                                                                                                                      • Related Links
                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                      • Contributing
                                                                                                                                                                                                                                        • @@ -230,12 +231,12 @@ ERROR(CustIsBlockedErr,...);
                                                                                                                                                                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/4-get-involved/code-of-conduct/index.html b/navpatterns/4-get-involved/code-of-conduct/index.html index 041db6ff..39341510 100644 --- a/navpatterns/4-get-involved/code-of-conduct/index.html +++ b/navpatterns/4-get-involved/code-of-conduct/index.html @@ -4,17 +4,17 @@ -Code of Conduct :: BC AL Help - - - - - - - - - - +Code of Conduct :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                                          @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                          - - - + + +
                                                                                                                                                                                                                                        • Related Links
                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                        • Contributing
                                                                                                                                                                                                                                          • @@ -227,12 +228,12 @@ BC AL Help . dev
                                                                                                                                                                                                                                            - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/4-get-involved/index.html b/navpatterns/4-get-involved/index.html index 96b0c344..562489d0 100644 --- a/navpatterns/4-get-involved/index.html +++ b/navpatterns/4-get-involved/index.html @@ -3,19 +3,19 @@ - + -(OLD) Get Involved :: BC AL Help - - - - - - - - - - +(OLD) Get Involved :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                                                                                                                                            @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                            - - - + + +
                                                                                                                                                                                                                                          • Related Links
                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                          • Contributing
                                                                                                                                                                                                                                            • @@ -224,12 +225,12 @@ BC AL Help . dev
                                                                                                                                                                                                                                              - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/4-get-involved/index.xml b/navpatterns/4-get-involved/index.xml index eb0aa759..8804e025 100644 --- a/navpatterns/4-get-involved/index.xml +++ b/navpatterns/4-get-involved/index.xml @@ -1,9 +1,9 @@ -(OLD) Get Involved on BC AL Helphttps://bcalhelp.dev/navpatterns/4-get-involved/Recent content in (OLD) Get Involved on BC AL HelpHugo -- gohugo.ioen-usCode of Conducthttps://bcalhelp.dev/navpatterns/4-get-involved/code-of-conduct/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/4-get-involved/code-of-conduct/Find below the rules to be used when disseminating or relating to the NAV Design Patterns. -Only use materials published in text on the NAV Design Patterns Wiki site. If you received from us, any unpublished materials, please observe that they are subject to change and have not been approved for external use. When referencing a NAV Design Pattern, you must remember to also reference its author and company where the author is employed.Patterns Authorshttps://bcalhelp.dev/navpatterns/4-get-involved/patterns-authors/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/4-get-involved/patterns-authors/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 page. +(OLD) Get Involved on AL Guidelineshttps://alguidelines.dev/navpatterns/4-get-involved/Recent content in (OLD) Get Involved on AL GuidelinesHugo -- gohugo.ioen-usCode of Conducthttps://alguidelines.dev/navpatterns/4-get-involved/code-of-conduct/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/4-get-involved/code-of-conduct/Find below the rules to be used when disseminating or relating to the NAV Design Patterns. +Only use materials published in text on the NAV Design Patterns Wiki site. If you received from us, any unpublished materials, please observe that they are subject to change and have not been approved for external use. When referencing a NAV Design Pattern, you must remember to also reference its author and company where the author is employed.Patterns Authorshttps://alguidelines.dev/navpatterns/4-get-involved/patterns-authors/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/4-get-involved/patterns-authors/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 page. Project administrator: Bogdana Botez. Authors (in alphabetical order): Abshishek Ghosh, Microsoft (4 patterns) -Using Query Objects to Detect Duplicates Blocked Entity Single-Record (Setup) Table Temporary Dataset Report Anders Larsen, Microsoft (1 pattern)Template for writing Nav Design Patternshttps://bcalhelp.dev/navpatterns/4-get-involved/template-for-writing-nav-design-patterns/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/4-get-involved/template-for-writing-nav-design-patterns/This is a guideline, some parts are optional (if there’s no content, remove the whole paragraph). +Using Query Objects to Detect Duplicates Blocked Entity Single-Record (Setup) Table Temporary Dataset Report Anders Larsen, Microsoft (1 pattern)Template for writing Nav Design Patternshttps://alguidelines.dev/navpatterns/4-get-involved/template-for-writing-nav-design-patterns/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/4-get-involved/template-for-writing-nav-design-patterns/This is a guideline, some parts are optional (if there’s no content, remove the whole paragraph). <Your name here in italics, plus your company name> «Pattern Title>> Short, descriptive and easy to remember. Pattern Logo Black & white, no text on it. diff --git a/navpatterns/4-get-involved/patterns-authors/index.html b/navpatterns/4-get-involved/patterns-authors/index.html index 7f8bdb82..1c0dbc2a 100644 --- a/navpatterns/4-get-involved/patterns-authors/index.html +++ b/navpatterns/4-get-involved/patterns-authors/index.html @@ -4,17 +4,17 @@ -Patterns Authors :: BC AL Help - - - - - - - - - - +Patterns Authors :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                                              @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                              - - - + + +
                                                                                                                                                                                                                                            • Related Links
                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                            • Contributing
                                                                                                                                                                                                                                              • @@ -512,12 +513,12 @@ _ (2 patterns)

                                                                                                                                                                                                                                                - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/4-get-involved/template-for-writing-nav-design-patterns/index.html b/navpatterns/4-get-involved/template-for-writing-nav-design-patterns/index.html index a08ab97f..55b78e12 100644 --- a/navpatterns/4-get-involved/template-for-writing-nav-design-patterns/index.html +++ b/navpatterns/4-get-involved/template-for-writing-nav-design-patterns/index.html @@ -4,17 +4,17 @@ -Template for writing Nav Design Patterns :: BC AL Help - - - - - - - - - - +Template for writing Nav Design Patterns :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                                                @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                                - - - + + +
                                                                                                                                                                                                                                              • Related Links
                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                              • Contributing
                                                                                                                                                                                                                                                • @@ -256,12 +257,12 @@ BC AL Help . dev
                                                                                                                                                                                                                                                  - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/index.html b/navpatterns/index.html index 1e44d445..baf57d80 100644 --- a/navpatterns/index.html +++ b/navpatterns/index.html @@ -3,19 +3,19 @@ - + -NAV Patterns Archive :: BC AL Help - - - - - - - - - - +NAV Patterns Archive :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                                                                                                                                                  @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                                  - - - + + +
                                                                                                                                                                                                                                                • Related Links
                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                • Contributing
                                                                                                                                                                                                                                                  • @@ -222,12 +223,12 @@ BC AL Help . dev
                                                                                                                                                                                                                                                    - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/index.xml b/navpatterns/index.xml index dc28a2df..92cbc736 100644 --- a/navpatterns/index.xml +++ b/navpatterns/index.xml @@ -1,8 +1,8 @@ -NAV Patterns Archive on BC AL Helphttps://bcalhelp.dev/navpatterns/Recent content in NAV Patterns Archive on BC AL HelpHugo -- gohugo.ioen-us1. Patternshttps://bcalhelp.dev/navpatterns/1-patterns/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/1-patterns/Browse design patterns by tags Originally, this page was categorized set of links to subpages, but that is not necessary now with the menu system to the left.2. Anti-Patternshttps://bcalhelp.dev/navpatterns/2-anti-patterns/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/2-anti-patterns/Some of the software development practices, had not stood the test of time. Despite that, some are still being used today by developers everywhere. +NAV Patterns Archive on AL Guidelineshttps://alguidelines.dev/navpatterns/Recent content in NAV Patterns Archive on AL GuidelinesHugo -- gohugo.ioen-us1. Patternshttps://alguidelines.dev/navpatterns/1-patterns/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/1-patterns/Browse design patterns by tags Originally, this page was categorized set of links to subpages, but that is not necessary now with the menu system to the left.2. Anti-Patternshttps://alguidelines.dev/navpatterns/2-anti-patterns/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/2-anti-patterns/Some of the software development practices, had not stood the test of time. Despite that, some are still being used today by developers everywhere. “An anti-pattern (or antipattern) is a common response to a recurring problem that is usually ineffective and risks being highly counterproductive” (from Wikipedia) -Since almost the beginning of the NAV Design Patterns project, we talked about documenting the anti-patterns - but never found the time. Until, spontaneously, the April 1st 2015 article had practically wrote itself in a couple of hours, with priceless contributions coming from Andreas, Elly, Nikola - and last but not least, waldo.3. CAL Coding Guidelineshttps://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/We’ve decided to publish our current C/AL coding guidelines. They are actual, as per January 2015 when this is published (but might fall out of sync as time goes by). -You can also download the C/AL coding guidelines as pdf, all in one document. In contrast, on this wiki, the coding guidelines are published individually. The reason is: give you the chance to comment and share your oppinion on each one.(OLD) Get Involvedhttps://bcalhelp.dev/navpatterns/4-get-involved/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/4-get-involved/Reminder, this is an ARCHIVE of the Patterns site, this information is not current. Spread the info -NAV Design Patterns are excellent materials for training and knowledge transfer. In your company, you can help new developer get to speed with NAV by recommending them to read and then present to the team one of the most common patterns: No. Series, Setup Table and definitely Hooks which will be a great investment in reducing your upgrade time.Related Linkshttps://bcalhelp.dev/navpatterns/related-links/Mon, 01 Jan 0001 00:00:00 +0000https://bcalhelp.dev/navpatterns/related-links/Find below some related NAV Design Patterns links. +Since almost the beginning of the NAV Design Patterns project, we talked about documenting the anti-patterns - but never found the time. Until, spontaneously, the April 1st 2015 article had practically wrote itself in a couple of hours, with priceless contributions coming from Andreas, Elly, Nikola - and last but not least, waldo.3. CAL Coding Guidelineshttps://alguidelines.dev/navpatterns/3-cal-coding-guidelines/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/We’ve decided to publish our current C/AL coding guidelines. They are actual, as per January 2015 when this is published (but might fall out of sync as time goes by). +You can also download the C/AL coding guidelines as pdf, all in one document. In contrast, on this wiki, the coding guidelines are published individually. The reason is: give you the chance to comment and share your oppinion on each one.(OLD) Get Involvedhttps://alguidelines.dev/navpatterns/4-get-involved/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/4-get-involved/Reminder, this is an ARCHIVE of the Patterns site, this information is not current. Spread the info +NAV Design Patterns are excellent materials for training and knowledge transfer. In your company, you can help new developer get to speed with NAV by recommending them to read and then present to the team one of the most common patterns: No. Series, Setup Table and definitely Hooks which will be a great investment in reducing your upgrade time.Related Linkshttps://alguidelines.dev/navpatterns/related-links/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/navpatterns/related-links/Find below some related NAV Design Patterns links. MSDN NAV Team Blog - posts about patterns NAV Application Design slides from NAV TechDays conference in Antwerp, 2013 NAV Application Design movie from NAV TechDays conference in Antwerp, 2013 diff --git a/navpatterns/related-links/index.html b/navpatterns/related-links/index.html index a3ed56c7..2429398e 100644 --- a/navpatterns/related-links/index.html +++ b/navpatterns/related-links/index.html @@ -4,17 +4,17 @@ -Related Links :: BC AL Help - - - - - - - - - - +Related Links :: AL Guidelines + + + + + + + + + + @@ -23,7 +23,7 @@
                                                                                                                                                                                                                                                    @@ -32,9 +32,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                                    - - - + + +
                                                                                                                                                                                                                                                  • Related Links
                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                  • Contributing
                                                                                                                                                                                                                                                    • @@ -216,17 +217,18 @@ BC AL Help . dev
                                                                                                                                                                                                                                                      - - - - - - - + + + + + + + \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 037f3ead..e1702386 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://bcalhelp.dev/welcome/https://bcalhelp.dev/bcpatterns/https://bcalhelp.dev/bcbestpractices/https://bcalhelp.dev/navpatterns/https://bcalhelp.dev/navpatterns/1-patterns/https://bcalhelp.dev/navpatterns/2-anti-patterns/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/https://bcalhelp.dev/navpatterns/4-get-involved/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/actions-images/https://bcalhelp.dev/navpatterns/1-patterns/activity-log/https://bcalhelp.dev/navpatterns/1-patterns/argument-table/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/begin-as-an-afterword/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/begin-end/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/binary-operator-line-start/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/blank-lines/https://bcalhelp.dev/navpatterns/1-patterns/blocked-entity/https://bcalhelp.dev/navpatterns/1-patterns/cached-web-service-calls/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/captionml-for-system-tables/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/case-actions/https://bcalhelp.dev/navpatterns/4-get-involved/code-of-conduct/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/colon-usage-in-case/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/comments-curly-brackets/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/comments-spacing/https://bcalhelp.dev/navpatterns/1-patterns/conditional-cascading-update/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/confirm/https://bcalhelp.dev/navpatterns/1-patterns/copy-document/https://bcalhelp.dev/navpatterns/1-patterns/create-data-from-templates/https://bcalhelp.dev/navpatterns/1-patterns/create-urls-to-nav-clients/https://bcalhelp.dev/navpatterns/1-patterns/creating-custom-charts/https://bcalhelp.dev/navpatterns/1-patterns/cross-session-events/https://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-table/cue-table/https://bcalhelp.dev/navpatterns/1-patterns/currently-active-record/https://bcalhelp.dev/navpatterns/1-patterns/blocked-entity/data-driven-blocked-entity/https://bcalhelp.dev/navpatterns/1-patterns/data-migration-facade/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/design/https://bcalhelp.dev/navpatterns/1-patterns/discovery-event/https://bcalhelp.dev/navpatterns/1-patterns/document/https://bcalhelp.dev/navpatterns/1-patterns/easy-update-of-setup-or-supplementary-information/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/end-else-pair/https://bcalhelp.dev/navpatterns/1-patterns/error-message-processing/https://bcalhelp.dev/navpatterns/1-patterns/extending-the-role-center-headlines/https://bcalhelp.dev/navpatterns/1-patterns/feature-localization-for-data-structures/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/fieldcaption-and-tablecaption/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/fielderror/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/global-text-constants/https://bcalhelp.dev/navpatterns/1-patterns/hooks/https://bcalhelp.dev/navpatterns/1-patterns/implementation-of-surrogate-keys-using-autoincrement-pattern/https://bcalhelp.dev/navpatterns/1-patterns/notifications/in-context-notifications/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/indentation/https://bcalhelp.dev/navpatterns/1-patterns/instructions-in-the-ui/https://bcalhelp.dev/navpatterns/1-patterns/integration-of-addresses/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/internally-used-dot-net-types/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/internationalization/https://bcalhelp.dev/navpatterns/1-patterns/journal-error-processing/https://bcalhelp.dev/navpatterns/1-patterns/journal-template-batch-line/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/keyword-pairs-indentation/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/line-start-keywords/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/lonely-repeat/https://bcalhelp.dev/navpatterns/1-patterns/master-data/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/message-and-error/https://bcalhelp.dev/navpatterns/1-patterns/multi-file-download/https://bcalhelp.dev/navpatterns/1-patterns/multi-page-list/https://bcalhelp.dev/navpatterns/1-patterns/multilanguage-application-data/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/named-invocations/https://bcalhelp.dev/navpatterns/2-anti-patterns/nav-upgrade/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/nested-withs/https://bcalhelp.dev/navpatterns/1-patterns/net-exception-handling-in-cal/https://bcalhelp.dev/navpatterns/1-patterns/no-series/https://bcalhelp.dev/navpatterns/1-patterns/notifications/notification-lifecycle-management-pattern/https://bcalhelp.dev/navpatterns/1-patterns/notifications/https://bcalhelp.dev/navpatterns/1-patterns/observer/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/one-statement-per-line/https://bcalhelp.dev/navpatterns/4-get-involved/patterns-authors/https://bcalhelp.dev/navpatterns/1-patterns/posting-routine-select-behavior/https://bcalhelp.dev/navpatterns/1-patterns/product-name/https://bcalhelp.dev/navpatterns/1-patterns/queries/https://bcalhelp.dev/navpatterns/1-patterns/read-once-initialization-and-validation/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/https://bcalhelp.dev/navpatterns/related-links/https://bcalhelp.dev/navpatterns/1-patterns/released-entity/https://bcalhelp.dev/navpatterns/1-patterns/report-selection/https://bcalhelp.dev/navpatterns/2-anti-patterns/reusable-bugs/https://bcalhelp.dev/navpatterns/1-patterns/security/https://bcalhelp.dev/navpatterns/1-patterns/queries/select-distinct-with-queries/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/separate-if-and-else/https://bcalhelp.dev/navpatterns/1-patterns/setup-specificity-fallback/https://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-table/setup-table/https://bcalhelp.dev/navpatterns/1-patterns/silent-file-upload-and-download/https://bcalhelp.dev/navpatterns/1-patterns/singleton/https://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-codeunit/https://bcalhelp.dev/navpatterns/1-patterns/singleton/singleton-table/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-binary-operators/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-brackets-and/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-unary-operators/https://bcalhelp.dev/navpatterns/1-patterns/standard-journal/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/suggested-abbreviations/https://bcalhelp.dev/navpatterns/4-get-involved/template-for-writing-nav-design-patterns/https://bcalhelp.dev/navpatterns/1-patterns/temporary-dataset-report/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/temporary-variable-naming/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/textconst-suffixes/https://bcalhelp.dev/navpatterns/1-patterns/totals-and-discounts-on-subpages-sales-and-purchases/https://bcalhelp.dev/navpatterns/1-patterns/transfer-custom-fields/https://bcalhelp.dev/navpatterns/1-patterns/net-exception-handling-in-cal/tryfunction-net-exception-handling-in-cal/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unary-operator-line-end/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-compound-parenthesis/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-else/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-function-parenthesis/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-separators/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-truefalse/https://bcalhelp.dev/navpatterns/1-patterns/queries/use-queries-to-detect-duplicate-records/https://bcalhelp.dev/navpatterns/1-patterns/queries/use-queries-to-replace-nested-loops/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/use-text-constants/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/internationalization/using-calcdate/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/localizability/using-optioncaptionml/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/ux/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/variable-already-scoped/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/variable-naming/https://bcalhelp.dev/navpatterns/3-cal-coding-guidelines/readability/variables-declarations-order/https://bcalhelp.dev/navpatterns/1-patterns/variant-facade/https://bcalhelp.dev/categories/https://bcalhelp.dev/https://bcalhelp.dev/tags/ \ No newline at end of file +https://alguidelines.dev/welcome/https://alguidelines.dev/bcpatterns/https://alguidelines.dev/bcbestpractices/https://alguidelines.dev/navpatterns/https://alguidelines.dev/contributing/https://alguidelines.dev/navpatterns/1-patterns/https://alguidelines.dev/navpatterns/2-anti-patterns/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/https://alguidelines.dev/navpatterns/4-get-involved/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/actions-images/https://alguidelines.dev/navpatterns/1-patterns/activity-log/https://alguidelines.dev/navpatterns/1-patterns/argument-table/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/begin-as-an-afterword/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/begin-end/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/binary-operator-line-start/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/blank-lines/https://alguidelines.dev/navpatterns/1-patterns/blocked-entity/https://alguidelines.dev/navpatterns/1-patterns/cached-web-service-calls/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/captionml-for-system-tables/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/case-actions/https://alguidelines.dev/navpatterns/4-get-involved/code-of-conduct/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/colon-usage-in-case/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/comments-curly-brackets/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/comments-spacing/https://alguidelines.dev/navpatterns/1-patterns/conditional-cascading-update/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/confirm/https://alguidelines.dev/navpatterns/1-patterns/copy-document/https://alguidelines.dev/navpatterns/1-patterns/create-data-from-templates/https://alguidelines.dev/navpatterns/1-patterns/create-urls-to-nav-clients/https://alguidelines.dev/navpatterns/1-patterns/creating-custom-charts/https://alguidelines.dev/navpatterns/1-patterns/cross-session-events/https://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-table/cue-table/https://alguidelines.dev/navpatterns/1-patterns/currently-active-record/https://alguidelines.dev/navpatterns/1-patterns/blocked-entity/data-driven-blocked-entity/https://alguidelines.dev/navpatterns/1-patterns/data-migration-facade/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/design/https://alguidelines.dev/navpatterns/1-patterns/discovery-event/https://alguidelines.dev/navpatterns/1-patterns/document/https://alguidelines.dev/navpatterns/1-patterns/easy-update-of-setup-or-supplementary-information/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/end-else-pair/https://alguidelines.dev/navpatterns/1-patterns/error-message-processing/https://alguidelines.dev/navpatterns/1-patterns/extending-the-role-center-headlines/https://alguidelines.dev/navpatterns/1-patterns/feature-localization-for-data-structures/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/fieldcaption-and-tablecaption/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/fielderror/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/global-text-constants/https://alguidelines.dev/navpatterns/1-patterns/hooks/https://alguidelines.dev/navpatterns/1-patterns/implementation-of-surrogate-keys-using-autoincrement-pattern/https://alguidelines.dev/navpatterns/1-patterns/notifications/in-context-notifications/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/indentation/https://alguidelines.dev/navpatterns/1-patterns/instructions-in-the-ui/https://alguidelines.dev/navpatterns/1-patterns/integration-of-addresses/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/internally-used-dot-net-types/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/internationalization/https://alguidelines.dev/navpatterns/1-patterns/journal-error-processing/https://alguidelines.dev/navpatterns/1-patterns/journal-template-batch-line/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/keyword-pairs-indentation/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/line-start-keywords/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/lonely-repeat/https://alguidelines.dev/navpatterns/1-patterns/master-data/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/message-and-error/https://alguidelines.dev/navpatterns/1-patterns/multi-file-download/https://alguidelines.dev/navpatterns/1-patterns/multi-page-list/https://alguidelines.dev/navpatterns/1-patterns/multilanguage-application-data/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/named-invocations/https://alguidelines.dev/navpatterns/2-anti-patterns/nav-upgrade/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/nested-withs/https://alguidelines.dev/navpatterns/1-patterns/net-exception-handling-in-cal/https://alguidelines.dev/navpatterns/1-patterns/no-series/https://alguidelines.dev/navpatterns/1-patterns/notifications/notification-lifecycle-management-pattern/https://alguidelines.dev/navpatterns/1-patterns/notifications/https://alguidelines.dev/navpatterns/1-patterns/observer/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/one-statement-per-line/https://alguidelines.dev/navpatterns/4-get-involved/patterns-authors/https://alguidelines.dev/navpatterns/1-patterns/posting-routine-select-behavior/https://alguidelines.dev/navpatterns/1-patterns/product-name/https://alguidelines.dev/navpatterns/1-patterns/queries/https://alguidelines.dev/navpatterns/1-patterns/read-once-initialization-and-validation/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/https://alguidelines.dev/navpatterns/related-links/https://alguidelines.dev/navpatterns/1-patterns/released-entity/https://alguidelines.dev/navpatterns/1-patterns/report-selection/https://alguidelines.dev/navpatterns/2-anti-patterns/reusable-bugs/https://alguidelines.dev/navpatterns/1-patterns/security/https://alguidelines.dev/navpatterns/1-patterns/queries/select-distinct-with-queries/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/separate-if-and-else/https://alguidelines.dev/navpatterns/1-patterns/setup-specificity-fallback/https://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-table/setup-table/https://alguidelines.dev/navpatterns/1-patterns/silent-file-upload-and-download/https://alguidelines.dev/navpatterns/1-patterns/singleton/https://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-codeunit/https://alguidelines.dev/navpatterns/1-patterns/singleton/singleton-table/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-binary-operators/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-brackets-and/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/spacing-unary-operators/https://alguidelines.dev/navpatterns/1-patterns/standard-journal/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/suggested-abbreviations/https://alguidelines.dev/navpatterns/4-get-involved/template-for-writing-nav-design-patterns/https://alguidelines.dev/navpatterns/1-patterns/temporary-dataset-report/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/temporary-variable-naming/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/textconst-suffixes/https://alguidelines.dev/navpatterns/1-patterns/totals-and-discounts-on-subpages-sales-and-purchases/https://alguidelines.dev/navpatterns/1-patterns/transfer-custom-fields/https://alguidelines.dev/navpatterns/1-patterns/net-exception-handling-in-cal/tryfunction-net-exception-handling-in-cal/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unary-operator-line-end/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-compound-parenthesis/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-else/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-function-parenthesis/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-separators/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/unnecessary-truefalse/https://alguidelines.dev/navpatterns/1-patterns/queries/use-queries-to-detect-duplicate-records/https://alguidelines.dev/navpatterns/1-patterns/queries/use-queries-to-replace-nested-loops/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/use-text-constants/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/internationalization/using-calcdate/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/localizability/using-optioncaptionml/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/ux/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/variable-already-scoped/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/variable-naming/https://alguidelines.dev/navpatterns/3-cal-coding-guidelines/readability/variables-declarations-order/https://alguidelines.dev/navpatterns/1-patterns/variant-facade/https://alguidelines.dev/categories/https://alguidelines.dev/https://alguidelines.dev/tags/ \ No newline at end of file diff --git a/tags/index.html b/tags/index.html index 237e86ce..6c528a11 100644 --- a/tags/index.html +++ b/tags/index.html @@ -3,19 +3,19 @@ - + -Tags :: BC AL Help - - - - - - - - - - +Tags :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                                                                                                                                                      @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                                      - - - + + +
                                                                                                                                                                                                                                                    • Related Links
                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                    • Contributing
                                                                                                                                                                                                                                                      • @@ -205,18 +206,18 @@ BC AL Help . dev
                                                                                                                                                                                                                                                        - - - - - - - + + + + + + + \ No newline at end of file diff --git a/tags/index.xml b/tags/index.xml index 1a80b2a8..431cbd8e 100644 --- a/tags/index.xml +++ b/tags/index.xml @@ -1 +1 @@ -Tags on BC AL Helphttps://bcalhelp.dev/tags/Recent content in Tags on BC AL HelpHugo -- gohugo.ioen-us \ No newline at end of file +Tags on AL Guidelineshttps://alguidelines.dev/tags/Recent content in Tags on AL GuidelinesHugo -- gohugo.ioen-us \ No newline at end of file diff --git a/welcome/index.html b/welcome/index.html index b6b90705..b2fcf7ea 100644 --- a/welcome/index.html +++ b/welcome/index.html @@ -3,19 +3,19 @@ - + -Welcome :: BC AL Help - - - - - - - - - - +Welcome :: AL Guidelines + + + + + + + + + + @@ -24,7 +24,7 @@
                                                                                                                                                                                                                                                        @@ -33,9 +33,9 @@ BC AL Help . dev
                                                                                                                                                                                                                                                        - - - + + +
                                                                                                                                                                                                                                                      • Related Links
                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                      • Contributing
                                                                                                                                                                                                                                                        • @@ -215,12 +216,12 @@ BC AL Help . dev
                                                                                                                                                                                                                                                          - - - - - - - + + + + + + + \ No newline at end of file diff --git a/welcome/index.xml b/welcome/index.xml index 068418a4..a228300d 100644 --- a/welcome/index.xml +++ b/welcome/index.xml @@ -1 +1 @@ -Welcome on BC AL Helphttps://bcalhelp.dev/welcome/Recent content in Welcome on BC AL HelpHugo -- gohugo.ioen-us \ No newline at end of file +Welcome on AL Guidelineshttps://alguidelines.dev/welcome/Recent content in Welcome on AL GuidelinesHugo -- gohugo.ioen-us \ No newline at end of file