================================================================================
Report with UseRequestPage property true
================================================================================

report 50000 "Test Report"
{
    Caption = 'Test Report';
    ProcessingOnly = true;
    UseRequestPage = true;

    dataset
    {
        dataitem(Integer; Integer)
        {
            column(Number; Number)
            {
            }
        }
    }
}

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

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

================================================================================
Report with UseRequestPage property false
================================================================================

report 50001 "No Request Page Report"
{
    UseRequestPage = false;
    ProcessingOnly = false;

    dataset
    {
        dataitem(Item; Item)
        {
            column(No; "No.")
            {
            }
        }
    }
}

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

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

================================================================================
Report with only UseRequestPage property
================================================================================

report 50002 "Simple Report"
{
    UseRequestPage = true;

    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: (boolean))
    (dataset_section
      (dataset_keyword)
      (report_dataitem
        (dataitem_keyword)
        name: (identifier)
        table_name: (identifier)
        (report_column
          (column_keyword)
          name: (identifier)
          source: (identifier))))))

================================================================================
Report with mixed properties including UseRequestPage
================================================================================

report 50003 "Complex Report"
{
    Caption = 'Complex Report Example';
    UsageCategory = ReportsAndAnalysis;
    ApplicationArea = All;
    ProcessingOnly = false;
    UseRequestPage = true;
    Description = 'A report with request page';

    dataset
    {
        dataitem(Vendor; Vendor)
        {
            column(No; "No.")
            {
            }
            column(Name; Name)
            {
            }
        }
    }

    requestpage
    {
        layout
        {
        }
    }

    labels
    {
    }
}

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

(source_file
  (report_declaration
    (report_keyword)
    object_id: (integer)
    object_name: (quoted_identifier)
    (property
      name: (property_name)
      value: (string_literal))
    (property
      name: (property_name)
      value: (identifier))
    (property
      name: (property_name)
      value: (identifier))
    (property
      name: (property_name)
      value: (boolean))
    (property
      name: (property_name)
      value: (boolean))
    (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: (quoted_identifier))
        (report_column
          (column_keyword)
          name: (identifier)
          source: (identifier))))
    (requestpage_section
      (requestpage_keyword)
      (layout_section
        (layout_keyword)))
    (labels_section
      (labels_keyword))))

================================================================================
Report with UseRequestPage and case variations
================================================================================

report 50004 "Case Test"
{
    UseRequestPage = TRUE;
    ProcessingOnly = FALSE;

    dataset
    {
        dataitem(GLEntry; "G/L Entry")
        {
            column(EntryNo; "Entry No.")
            {
            }
        }
    }
}

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

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