tablePlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Table 8125 "Report Filename Pattern"

ReportFilenameManager · Microsoft.Foundation.Reporting.FileNaming

Across versions

  1. BC23-29not present
  2. BC30present

Neighbourhood 5 connected objects and pages

Table 8 "Language" (relates to)LanguagePage 8125 "Report Filename Patterns" (pages and codeunits on it, 3 links)Report Filename PatternsPage 8126 "Report Filename Pattern Card" (pages and codeunits on it)Report Filename Pattern CardPage 8127 "Report Filename Preview" (pages and codeunits on it)Report Filename PreviewTable 8130 "Report Filename Setup" (referenced by)Report Filename Setup

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

ReportFilenameManager · Microsoft.Foundation.Reporting.FileNaming · BC30 · source at d2abc1d2 · facts from BC30

Properties

Property Value
Caption Report Filename Pattern
Access Public
DataClassification CustomerContent
LookupPageId Report Filename Patterns
DrillDownPageId Report Filename Patterns
Permissions tabledata “Report Filename Pattern” = r

Fields

Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

No. Name Type Explanation Notes
1 Entry No. Integer — not editable; AutoIncrement
2 Report ID Integer Specifies the ID of the report this pattern applies to. Leave it blank to apply the pattern to every report on the same table. TableRelation “Report Metadata”.ID where(ProcessingOnly = const(false))
3 Table No. Integer Specifies the number of the table this pattern applies to. Table Caption shows it by name. TableRelation “Table Metadata”.ID
4 Table Filter Blob Specifies a filter the records must match for this pattern to apply, such as a reminder level. Leave it blank to apply the pattern to every record in the table.
23 Output Route Filter Text[250] Specifies which ways out of Business Central this pattern applies to, such as Print|Preview. All routes when it is blank. Choose the field to select routes; each one says what produces a file on it.
6 Language Code Code[10] Specifies the language this pattern applies to. Leave it blank to apply the pattern to every language. TableRelation Table 8 “Language”
7 File Name Pattern Text[250] Specifies the file name without the extension. Use placeholders in square brackets, such as Invoice-[No.]. The output format adds the extension automatically.
8 Date Format Enum “Report Filename Date Format” Specifies how dates are written in the file name. enum Enum 8126 “Report Filename Date Format”
10 Max. Values Named Integer Specifies how many different values each placeholder lists when one file covers several records. Repeated values are listed once. Beyond this number, only the first and the last value are named, joined by the range word.
11 Separator Text[5] Specifies the text placed between the records named in one file, when the file covers several records - for example, a report run for a range of invoices or for several customers. A file for a single record never uses it. To put text between two placeholders, type it into the file name pattern.
22 Range Word Text[10] Specifies the word placed between the first and the last record when a run covers more records than are named one by one, so the name reads 10000-to-99999. It sits between two separators. Leave it blank to join the two with the separator only.
12 Enabled Boolean Specifies whether this pattern is used.
13 Language Code Field Integer Specifies which field on the table holds the language of the record: a field that relates to the Language table. Where a run covers several records, they must all have the same language, or the run has none. Suggested when the table has one such field. TableRelation Field.“No.” where(TableNo = field(“Table No.”), Class = const(Normal))
14 App ID Guid — not editable
15 Placeholder Binding Blob —
20 Table Caption Text[250] 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. FlowField: lookup(“Table Metadata”.Caption where(ID = field(“Table No.”))); not editable
21 Report Name Text[250] Specifies the report this pattern applies to. Leave it blank to apply the pattern to every report on the same table. FlowField: lookup(“Report Metadata”.Caption where(ID = field(“Report ID”))); not editable

Keys

  • PK: Entry No. (clustered)
  • Selection: Enabled, Report ID, Table No.
  • Grouping: Table No., Report ID, Language Code

Procedures

  • LookupTableFilter() (internal)
  • WriteTableFilter(ViewText: Text) (internal): Sets the filter on the record in memory without saving, for code that builds a row before inserting it.
  • GetTableFilterView(): Text (internal)
  • HasTableFilter(): Boolean (internal)
  • GetTableFilterDisplayText(): Text (internal): The filter as captions and values (GetFilters), not view syntax.
  • NoTableFilterText(): Text (internal): Shared by the card and the list so both show the same text.
  • LookupOutputRouteFilter() (internal): Closing the page with Close returns OK, so the ticks are kept as any page edit is.
  • SetOutputRoutes(Routes: List of [Integer]) (internal): Sets the record in memory. No routes, or every route, is stored as blank so routes added later by other extensions are covered too. Any is never stored.
  • GetOutputRoutes(var Routes: List of [Integer]) (internal): Receives enum ordinals; empty when the pattern applies to every route.
  • HasOutputRouteFilter(): Boolean (internal)
  • AppliesToRoute(Route: Enum "Report Filename Output Route"): Boolean (internal): A pattern with no route filter applies to every route, including Any.
  • OutputRouteFilterText(): Text (internal): Route captions joined by |, or “All routes”.
  • DefaultTestRoute(): Enum "Report Filename Output Route" (internal): The pattern’s first route, or Any when it applies to every route.
  • Specificity(HasTableFilterValue: Boolean): Integer (internal): The higher score wins when several patterns apply. Used both by naming and by Priority, so they cannot disagree. Each criterion has its own power of two; on a tie the pattern created first wins.
  • Priority(): Integer (internal): 1 (highest) to 32.
  • CanCompeteWith(var Other: Record "Report Filename Pattern"): Boolean (internal): Each criterion is blank on one side or equal on both. Table filters are not compared; Test Pattern checks real records.
  • HasCompetitor(): Boolean (internal)
  • NothingCompetesMessage(): Text (internal)
  • CouldEverApply(): Boolean (internal): Verify requires a report or a table before a pattern can be enabled.
  • DisplayCaption(): Text (internal): The report, or else the table, followed by the output routes and language when set.
  • CopyToNewPattern(var NewPattern: Record "Report Filename Pattern") (internal): The copy is disabled, as an enabled copy would compete with the original.
  • LookupReport() (internal)
  • ClearReport() (internal): Keeps the table, so the pattern covers every report on it.
  • LookupTable() (internal)
  • LookupLanguageCodeField() (internal)
  • LanguageCodeFieldCaption(): Text (internal)
  • GetPlaceholderBinding(): Text (internal)

Plus 16 local procedures.

Triggers

OnInsert

Relations

Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

Pages and codeunits on this table

Recent changes

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: "table", object_name: "Report Filename Pattern"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources