Skip to content

ATS-ACC-CLS-011Reopen the most recent closed month for correction: Capability Test Specification

Markdown

ATS-ACC-CLS-011

Reopen the most recent closed month for correction: Capability Test Specification

Markdown
  • DocumentProposed

KindAcceptance test setProduct areaAccountingModuleMonth-End ClosingRevision2

Read atservices-accounting f47cb263react-console baf6dae3

Coverage

  • Rule gap: FND-ACC-CLS-067
  • Transition covered
  • Validation covered
  • Permission covered
  • Edge gap: FND-ACC-CLS-067
  • Failure gap: FND-ACC-CLS-067
  • Boundary gap: FND-ACC-CLS-067
  • Concurrency gap: FND-ACC-CLS-067
  • Invariant gap: FND-ACC-CLS-067
  • Interaction covered

Test Scenarios

7 scenarios proving CAP-ACC-CLS-011; 6 bound to an existing test.

01 Validate the correction reason and declare its independent grantvalidationapinegativetest
Proves
BR-CAP-ACC-CLS-011-01 BR-CAP-ACC-CLS-011-02
Preconditions
The latest closed period is inspected by callers with different grants.
Steps
Submit a reason under ten characters and inspect the declared reopen route and action grant.
Expected
The reason returns validation failure; the route catalogue requires the separate sensitive reopen grant.
Data
A nine-character reason and action-grant variants.
Bound to
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
services-accounting:tests/unit/fiscal-close-permissions.spec.ts#makes closing and reopening administrator keys, both sensitive
Source
services-accounting:modules/fiscal-close/tests/e2e/fiscal-close-runs.e2e.spec.js#the reopen
02 Reject an earlier or already-open correctionvalidationapinegativetest
Proves
BR-CAP-ACC-CLS-011-03
Preconditions
August and September are closed.
Steps
Request August’s reopen, then reopen September and request it again.
Expected
The earlier request fails sequence and the repeated fresh action fails for an open period.
Data
Two consecutive closed months.
Bound to
services-accounting:modules/fiscal-close/tests/integration/services/jobs/reopen-job.integration.spec.js#refuses reopening August while September is closed, with 1.0’s sentence
Source
services-accounting:modules/fiscal-close/tests/integration/services/jobs/reopen-job.integration.spec.js#an earlier period and a short reason
03 Complete reopening while keeping prior evidencetransitionapitest
Proves
BR-CAP-ACC-CLS-011-04 BR-CAP-ACC-CLS-011-06 BR-CAP-ACC-CLS-011-07 INV-DOM-ACC-CLS-004-08
Preconditions
The close has retained its snapshot and revenue result.
Steps
Reopen and read the run, period and earlier record.
Expected
Three steps settle, close details clear, the count rises and the reason and original snapshot remain available.
Data
A closed month with its close snapshot.
Bound to
Source
services-accounting:modules/fiscal-close/tests/integration/services/jobs/reopen-job.integration.spec.js#the latest closed period, its close having recognised revenue
04 Revalidate the reason during lockingvalidationapinegativetest
Proves
BR-CAP-ACC-CLS-011-05 INV-DOM-ACC-CLS-003-04
Preconditions
A run has bypassed route validation with a short reason.
Steps
Execute its reopen lock.
Expected
The job refuses the reason and leaves the month closed.
Data
An invalid stored correction reason.
Bound to
services-accounting:modules/fiscal-close/tests/integration/services/jobs/reopen-job.integration.spec.js#refuses a reason under ten characters in the job’s lock, the period left closed
Source
services-accounting:modules/fiscal-close/tests/integration/services/jobs/reopen-job.integration.spec.js#refuses a reason under ten characters in the job’s lock, the period left closed
05 Confirm reopening through the consolepermissionbrowsertest
Proves
BR-CAP-ACC-CLS-011-10 BR-CAP-ACC-CLS-011-03
Preconditions
An authorized closer has two closed months to inspect.
Steps
Select the latest month and try short then valid reasons with label confirmation.
Expected
The reason check prevents the short request and the valid action opens the run page.
Data
The correction browser fixture.
Bound to
Source
react-console:acceptance/accounting/playwright/journeys/reconciliation-close/ACT-ACC-0614.spec.ts#ACT-ACC-0614
06 Preserve the original close while correcting revenueinteractionapiproposed
Proves
BR-CAP-ACC-CLS-011-04 BR-CAP-ACC-CLS-011-06 BR-CAP-ACC-CLS-011-07
Preconditions
The latest closed month has recognized revenue and a captured record.
Steps
Reopen, interrupt reversal and retry it; read the original record, then complete reopening and close again.
Expected
The corrected month changes state and revenue through recovery; the original captured record remains linked to the reopen rather than being replaced.
Data
The latest closed month has recognized revenue and a captured record.
Source
rhythm-v2-docs:specs/accounting/close/design/workflows/WF-ACC-CLS-002-reopen-the-latest-closed-month.md#What It Does,services-accounting:modules/fiscal-close/tests/integration/services/jobs/reopen-job.integration.spec.js#completes its three steps,services-accounting:modules/fiscal-close/tests/integration/services/jobs/reopen-job.integration.spec.js#opens the period and counts the reopen,services-accounting:modules/fiscal-close/tests/integration/services/jobs/reopen-job.integration.spec.js#keeps the close’s snapshot
07 Refuse reopening without its independent grantpermissionapinegativetest
Proves
BR-CAP-ACC-CLS-011-02
Preconditions
A caller can read and close but lacks reopen authority; the latest month is closed.
Steps
Submit a valid reopen reason with a fresh command key.
Expected
The request is denied without creating a reopen or changing the month.
Data
A caller can read and close but lacks reopen authority; the latest month is closed.
Bound to
Source
react-console:acceptance/accounting/playwright/journeys/reconciliation-close/ACT-ACC-0614.spec.ts#step 7

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.