Story: Commission: party

Table of Contents

This page documents a story in Sprint 22. It captures the goal, current status, acceptance criteria, and the tasks that compose it.

Goal

Commission party across all access layers: verify the Qt UI end-to-end post-NATS migration, implement shell commands (list, add, remove — not yet implemented), implement CLI commands (list, add, remove — not yet implemented), fix any regressions found, and add the entity chapter to the user manual. File backlog captures for Wt and HTTP support.

Status

Field Value
State ABANDONED
Parent sprint Sprint 22
Now Abandoned — consolidated into a single capture with counterparty and party_status.
Waiting on Nothing.
Next Superseded by Commission: party, counterparty, and party_status (Sprint 23).
Last touched 2026-07-10

Acceptance

  • Qt list window (MDI): loads and displays records correctly.
  • Qt detail window: edit and save round-trips without error.
  • Qt history window: shows change history for the entity.
  • Qt delete command: removes the record; history is preserved.
  • Qt eventing: a change made in one connected session appears in a second session without manual refresh.
  • Shell list command: implemented and working (new implementation).
  • Shell add command: implemented and working (new implementation).
  • Shell remove command: implemented and working (new implementation).
  • CLI list command: implemented and working (new implementation).
  • CLI add command: implemented and working (new implementation).
  • CLI remove command: implemented and working (new implementation).
  • Manual: entity chapter documents all Qt windows, shell, and CLI commands.
  • Backlog captures filed for Wt and HTTP support.
  • All regressions found are fixed inline or filed as captures.
  • Site builds cleanly.

Tasks

Task State Start End Description
Appraise party across all layers and produce evaluation checklist DONE 2026-07-04 2026-07-04 Walk party across SQL, codegen, Qt, shell, CLI and score each layer against the commissioning checklist; note gaps against the pattern established by prior commission stories (party_type, counterparty).
Fix security-definer search_path gap in refdata_party_functions_create.sql DONE 2026-07-04 2026-07-04 Add set search_path = public, pg_temp to the 3 security-definer functions in refdata_party_functions_create.sql (ores_refdata_read_system_party_fn, ores_refdata_get_party_info_fn, ores_refdata_visible_party_ids_fn), matching the fix pattern established for country/party_type. Decoupled from the blocked codegen-migration task since these functions aren't generated by any template.
Bring party under codegen; verify zero-diff regen BLOCKED 2026-07-04   Blocked: party's insert trigger has hand-written codename/queue-provisioning/hierarchy logic with no codegen facet; regen would delete it. Deferred to backlog capture (hierarchy-validation facet).
Verify party Qt UI end-to-end post-NATS BLOCKED 2026-07-06   Verify the Qt list window, detail dialog (via PartyDetailOperations/EntityDetailDialog), history dialog, delete, and cross-session eventing for party against a live environment post-NATS migration; fix any regressions found.

Emacs 29.3 (Org mode 9.6.15)