diff --git a/404.html b/404.html index ee39485c..64d0f724 100644 --- a/404.html +++ b/404.html @@ -5,14 +5,14 @@ 404 Page not found :: AL Guidelines - - - - - - - - + + + + + + + + diff --git a/bcbestpractices/index.html b/bcbestpractices/index.html index c3347c7f..dd4977e0 100644 --- a/bcbestpractices/index.html +++ b/bcbestpractices/index.html @@ -6,16 +6,16 @@ BC Dev. Best Practices :: AL Guidelines - - - - - - - - - - + + + + + + + + + + @@ -33,9 +33,9 @@ ALGuidelines.Dev - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - - - - - + + + + + + + \ No newline at end of file diff --git a/bcbestpractices/readability/index.xml b/bcbestpractices/readability/index.xml index e73d41f1..756370fe 100644 --- a/bcbestpractices/readability/index.xml +++ b/bcbestpractices/readability/index.xml @@ -1 +1,4 @@ -Readability on AL Guidelineshttps://alguidelines.dev/bcbestpractices/readability/Recent content in Readability on AL GuidelinesHugo -- gohugo.ioen-us \ No newline at end of file +Readability on AL Guidelineshttps://alguidelines.dev/bcbestpractices/readability/Recent content in Readability on AL GuidelinesHugo -- gohugo.ioen-usVariables Declarations Orderhttps://alguidelines.dev/bcbestpractices/readability/variables-declarations-order/Mon, 01 Jan 0001 00:00:00 +0000https://alguidelines.dev/bcbestpractices/readability/variables-declarations-order/<Created by Microsoft, Described by waldo> +Description 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: +Record Report Codeunit XmlPort Page Query Notification BigText DateFormula RecordId RecordRef FieldRef FilterPageBuilder (Ref: Microsoft Docs) +Bad code StartingDateFilter : Text; Vendor : Record Vendor; Good code Vendor : Record Vendor; StartingDateFilter : Text; Discussions You can find discussions on all “Best Practices” here. \ No newline at end of file diff --git a/bcbestpractices/readability/variables-declarations-order/index.html b/bcbestpractices/readability/variables-declarations-order/index.html new file mode 100644 index 00000000..3a4a21ef --- /dev/null +++ b/bcbestpractices/readability/variables-declarations-order/index.html @@ -0,0 +1,294 @@ + + + + + + +Variables Declarations Order :: AL Guidelines + + + + + + + + + + + + + + + +
    +
    +
    + +
    +
    +
    +

    Variables Declarations Order

    +

    <Created by Microsoft, Described by waldo>

    +

    Description

    +

    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:

    +
      +
    • Record
    • +
    • Report
    • +
    • Codeunit
    • +
    • XmlPort
    • +
    • Page
    • +
    • Query
    • +
    • Notification
    • +
    • BigText
    • +
    • DateFormula
    • +
    • RecordId
    • +
    • RecordRef
    • +
    • FieldRef
    • +
    • FilterPageBuilder
    • +
    +

    (Ref: Microsoft Docs)

    +

    Bad code

    +
        StartingDateFilter : Text;
    +    Vendor : Record Vendor;
    +

    Good code

    +
        Vendor : Record Vendor;
    +    StartingDateFilter : Text;
    +

    Discussions

    +

    You can find discussions on all “Best Practices” here.

    +

    If you don’t find the discussion of this guideline, please feel fee to create a new one with the same title as this article.

    +
    +
    +
    +
    + +
    +
    +
    +
    + + + + + + + + + \ No newline at end of file diff --git a/bcpatterns/facade-pattern/index.html b/bcpatterns/facade-pattern/index.html index eabaa39b..05664d86 100644 --- a/bcpatterns/facade-pattern/index.html +++ b/bcpatterns/facade-pattern/index.html @@ -5,16 +5,16 @@ Facade Pattern :: AL Guidelines - - - - - - - - - - + + + + + + + + + + @@ -32,9 +32,9 @@ ALGuidelines.Dev - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - - - - - + + + + + + + \ 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 6affd85d..1218f4fa 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 @@ -5,16 +5,16 @@ Data Driven Blocked Entity :: AL Guidelines - - - - - - - - - - + + + + + + + + + + @@ -32,9 +32,9 @@ ALGuidelines.Dev - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - - - - - + + + + + + + \ 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 d7d97da1..127f4d61 100644 --- a/navpatterns/1-patterns/create-urls-to-nav-clients/index.html +++ b/navpatterns/1-patterns/create-urls-to-nav-clients/index.html @@ -5,16 +5,16 @@ Create URLs to NAV Clients :: AL Guidelines - - - - - - - - - - + + + + + + + + + + @@ -32,9 +32,9 @@ ALGuidelines.Dev - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - - - - - + + + + + + + \ 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 8b31606a..814a3d3d 100644 --- a/navpatterns/1-patterns/creating-custom-charts/index.html +++ b/navpatterns/1-patterns/creating-custom-charts/index.html @@ -5,16 +5,16 @@ Creating Custom Charts :: AL Guidelines - - - - - - - - - - + + + + + + + + + + @@ -32,9 +32,9 @@ ALGuidelines.Dev - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - - - - - + + + + + + + \ 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 2ca88469..34649d71 100644 --- a/navpatterns/1-patterns/error-message-processing/index.html +++ b/navpatterns/1-patterns/error-message-processing/index.html @@ -5,16 +5,16 @@ Error Message Processing :: AL Guidelines - - - - - - - - - - + + + + + + + + + + @@ -32,9 +32,9 @@ ALGuidelines.Dev - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - - - - - + + + + + + + \ No newline at end of file diff --git a/navpatterns/related-links/index.html b/navpatterns/related-links/index.html index 5e875994..b244c2f2 100644 --- a/navpatterns/related-links/index.html +++ b/navpatterns/related-links/index.html @@ -5,16 +5,16 @@ Related Links :: AL Guidelines - - - - - - - - - - + + + + + + + + + + @@ -32,9 +32,9 @@ ALGuidelines.Dev - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive
  • - - - + + +
  • BC Dev. Best Practices
  • +
  • Readability
  • NAV Patterns Archive