Skip to content

ATS-ACC-CLS-010Finish the fiscal year and maintain future calendars: Capability Test Specification

Markdown

ATS-ACC-CLS-010

Finish the fiscal year and maintain future calendars: Capability Test Specification

Markdown
  • DocumentProposed

KindAcceptance test setProduct areaAccountingModuleMonth-End ClosingRevision2

Read atservices-accounting f47cb263react-console baf6dae3

Coverage

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

Test Scenarios

6 scenarios proving CAP-ACC-CLS-010; 3 bound to an existing test.

01 Complete the year through its final periodtransitionapitest
Proves
BR-CAP-ACC-CLS-010-01 BR-CAP-ACC-CLS-010-02
Preconditions
The year’s first eleven periods are closed.
Steps
Close the twelfth period.
Expected
A successful year-close run includes year checks and leaves the year closed.
Data
A year awaiting its final close.
Bound to
services-accounting:modules/fiscal-close/tests/unit/readiness/period-rules.spec.js#is blocked by every other period of the year not closed
services-accounting:modules/fiscal-close/tests/unit/readiness/period-rules.spec.js#passes saying the close generates the next year when it is missing
Source
services-accounting:modules/fiscal-close/tests/integration/services/jobs/close-job.integration.spec.js#the year’s last period
02 Keep year-end reconciliation review advisoryruleapitest
Proves
BR-CAP-ACC-CLS-010-03
Preconditions
Other months retain reconciliation findings.
Steps
Evaluate the final month with year scope.
Expected
The year review lists those findings as warnings without making them required blockers.
Data
Other-period reconciliation findings.
Bound to
Source
services-accounting:modules/fiscal-close/tests/unit/readiness/reconciliation-checks.spec.js#year_end_review
03 Generate the expected future yearsruleapitest
Proves
BR-CAP-ACC-CLS-010-05
Preconditions
September 2026 is open with 2026 and 2027 generated.
Steps
Complete September’s close.
Expected
Roll-forward reports generated 2028 and 2029.
Data
The integration calendar fixture.
Bound to
services-accounting:modules/fiscal-close/tests/integration/services/jobs/close-job.integration.spec.js#rolls the fiscal years forward to three open years after September 2026
services-accounting:modules/fiscal-close/tests/e2e/fiscal-close-runs.e2e.spec.js#lists the fiscal years the roll-forward generated as the step’s outputs
Source
services-accounting:modules/fiscal-close/tests/integration/services/jobs/close-job.integration.spec.js#rolls the fiscal years forward to three open years after September 2026
04 Stop generation at the calendar horizonboundaryapiproposed
Proves
BR-CAP-ACC-CLS-010-06
Preconditions
The unit’s generated years reach its permitted horizon.
Steps
Execute closing and roll-forward.
Expected
The close remains successful and output explains the generation stop.
Data
A horizon-limit calendar fixture.
Source
services-accounting:modules/fiscal-close/services/jobs/fiscal-close-job-tasks.ts:rollForward
05 Preserve closing after generation failurefailureapinegativeproposed
Proves
BR-CAP-ACC-CLS-010-07
Preconditions
Year generation has an injected failure.
Steps
Close a month, remove the fault and close the next month.
Expected
The first close stays successful despite its failed job, and later generation can fill the calendar.
Data
A generation fault and a following eligible close.
Source
services-accounting:docs/migrations/fiscal-close/README.md#Decisions and departures from the brief
06 Read year-level readiness before and after completioninteractionapiproposed
Proves
BR-CAP-ACC-CLS-010-01 BR-CAP-ACC-CLS-010-02 BR-CAP-ACC-CLS-010-05
Preconditions
The final month is clean but an earlier month remains open and the next fiscal year is absent.
Steps
Review the calendar and year checks, complete earlier work, close the final month, then read the calendar and readiness for the next current month.
Expected
The year checks respond to the earlier completion, year standing follows the final close and generated years support the next calendar selection.
Data
The final month is clean but an earlier month remains open and the next fiscal year is absent.
Source
rhythm-v2-docs:specs/accounting/close/design/workflows/WF-ACC-CLS-005-evaluate-a-month-s-close-readiness.md#What It Does,services-accounting:modules/fiscal-close/tests/integration/services/jobs/close-job.integration.spec.js#closes the fiscal year with its twelfth period,services-accounting:modules/fiscal-close/tests/unit/readiness/period-rules.spec.js#is blocked by every other period of the year not closed,services-accounting:modules/fiscal-close/tests/integration/services/jobs/close-job.integration.spec.js#rolls the fiscal years forward to three open years after September 2026

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.