Report Print Destinations

Sending an SSRS report somewhere other than the screen from X++ — SRSPrintDestinationSettings, the SRSPrintMediumType values, and setting the destination on a controller before it runs. Invoke when the user asks to email, print, archive or save a report to file from code, or when a destination set in code is ignored at run time.

49 stars 26 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add dynamics365ninja/d365fo-cli --skill report-print-destinations
Manual install
git clone --depth 1 https://github.com/dynamics365ninja/d365fo-cli.git /tmp/d365fo-cli
mkdir -p ~/.claude/skills
cp -r /tmp/d365fo-cli/skills/anthropic/report-print-destinations ~/.claude/skills/report-print-destinations

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

> ⛔ **NEVER write X++ AOT XML files directly** via PowerShell, terminal file commands (`Set-Content`, `Out-File`, `New-Item`), editor write tools, or any raw text approach. The XML schema is proprietary. **ALWAYS use `d365fo generate …` commands** to produce correct AOT XML. If `d365fo` is unavailable in PATH, stop and ask the user to install it.

# Report print destinations

## The two objects

`SRSPrintDestinationSettings` is an `AxClass` with 68 methods. It carries the
destination and its options. You do not construct it in isolation — you take
the one already on the report contract, so the settings you change are the ones
the run will actually use.

`SRSPrintMediumType` is an `AxEnum`. Its values, read from the installation:

`Screen`, `Printer`, `File`, `Email`, `Custom`, `Archive`.

There is no `PDF` value — PDF is a **file format**, chosen with `fileFormat()`
once the medium is `File` or `Email`.

## The accessors are plain names, not parm-prefixed

This is where most attempts fail. The methods are:

| method | what it sets |
|---|---|
| `printMediumType()` | the destination — an `SRSPrintMediumType` value |
| `fileName()` | target path, for `File` |
| `fileFormat()` | PDF, Excel, Word, … for `File` and `Email` |
| `emailTo()` | recipients, for `Email` |
| `emailSubject()` | subject line |
| `printerName()` | target printer, for `Printer` |
| `numberOfCopies()` | copies, for `Printer` |

`parmPrintMediumType()` does **not** exist, nor do `toFile()`, `toScreen()`,
Read the full skill on GitHub

Details

Skill name
report-print-destinations
Path
skills/anthropic/report-print-destinations/SKILL.md
Repo updated
16 November 2026

FAQ

What does the Report Print Destinations skill do?

Sending an SSRS report somewhere other than the screen from X++ — SRSPrintDestinationSettings, the SRSPrintMediumType values, and setting the destination on a controller before it runs. Invoke when the user asks to email, print, archive or save a report to file from code, or when a destination set in code is ignored at run time.

How do I install the Report Print Destinations skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add dynamics365ninja/d365fo-cli --skill report-print-destinations. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Report Print Destinations popular?

It lives in dynamics365ninja/d365fo-cli, which has 49 GitHub stars and 26 forks.

Related skills

Analytics and Er

49

dynamics365ninja/d365fo-cli

Model the D365FO analytical and document-generation surfaces — aggregate measurements and the entity store, tiles/cues and KPIs, and Electronic Reporting (ER). Invoke when the user asks about a workspace tile, a KPI, an aggregate measurement, the entity store, Power BI content, or running/binding an ER format.

Data & Analytics26

Barcode Scanning

49

dynamics365ninja/d365fo-cli

Barcodes and scanner input in D365FO — printing vs scanning are unrelated code paths, GS1-128 application identifiers, item-barcode resolution, and where the platform parses a scan for you. Invoke when the user mentions barcodes, GS1, GTIN, SSCC, scanning, scanners, item barcodes, or barcode setup.

AI, LLMs & Agents26

Build Error Triage

49

dynamics365ninja/d365fo-cli

Turn a D365FO compiler, best-practice, or runtime error into the specific fix it calls for. Invoke when the user pastes a build log, an xppc message, a BP violation, or an infolog stack trace and asks what it means or how to fix it.

AI, LLMs & Agents26

Security Modeling

49

dynamics365ninja/d365fo-cli

Model D365FO security — the role → duty → privilege → entry-point chain, XDS policies, runtime access checks, and configuration keys as the compile-time counterpart. Invoke when the user asks to create or extend a privilege, duty or role, restrict access to a form or table, add an XDS policy, or gate functionality with a configuration key.

AI, LLMs & Agents26

Rdl Design Expressions

49

dynamics365ninja/d365fo-cli

Expressions inside an SSRS report's RDL design — the =Fields!/Parameters! syntax, aggregates and their scope, formatting, and why the RDL is edited in Visual Studio rather than through the AOT XML. Invoke when the user asks to show a computed value on a report, format a number or date in a design, total a column, or hide a row conditionally.

AI, LLMs & Agents26

Ssrs Report Authoring

49

dynamics365ninja/d365fo-cli

Author or extend an SSRS report in D365 Finance & Operations — the TmpTable → Contract → DP → Controller → AxReport stack, RDL designs, and Print management integration. Invoke when the user asks to create a report, add a dataset, change a report design, or wire a report into Print management.

AI, LLMs & Agents26

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.