Skip to content

CAP-ACC-CLS-013Track execution and review close history

Markdown

CAP-ACC-CLS-013

Track execution and review close history

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

KindCapabilityProduct areaAccountingModuleMonth-End ClosingRevision1

Read atservices-accounting f47cb263react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Outcomes
Each run exposes its steps, attempts and events.Reviewers locate requests and outcomes across the workspace.
Surfaces
consoleapi

Controls

29 controls apply, from the corpus control catalogue.

TC-IAM-001 TC-IAM-002 TC-IAM-004 TC-IAM-005 TC-IAM-006 TC-AZ-001 TC-AZ-002 TC-AZ-003 TC-AZ-004 TC-AZ-006 TC-TEN-001 TC-TEN-002 TC-TEN-003 TC-TEN-004 TC-DAT-001 TC-LOG-002 TC-LOG-003 TC-LOG-004 TC-LOG-005 TC-AVL-001 TC-AVL-004 TC-MON-001 TC-MON-002 TC-MON-004 TC-PI-001 TC-PI-002 TC-PI-003 TC-PI-004 TC-PI-005

Permissions

KeyChecked atScope
accounting.fiscal-periods.readapitenant

Business Rules

9 rules, 7 to be proved before approval. A rule's product intent is derived from its origin: 0 confirmed by a product decision, the rest inheriting this capability's proposed.

IdRuleKindEnforced atProvenance
01must prove
Proposed
The run view presents period context, ordered step states, cumulative attempts, failures, outputs and events in chronological order.
calculationservicetest
02must prove
Proposed
A close run includes the readiness captured by its revalidation step.
policyservicetest
services-accounting:modules/fiscal-close/tests/e2e/fiscal-close-runs.e2e.spec.js#carries the readiness evaluated in the close, and the period as closed
03must prove
Proposed
The console refreshes queued and running runs every two seconds and reloads the selected run after browser refresh.
policyconsoleobserved
04must prove
Proposed
Run listing returns newest runs first with unit, year, kind and status filters, using pages from one to one hundred items and a default of twenty-five.
policyapi, servicetest
05must prove
Proposed
Unknown kinds or statuses, invalid page sizes and malformed continuation identifiers are refused.
validationapitest
06must prove
Proposed
A run absent from the workspace, including a foreign run, returns not found.
validationservice, databasetest
07must prove
Proposed
Run reading and console Close History require fiscal-periods read permission.
permissionapi, consoletest
services-accounting:tests/unit/fiscal-close-permissions.spec.ts#is required by the fiscal close routes: close by the close, reopen by the reopen, read by every other
08
Proposed
The console resolves returned user references through Platform and retains the identifier when a person cannot be named.
policyconsoletest
react-console:lib/accounting/close/http-service.test.ts#names every user reference of an answer with one lookup, keeping the id when nobody can be named
09
Proposed
The execution view reads at most one hundred jobs for a run, oldest first, with no continuation.
policyserviceobserved

Scenarios

IdGivenWhenThenProvenance
01September’s close is active.The controller reloads its run page.The page restores that run and displays subsequent progress.test
02History contains both run kinds across two business units.The auditor filters to one unit’s reopens.The result contains that unit’s reopen runs in newest-first order.test

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.