Skip to content

636017 Move Bank report action tooltips to report objects#9540

Open
V-CWurtzen wants to merge 2 commits into
mainfrom
features/636017-Bank-move-page-action-tooltips-to-report
Open

636017 Move Bank report action tooltips to report objects#9540
V-CWurtzen wants to merge 2 commits into
mainfrom
features/636017-Bank-move-page-action-tooltips-to-report

Conversation

@V-CWurtzen

@V-CWurtzen V-CWurtzen commented Jul 16, 2026

Copy link
Copy Markdown

What & why

Moves the report action ToolTips for the Bank reports off the page actions that run them and onto the report objects themselves, and integrates that move into every forked country layer. The tooltip is now defined once on the report and applies wherever the report is invoked, and the now-duplicate ToolTip is removed from the page actions in W1 and its country forks.

Reports covered (9):

Bank Acc. - Detail Trial Bal., Bank Account - Check Details, Bank Account - Labels, Bank Account - List, Bank Account Register, Bank Account Statement, Create Direct Debit Collection, Date Compress Bank Acc. Ledger, Delete Check Ledger Entries.

Where only a Run the X report. stub existed for a report (Bank Account - Labels, Bank Account Register), it is hoisted as the sole option — happy to replace with better wording if a reviewer suggests it.

This is part of the "move report action tooltips to report objects" cleanup (CP0529-331 / slice 636017).

Changes

  • W1 (commit 1): report-level ToolTip added to the 9 reports; duplicate removed from the W1 actions that run them (BankAccountList, CheckLedgerEntries, DirectDebitCollections, the Accountant / Accounting Manager / Bookkeeper / Finance Manager and Administrator role centers, and Data Administration). 18 files.
  • Country layers (commit 2): the W1 move is propagated to the forked country layers as required by the Miapp sync gate (VerifyMiappSync):
    • 64 page forks across 19 country layers: duplicate ToolTip removed from the covered actions (includes fork-specific tooltip wordings that the report now carries canonically).
    • 5 report forks (APAC BankAccountLabels, CH CreateDirectDebitCollection, ES/GB BankAccountList, NA BankAccountCheckDetails): report-level ToolTip added to match W1.
    • 3 no-op integrations (FR AccountingManager/Bookkeeper, NA Accountant): the sync gate requires every fork of a changed W1 file in the changelist; these carry no covered action, so there is nothing to remove.

Total: 90 files (18 W1 + 72 country), tooltip-only.

Linked work

Fixes AB#636017

How I validated this

  • I read the full diff and it contains only changes I intended.
  • I built the affected app(s) locally with no new analyzer warnings.
  • I ran the change in Business Central and confirmed it behaves as expected.
  • I added or updated tests for the new behavior, or explained below why none are needed.

What I tested and the outcome

Metadata-only change (ToolTip property). The diff is tooltip-only (report ToolTip additions + page-action ToolTip removals), with BOM/EOL preserved; the only non-tooltip edits are trailing-newline no-op sync touches on three role-center forks. Country propagation was produced by running Invoke-Miapp to identify the fork set, then applying the move surgically (Invoke-Miapp's auto-merge mis-aligned on the structurally-divergent role centers, so its output was not used directly). The set of changed forks matches exactly what VerifyMiappSync requires — no missing forks, no extras.

No tests added: ToolTip is a design-time metadata property with no runtime behavior to assert; there is no existing tooltip test harness for these objects.

Risk & compatibility

Low. No code, schema, table, or behavior change — only the ToolTip design property moves from page action to report, in W1 and its country forks. No upgrade/data impact, no permission/telemetry impact, no breaking change. Same cleanup pattern already merged for Warehouse, Manufacturing, Service, Sales and Inventory, landed as the Pricing pilot (#9433), and applied to CashFlow (#9528) and Finance (#9526) on the new BCApps pipeline.

Move the report action ToolTips for nine Bank reports onto the report
objects and remove the now-duplicate ToolTip from the W1 page actions that
run them (Bank Account List, Check Ledger Entries, Direct Debit Collections,
the Accountant / Accounting Manager / Bookkeeper / Finance Manager and
Administrator role centers, and Data Administration).

Reports: Bank Acc. - Detail Trial Bal., Bank Account - Check Details,
Bank Account - Labels, Bank Account - List, Bank Account Register,
Bank Account Statement, Create Direct Debit Collection, Date Compress
Bank Acc. Ledger, Delete Check Ledger Entries. Where only a "Run the X
report." stub existed (Bank Account - Labels, Bank Account Register) it is
hoisted as the sole option.

Metadata-only change (ToolTip); tooltip text unchanged for end users.
Integrate the W1 Bank tooltip move into the forked country layers, as
required by the Miapp sync gate (VerifyMiappSync):
- 64 page forks across 19 country layers: removed the duplicate ToolTip
  from the covered-report actions (148 lines; includes fork-specific
  tooltip wordings the report now carries canonically).
- 5 report forks (APAC BankAccountLabels, CH CreateDirectDebitCollection,
  ES/GB BankAccountList, NA BankAccountCheckDetails): added the W1
  report-level ToolTip.
- 3 no-op integrations (FR AccountingManager/Bookkeeper, NA Accountant):
  the sync gate requires every fork of a changed W1 file in the changelist;
  these carry no covered action, so there is nothing to remove.
@V-CWurtzen V-CWurtzen requested a review from a team July 16, 2026 13:26
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

$\textbf{🟡\ Medium\ Severity\ —\ Accessibility} \quad \color{gray}{\texttt{\small Iteration\ 1}}$

This PR moves ToolTip text from page actions onto the RunObject-targeted Report and deletes the (duplicated) ToolTip from the action.

That is safe on Role Center pages, because Business Central 2025 release wave 1 makes actions on Role Centers inherit Caption/ToolTip/AboutText/AboutTitle from the targeted object's own properties when the action does not set them. However, the same ToolTip deletion was also applied to actions on regular List pages, where this RunObject inheritance does not apply (Microsoft's RunObject property documentation scopes the auto-inheritance explicitly to 'actions on role centers'). As a result, these actions now render with no hover tooltip and nothing for screen readers to announce: action("Detail Trial Balance"), action("Check Details"), action("List"), and action("Bank Account Statements") in src/Layers/W1/BaseApp/Bank/BankAccount/BankAccountList.Page.al (PageType = List), and the equivalent actions in the BE, ES, NA, and RU layer overrides of the same page; action("Delete Entries") in src/Layers/W1/BaseApp/Bank/Check/CheckLedgerEntries.Page.al and its RU override; action("Create Direct Debit Collection") in src/Layers/W1/BaseApp/Bank/DirectDebit/DirectDebitCollections.Page.al; and action("Date Compress Bank Acc. Ledger") in src/Layers/W1/BaseApp/System/DataAdministration/DataAdministration.Page.al.

Recommendation:

  • restore ToolTip on the action for every List/Card-type page in this change set (RoleCenter pages are fine as-is), or confirm target BC runtime truly resolves ToolTip from RunObject for non-Role-Center pages before relying on it.

Agent judgement — not directly backed by a BCQuality knowledge article.

Line mapping was unavailable, so this was posted as an issue comment.

👍 useful · ❤️ especially valuable · 👎 wrong - reply with why

@github-actions

Copy link
Copy Markdown
Contributor

Copilot PR Review

Iteration 1 · Outcome: completed

Knowledge source: https://github.com/microsoft/BCQuality@186d8a131465475c79244d994acb872cd5c0d4bf

Findings by domain

Findings split into Knowledge-backed (cite a BCQuality article) and Agent (the agent's own judgement, no matching BCQuality rule).

Domain Findings Knowledge-backed Agent Inline Fallback
Accessibility 1 0 1 0 1

Totals: 0 knowledge-backed · 1 agent findings.

Orchestrator pre-filter (2 file(s) excluded)

  • layer-disabled (knowledge) : 2 file(s)

Findings produced by the AL review agent v1.7.3. Reply 👎 on any inline comment to flag false positives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant