---
id: object/page/8125
type: object
title: Page 8125 "Report Filename Patterns"
summary: Page 8125 "Report Filename Patterns" in ReportFilenameManager (Microsoft.Foundation.Reporting.FileNaming). 1 public procedures. Introduced in BC30.
tier: official
language: en
tags:
  - page
  - reportfilenamemanager
versions:
  introduced: "30"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-31T00:48:20.076Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: bee0781fe627beef8f902cd618c6abd2b48b298ad03d1fb7884beec24ae772c1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/d2abc1d2ceae394331716c8183ef60e1534c2ce0/src/Apps/W1/ReportFilenameManager/app/src/page/ReportFilenamePatterns.Page.al
    title: src/Apps/W1/ReportFilenameManager/app/src/page/ReportFilenamePatterns.Page.al (main)
    date: null
    commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12610
object_type: page
object_id: 8125
name: Report Filename Patterns
namespace: Microsoft.Foundation.Reporting.FileNaming
app: ReportFilenameManager
extends: null
first_version: "30"
last_version: "30"
present_in:
  - "30"
changed_in: []
source_major: "30"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 8
  events: 0
  subscribers: 0
  controls: 10
  actions: 6
relations:
  out: 2
  referenced_by: 0
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 8125 "Report Filename Patterns"

> Page 8125 "Report Filename Patterns" in ReportFilenameManager (Microsoft.Foundation.Reporting.FileNaming). 1 public procedures. Introduced in BC30.

ReportFilenameManager · Microsoft.Foundation.Reporting.FileNaming · BC30 · [source at d2abc1d2](https://github.com/microsoft/BCApps/blob/d2abc1d2ceae394331716c8183ef60e1534c2ce0/src/Apps/W1/ReportFilenameManager/app/src/page/ReportFilenamePatterns.Page.al) · facts from BC30

## Properties

| Property | Value |
|---|---|
| Caption | Report Filename Patterns |
| SourceTable | Report Filename Pattern |
| PageType | List |
| UsageCategory | Administration |
| ApplicationArea | All |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Patterns | Table Caption | [Table Caption](../table/8125.md#fields) | Specifies the table this pattern applies to - the records that one file is named after. It decides which patterns can apply and which fields are offered as placeholders. Choosing a report fills this in. Leave the report blank and choose a table to cover every report on that table. <small>from the table field</small> |
|  | Report Name | [Report Name](../table/8125.md#fields) | Specifies the report this pattern applies to. Leave it blank to apply the pattern to every report on the same table. <small>from the table field</small> |
|  | Enabled | [Enabled](../table/8125.md#fields) | Specifies whether this pattern is used. <small>from the table field</small> |
|  | Priority | `Rec.Priority()` | Specifies which pattern is used when more than one applies to the same file. 1 is the highest. It follows from what the pattern specifies: a table filter counts most, then a report, a table, an output route and a language. When two patterns have the same priority, the one created first is used. |
|  | File Name Pattern | [File Name Pattern](../table/8125.md#fields) | Specifies the file name without the extension. Use placeholders in square brackets, such as Invoice-[No.]. The output format adds the extension automatically. <small>from the table field</small> |
|  | Output Route Filter | `RouteFilterText` | Specifies which ways out of Business Central this pattern applies to, such as Print\|Preview. All routes when it is blank. |
|  | Language Code | [Language Code](../table/8125.md#fields) | Specifies the language this pattern applies to. Leave it blank to apply the pattern to every language. <small>from the table field</small> |
|  | Table Filter | `TableFilterText` | Specifies a filter the records must match for this pattern to apply, such as a reminder level. |
|  | Date Format | [Date Format](../table/8125.md#fields) | Specifies how dates are written in the file name. <small>from the table field</small> |
| FactBoxes | Example File Name | part [Page 8127 "Report Filename Preview"](../page/8127.md) | — |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Test pattern | Opens a page where you choose records and see the file name they would get, and whether that name comes from this pattern, from another pattern, or is Business Central's own file name. |  |
|  | Copy | Creates a copy of the selected pattern, turned off, and opens it so you can change it - for example, to make a version for another output route or language. |  |
|  | Enable | Turns on the selected patterns. A pattern must have a file name pattern and a report or a table before it can be turned on. |  |
|  | Disable | Turns off the selected patterns. They are kept, and name nothing until they are turned on again. |  |
|  | Show overlapping patterns | Opens the patterns that could apply to the same files as the selected pattern, with their priorities, so you can see which one is used. Table filters are not compared, so use Test Pattern to check real records. |  |
| Navigation | Setup | Opens the setup, where you turn file name patterns on or off and set the maximum file name length for all patterns. | [Page 8134 "Report Filename Setup"](../page/8134.md) |

## Procedures

- `SetOverlapping(Selected: Record "Report Filename Pattern")` (internal): Must be called before the page opens, when field visibility is read.

Plus 7 local procedures.

## Triggers

OnAfterGetRecord, OnOpenPage

## Relations

- card page [Page 8126 "Report Filename Pattern Card"](../page/8126.md)
- source table [Table 8125 "Report Filename Pattern"](../table/8125.md)

## Pages and codeunits on this table

- [Table 8125 "Report Filename Pattern"](../table/8125.md) (drill-down page)
- [Table 8125 "Report Filename Pattern"](../table/8125.md) (lookup page)

## Recent changes

- 2026-10-27 [#12610 [Report Filename Manager] New app for configurable report output file names - Slice 651696 [vendor work]](../../changes/bcapps/12610.md) (main, BC30, feature, added)

## Across versions

- Present in: BC30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Report Filename Patterns")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
