Skip to content

ATS-ACC-CLS-015Request receivables aging for the closed month: Capability Test Specification

Markdown

ATS-ACC-CLS-015

Request receivables aging for the closed month: Capability Test Specification

Markdown
  • DocumentProposed

Planning

Proves capability
CAP-ACC-CLS-015

Design

Executed by
TST-ACC-CLS-021, TST-ACC-CLS-049

KindAcceptance test setProduct areaAccountingModuleMonth-End ClosingRevision1

Read atservices-accounting f47cb263react-console baf6dae3

Coverage

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

Test Scenarios

5 scenarios proving CAP-ACC-CLS-015; 2 bound to an existing test.

01 Request reconstructed aging during partial closureinteractionapitest
Proves
BR-CAP-ACC-CLS-015-01 BR-CAP-ACC-CLS-015-02
Preconditions
Another unit still has September open.
Steps
Complete the first unit’s September close.
Expected
The superseding September-end request uses reconstructed basis and the close-time boundary.
Data
The multi-unit aging request fixture.
Bound to
services-accounting:modules/fiscal-close/tests/integration/services/jobs/close-job.integration.spec.js#requests the A/R aging snapshot of September, reconstructed while gamma still has September open
Source
services-accounting:modules/fiscal-close/tests/integration/services/jobs/close-job.integration.spec.js#requests the A/R aging snapshot of September, reconstructed while gamma still has September open
02 Complete closing without waiting for agingtransitionapiproposed
Proves
BR-CAP-ACC-CLS-015-03
Preconditions
An aging run is already active.
Steps
Close its month.
Expected
The product should complete the month and display requested or ready aging status without waiting.
Data
An active monthly aging run.
Source
services-accounting:docs/milestones/plans/ACCT-M4-plan.md#D8
03 Verify the current timed aging waitboundaryunittest
Proves
BR-CAP-ACC-CLS-015-04
Preconditions
The close state machine is synthesized.
Steps
Inspect the repeat path for finalization.
Expected
The synthesized workflow includes a sixty-second wait before requesting finalization again.
Data
The infrastructure synthesis fixture.
Bound to
services-accounting:tests/aws/fiscal-close.synth.ts#waits 60 s in a Wait state before finalize asks again for the month’s A/R snapshot
Source
services-accounting:tests/aws/fiscal-close.synth.ts#waits 60 s in a Wait state before finalize asks again for the month’s A/R snapshot
04 Keep aging request output with the successful recordinteractionapiproposed
Proves
BR-CAP-ACC-CLS-015-01 BR-CAP-ACC-CLS-015-02 BR-CAP-ACC-CLS-015-06
Preconditions
Two units overlap the same calendar month and one remains open.
Steps
Close the first unit, inspect its captured close outputs and aging request, then reopen and close it again.
Expected
Each close records its own requested version and basis; a requested version is distinguishable from completed report computation.
Data
Two units overlap the same calendar month and one remains open.
Source
rhythm-v2-docs:specs/accounting/close/design/workflows/WF-ACC-CLS-001-close-a-month.md#What It Does,services-accounting:modules/fiscal-close/tests/integration/services/jobs/close-job.integration.spec.js#requests the A/R aging snapshot of September, reconstructed while gamma still has September open,services-accounting:modules/fiscal-close/tests/integration/services/jobs/close-job.integration.spec.js#requests the A/R aging snapshot of September, reconstructed while gamma still has September open,services-accounting:modules/fiscal-close/services/jobs/fiscal-close-job-tasks.ts:finalizeClose
05 Exhaust contention without a completed closefailureapinegativeproposed
Proves
BR-CAP-ACC-CLS-015-04 BR-CAP-ACC-CLS-012-04
Preconditions
An aging run remains active through every allowed finalization attempt; test with and without committed recognition.
Steps
Run finalization through its repeat limit and settle failure, then inspect the period, run and snapshot.
Expected
No successful close snapshot is committed; the unrecognized case releases the month, while the recognized case retains it for recovery.
Data
An aging run remains active through every allowed finalization attempt; test with and without committed recognition.
Source
services-accounting:modules/fiscal-close/services/jobs/fiscal-close-jobs.ts:applyRunFailure

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.