================================================================================
ExecutionTimeout with simple duration (hh:mm:ss)
================================================================================

report 50000 "Test Report"
{
    ExecutionTimeout = '12:00:00';
}

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

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

================================================================================
ExecutionTimeout with days and hours
================================================================================

report 50001 "Long Running Report"
{
    ExecutionTimeout = '2.03:30:00';
    ProcessingOnly = true;
}

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

(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))))

================================================================================
ExecutionTimeout with fractional seconds
================================================================================

report 50002 "Precise Timeout Report"
{
    ExecutionTimeout = '00:00:30.500';
}

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

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

================================================================================
ExecutionTimeout with full precision
================================================================================

report 50003 "Full Precision Report"
{
    ExecutionTimeout = '1.23:59:59.9999999';
}

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

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

================================================================================
ExecutionTimeout in real report context
================================================================================

report 50004 "Auto Posting Errors"
{
    Caption = 'Auto Posting Errors';
    ProcessingOnly = true;
    MaximumDatasetSize = 1000000;
    ExecutionTimeout = '12:00:00';
    MaximumDocumentCount = 500;

    dataset
    {
        dataitem("Gen. Journal Batch"; "Gen. Journal Batch")
        {
            RequestFilterFields = "Journal Template Name", Name;
            
            trigger OnAfterGetRecord()
            begin
                // Processing logic
            end;
        }
    }
}

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

(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: (integer))
    (property
      name: (property_name)
      value: (string_literal))
    (property
      name: (property_name)
      value: (integer))
    (dataset_section
      (dataset_keyword)
      (report_dataitem
        (dataitem_keyword)
        name: (quoted_identifier)
        table_name: (quoted_identifier)
        (property
          name: (property_name)
          value: (option_member_list
            (option_member
              (quoted_identifier))
            (option_member
              (identifier))))
        (trigger_declaration
          (trigger_keyword)
          name: (identifier)
          (code_block
            (comment)))))))

================================================================================
ExecutionTimeout with single digit hours
================================================================================

report 50005 "Single Hour Report"
{
    ExecutionTimeout = '1:30:00';
}

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

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