Skip to content

ATS-ACC-BKS-010Locate the fiscal period for accounting work: Capability Test Specification

Markdown

ATS-ACC-BKS-010

Locate the fiscal period for accounting work: Capability Test Specification

Markdown
  • DocumentProposed
  • Product intentProposed

Planning

Proves capability
CAP-ACC-BKS-010

Design

Executed by
TST-ACC-BKS-054, TST-ACC-BKS-086, TST-ACC-BKS-187

KindAcceptance test setProduct areaAccountingModuleBooks, Business Units and Chart of AccountsRevision2

Read atservices-accounting f47cb263react-console baf6dae3

Coverage

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

Test Scenarios

5 scenarios proving CAP-ACC-BKS-010; 4 bound to an existing test.

01 Advance the current period through open workruleapitest
Proves
BR-CAP-ACC-BKS-010-01
Preconditions
Two fiscal years begin fully open.
Steps
Read the current period as early periods, the first year and finally all periods close.
Expected
The answer advances to the earliest open period, then the next open year and finally no current period.
Data
The setup needs no extra fixture records.
Bound to
Source
services-accounting:modules/books/tests/integration/services/persistence/fiscal-periods.queries.integration.spec.js#answers the first period of the earliest year with its whole year, when nothing is closed
02 Find existing periods at their boundariesboundaryapitest
Proves
BR-CAP-ACC-BKS-010-02 BR-CAP-ACC-BKS-010-03 INV-DOM-ACC-BKS-003-06
Preconditions
The unit has two generated years.
Steps
Look up beginning, interior and ending dates, a closed period and a date after coverage.
Expected
Existing dates select the right period; the uncovered date is not found and causes no generation.
Data
The setup needs no extra fixture records.
Bound to
Source
services-accounting:modules/books/tests/e2e/fiscal-years.e2e.spec.js#answers 404 to the day after the last year, generating nothing
03 Report and repair scheduled calendar gapsfailureapinegativetest
Proves
BR-CAP-ACC-BKS-010-06
Preconditions
A recurring roll is dated beyond the final year.
Steps
Run it, generate the missing calendar and retry.
Expected
The first failure identifies unit and date; the later roll records the covered year and period.
Data
The setup needs no extra fixture records.
Bound to
Source
services-accounting:modules/maintenance/tests/integration/services/scheduling/schedules-end-to-end.integration.spec.js#fails the roll dated in no fiscal year of the unit, with the sentence naming the date and the unit
04 Exercise the grants for locate the fiscal period for accounting workpermissionapinegativeproposed
Proves
BR-CAP-ACC-BKS-016-01 BR-CAP-ACC-BKS-010-05
Preconditions
An application-authorized reader and administrator share the run-owned setup. A third principal lacks the relevant resource grant.
Steps
Read current and dated periods as the reader, then repeat without calendar-read access. Compare the stored calendar before and after.
Expected
Reader lookups succeed without changing coverage; the caller without calendar-read access is refused.
Data
Run-owned records for the stated setup; retain the initial values for comparison.
Source
services-accounting:modules/books/tests/e2e/configuration-security.e2e.spec.js#is refused the create 403 permission_missing
05 Coverage repair changes the next scheduled roll outcomeinteractionapitest
Proves
BR-CAP-ACC-BKS-010-06 BR-CAP-ACC-BKS-018-07
Preconditions
Run-owned records satisfy the preconditions of the referenced capability proofs.
Steps
Run an occurrence outside coverage, extend coverage and run a later eligible occurrence.
Expected
The earlier run retains its failure and the later roll records its covered year and period.
Data
Run-owned records for the stated setup; retain the initial values for comparison.
Bound to
Source
services-accounting:modules/maintenance/tests/integration/services/scheduling/schedules-end-to-end.integration.spec.js#fails the roll dated in no fiscal year of the unit, with the sentence naming the date and the unit,services-accounting:modules/maintenance/tests/integration/services/scheduling/schedules-end-to-end.integration.spec.js#pauses the schedule after the fifth failure in a row

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.