Codeunit 8128 "Report Filename Preview Mgt."
ReportFilenameManager · Microsoft.Foundation.Reporting.FileNaming
Across versions
- BC23-29not present
- BC30present
ReportFilenameManager · Microsoft.Foundation.Reporting.FileNaming · BC30 · source at d2abc1d2 · facts from BC30
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
ChooseRecordToTest(var Pattern: Record "Report Filename Pattern"; var ChosenRecordId: RecordId; var ChosenRecordText: Text): Boolean(internal)ExplainNameForChosenRecord(var Pattern: Record "Report Filename Pattern"; ChosenRecordId: RecordId; var Filename: Text; var NameComesFrom: Text; var WhyNotThisPattern: Text; var FromThisPattern: Boolean)(internal): The name the chosen record’s file would get, and whether it comes from this pattern, another pattern, or Business Central itself.ExplainNameForChosenRecord(var Pattern: Record "Report Filename Pattern"; Route: Enum "Report Filename Output Route"; ChosenRecordId: RecordId; var Filename: Text; var NameComesFrom: Text; var WhyNotThisPattern: Text; var FromThisPattern: Boolean)(internal)ExplainNameForRun(var Pattern: Record "Report Filename Pattern"; FilterView: Text; var Filename: Text; var NameComesFrom: Text; var WhyNotThisPattern: Text; var FromThisPattern: Boolean)(internal): As ExplainNameForChosenRecord, for a run described by a filter rather than one record.ExplainNameForRun(var Pattern: Record "Report Filename Pattern"; Route: Enum "Report Filename Output Route"; FilterView: Text; var Filename: Text; var NameComesFrom: Text; var WhyNotThisPattern: Text; var FromThisPattern: Boolean)(internal): Empty means the run covers the whole table.TryCountRun(TableNo: Integer; FilterView: Text; var Records: Integer): Boolean(internal): Empty means the whole table.ChooseRunToTest(var Pattern: Record "Report Filename Pattern"; var FilterView: Text; var FilterText: Text): Boolean(internal): Lets the administrator describe the run by a filter. An empty filter means the whole table.DescribeSelection(TableNo: Integer; FilterView: Text): Text(internal): The run’s filters, or a statement that the run covers every record.FindRecordByDescription(TableNo: Integer; TypedText: Text; var ChosenRecordId: RecordId)(internal): Finds a record typed into the Record field, matched case-insensitively against the same description the lookup displays. Raises an error when nothing matches.BuildRecordsToTestAgainst(TableNo: Integer; ReportId: Integer; var RecordBuffer: Record "Report Filename Record Buffer"; var MoreThanListed: Boolean)(internal): Lists records for the picker, capped at MaxRecordsListed; MoreThanListed reports truncation.TryPreviewShape(var Pattern: Record "Report Filename Pattern"; var Resolved: Text; var Reason: Text): Boolean(internal): The card’s preview: the name built from each value’s shape, needing no document and no permission to read one.TryPreviewShapeOverAFewRecords(var Pattern: Record "Report Filename Pattern"; var Resolved: Text): Boolean(internal): The example for a run of a few records, with values listed rather than collapsed.TryPreviewShapeOverManyRecords(var Pattern: Record "Report Filename Pattern"; var Resolved: Text): Boolean(internal): The example for a run of many records, with each field value collapsed into a first-to-last range.
Plus 31 local procedures.
Recent changes
- 2026-10-27 #12610 [Report Filename Manager] New app for configurable report output file names - Slice 651696 [vendor work] (main, BC30, feature, added)
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: "codeunit", object_name: "Report Filename Preview Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.