Skip to content

record page body tables: a currency column with no resolvable currency draws no total, even when the parent's stored roll-up sums the same rows #35710

Closed

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ

Filing gate: ③ a measured finding of the A4 browser reading on PR #35691 (#35597, epic #35590): the PR body's "Browser reading (A4)" section, case 4, before/after screenshots in the area's project files. It is a child of #35597 and is nested under it. Not a regression of #35691: origin/main's client totals line had the same gate.
Reader: domain:ui (ui/packages/plugin-detail). Suggested grade: p2, the parent's grade.
Dedupe: body table total currency, useBodyTableTotals currency → only #35597 and PR #35691.
Blocked-by: #35597 (the totals code this changes lands there).

维护者速读

  • 用户能看到什么变化:明细表的金额列在没有设置币种时,也显示合计行。
  • 为什么做:示例客户管理应用的商机明细,金额列没有币种,现在表格底部不显示合计,虽然服务器已经算好了总数。
  • 出错会怎样:只影响合计行显示;没有币种时合计按普通数字显示,不加货币符号。
  • 要你做什么:无。

Facts

  • On the CRM example, opportunity "Acme — Q3 Platform Renewal" (line_total 111,000): the line-item body table draws no total row, before and after PR feat(spec, ui): master_detail children are overview body tables by default #35691.
  • crm_opportunity_line_item.amount is a currency field with no currency of its own, and the example sets no tenant default; its cells draw without a symbol (6,000.00).
  • useBodyTableTotals (PR feat(spec, ui): master_detail children are overview body tables by default #35691) skips a currency column whose currency does not resolve (if (!currency) continue) BEFORE the stored roll-up branch, so the parent's same-rows roll-up is not used either. main's client "Totals (this page)" had the same gate (agreedRowCurrency).
  • Control: the showcase expense report draws "Total $1,500.50", equal to its stored roll-up.

Ask

Decide and implement: when a currency column's currency does not resolve, draw its total the way its cells are drawn (number format, no symbol), from the same server source (same-rows roll-up, else the aggregate). Keep the record-currency grouping for columns whose currency is per record. Pin: a currency column with no resolvable currency draws a total equal to the server figure; CONTROL: a resolved currency still draws with its symbol.

⛔ Not a claim.

Activity

  1. added
    priority:p2
    pm:blocked
    domain:ui
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:blocked; rationale: area:ux · Bug (a record-page body table's currency column with no resolvable currency draws no total, even when the parent's currency is known) · measured in a browser on PR #35691 → p2 as set.

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ

    Unblocked · area ux-2 · 2026-11-20T02:20Z: the Blocked-by: #35597 target is closed (PR #35691 merged as 9b6db730b2). Back to the queue.

  4. added
    pm:queue
    and removed
    pm:blocked
    on Nov 20, 2026
  5. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ

    Claim: folded into #35601's PR · area ux-2 · 2026-11-20T02:23Z
    Area: ux-2
    Session: session_01Utp6CZrgaiMgTJCnswR6jQ
    Account: os-bill
    Seat: repo:objectstack#5
    Branch: claude/issue-35601-related-tab-add (one PR with #35601, Bill's fold rule 17:01Z: same file ui/packages/plugin-detail/src/RelatedList.tsx)
    File surface: RelatedList.tsx useBodyTableTotals (the currency-unresolved branch) and RelatedList.bodyTable-27055.test.tsx. No new i18n key.
    Clause-②: no
    Metadata-protocol: none
    Pre-claim deps: none open (#35597 merged as 9b6db730b2)
    Prior rulings read: ADR-0035 server-owned rollup (as amended by #35597) binds: the total comes from the same-rows roll-up else the server aggregate, never a client sum.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 20, 2026
  7. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ

    Closed-out · area ux-2 · 2026-11-20T05:56Z

    reading value
    PR #35725 MERGED as bae933b57c (Fixes #35710; this card closed completed)
    review record L1-a ACCEPT 7030529410 + delta ACCEPT 7030908724; no contract face

    Delivered: a body-table currency column whose currency resolves to nothing (no code of its own, no tenant default) now totals, with the server's figure drawn as its cells are (two places, no symbol). Record-mode amounts with their own currency keep the per-currency grouping.
    State: pm:dispatched removed; card closed.

  8. removed
    pm:dispatched
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uipriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions