================================================================================
Basic report with DefaultLayout
================================================================================

report 1004 "Close Inventory Period - Test"
{
    DefaultLayout = RDLC;
    Caption = 'Close Inventory Period - Test';
}

--------------------------------------------------------------------------------

(source_file
  (report_declaration
    (report_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (property
      name: (property_name)
      value: (identifier))
    (property
      name: (property_name)
      value: (string_literal))))

================================================================================
Report with mixed layout properties
================================================================================

report 50100 "Sales Report"
{
    DefaultLayout = Word;
    WordLayout = './Layouts/SalesReport.docx';
    RDLCLayout = './Layouts/SalesReport.rdlc';
    Caption = 'Sales Report';
    
    dataset
    {
        dataitem(Customer; Customer)
        {
            column(Name; Name) { }
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (report_declaration
    (report_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (property
      name: (property_name)
      value: (identifier))
    (property
      name: (property_name)
      value: (string_literal))
    (property
      name: (property_name)
      value: (string_literal))
    (property
      name: (property_name)
      value: (string_literal))
    (dataset_section
      (dataset_keyword)
      (report_dataitem
        (dataitem_keyword)
        name: (identifier)
        table_name: (identifier)
        (report_column
          (column_keyword)
          name: (identifier)
          source: (identifier))))))

================================================================================
Report with DefaultLayout and RDLCLayout
================================================================================

report 1001 "Inventory Valuation"
{
    DefaultLayout = RDLC;
    RDLCLayout = './Inventory/Reports/InventoryValuation.rdlc';
    Caption = 'Inventory Valuation';
    EnableHyperlinks = true;
}

--------------------------------------------------------------------------------

(source_file
  (report_declaration
    (report_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (property
      name: (property_name)
      value: (identifier))
    (property
      name: (property_name)
      value: (string_literal))
    (property
      name: (property_name)
      value: (string_literal))
    (property
      name: (property_name)
      value: (boolean))))

================================================================================
Report with DefaultLayout case variations
================================================================================

report 50101 "Test Report"
{
    defaultlayout = RDLC;
    DEFAULTLAYOUT = Word;
    DefaultLayout = Excel;
}

--------------------------------------------------------------------------------

(source_file
  (report_declaration
    (report_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (property
      name: (property_name)
      value: (identifier))
    (property
      name: (property_name)
      value: (identifier))
    (property
      name: (property_name)
      value: (identifier))))

================================================================================
Report from error file with all properties
================================================================================

report 1004 "Close Inventory Period - Test"
{
    DefaultLayout = RDLC;
    RDLCLayout = './Inventory/Reports/CloseInventoryPeriodTest.rdlc';
    Caption = 'Close Inventory Period - Test';
    EnableHyperlinks = true;
    
    dataset
    {
        dataitem("Accounting Period"; "Accounting Period")
        {
            DataItemTableView = sorting("Starting Date");
            RequestFilterFields = "Starting Date";
            
            column(CompanyName; CompanyProperty.DisplayName())
            {
            }
        }
    }
}

--------------------------------------------------------------------------------

(source_file
  (report_declaration
    (report_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (property
      name: (property_name)
      value: (identifier))
    (property
      name: (property_name)
      value: (string_literal))
    (property
      name: (property_name)
      value: (string_literal))
    (property
      name: (property_name)
      value: (boolean))
    (dataset_section
      (dataset_keyword)
      (report_dataitem
        (dataitem_keyword)
        name: (quoted_identifier)
        table_name: (quoted_identifier)
        (property
          name: (property_name)
          value: (sorting_value
            (quoted_identifier)))
        (property
          name: (property_name)
          value: (quoted_identifier))
        (report_column
          (column_keyword)
          name: (identifier)
          source: (call_expression
            function: (member_expression
              object: (identifier)
              member: (identifier))
            arguments: (argument_list)))))))
