---
id: JNY-ACC-BKS-003
title: Maintain calendar coverage for a unit
feature: FEAT-ACC-BKS-03
product_area: accounting
module: books
revision: 1
status: draft
product_intent: confirmed
implementation_evidence: observed
supersedes:
  - ACT-ACC-0023
source_sha:
  services-accounting: f47cb263875bbc0c5640fba7dae6785ec32695f8
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
actor: ACT-ACC-001
goal: >-
  Extend coverage, adjust annual labels, remove an accidental year and locate
  accounting periods.
capabilities:
  - CAP-ACC-BKS-009
  - CAP-ACC-BKS-010
screens:
  - '/console/{tenantId}/configuration/accounting/fiscalYears'
steps:
  - 'n': 1
    surface: '/console/{tenantId}/configuration/accounting/fiscalYears'
    action: Review the July-start unit’s calendar.
    capability: CAP-ACC-BKS-009
    expected: >-
      Years appear chronologically with read-only open periods, and only the
      latest offers deletion.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0023.spec.ts#ACT-ACC-0023
  - 'n': 2
    surface: '/console/{tenantId}/configuration/accounting/fiscalYears'
    action: Confirm generation of the next fiscal year.
    capability: CAP-ACC-BKS-009
    expected: >-
      The appended 2028–2029 year has twelve open periods and receives the
      deletion action.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0023.spec.ts#ACT-ACC-0023
  - 'n': 3
    surface: '/console/{tenantId}/configuration/accounting/fiscalYears'
    action: Apply the auditor-facing name to the first year.
    capability: CAP-ACC-BKS-009
    expected: Its displayed year name changes while period names remain.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0023.spec.ts#ACT-ACC-0023
  - 'n': 4
    surface: '/console/{tenantId}/configuration/accounting/fiscalYears'
    action: Remove the final generated year.
    capability: CAP-ACC-BKS-009
    expected: >-
      The year and its months disappear and the preceding year becomes
      deletable.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0023.spec.ts#ACT-ACC-0023
  - 'n': 5
    surface: getCurrentFiscalPeriod
    action: Locate the current period and an October date.
    capability: CAP-ACC-BKS-010
    expected: >-
      The current result follows earliest open work and October resolves to the
      fourth fiscal month.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0023.spec.ts#ACT-ACC-0023
alternates: []
failures:
  - from_step: 2
    condition: Requested coverage contains a year starting beyond the allowed horizon.
    path: Generation identifies the maximum eligible start date.
    outcome: The entire request leaves no new years.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0023.spec.ts#ACT-ACC-0023
  - from_step: 4
    condition: The controller requests removal of the oldest year.
    path: The refusal identifies the latest year instead.
    outcome: The older year remains.
    provenance: test
    source: >-
      services-accounting:modules/books/tests/e2e/fiscal-years.e2e.spec.js#answers
      409 naming the latest year
rules_in_play:
  - BR-CAP-ACC-BKS-009-01
  - BR-CAP-ACC-BKS-009-03
  - BR-CAP-ACC-BKS-009-05
  - BR-CAP-ACC-BKS-009-06
  - BR-CAP-ACC-BKS-010-01
  - BR-CAP-ACC-BKS-010-02
assertions:
  - id: AS-JNY-ACC-BKS-003-01
    statement: Generation appends the succeeding complete open year.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0023.spec.ts#ACT-ACC-0023
  - id: AS-JNY-ACC-BKS-003-02
    statement: 'A rename preserves the year’s dates, standing and periods.'
    provenance: test
    source: >-
      services-accounting:modules/books/tests/e2e/fiscal-years.e2e.spec.js#changes
      nothing else: the dates, the status and the periods are as read
  - id: AS-JNY-ACC-BKS-003-03
    statement: >-
      Latest-year removal and current-period lookup follow the remaining
      calendar.
    provenance: test
    source: >-
      react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0023.spec.ts#ACT-ACC-0023
e2e_policy: required
e2e_reason: >-
  Year-specific action availability and its changes require examination through
  the browser.
evidence:
  - >-
    Verified source file:
    react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0023.spec.ts
  - >-
    Verified source file:
    services-accounting:modules/books/tests/e2e/fiscal-years.e2e.spec.js
proved_by: []
---

# Maintain calendar coverage for a unit

## Story

The controller inspects a July-start calendar and confirms the next generated year. They give an existing year a label the auditors recognize without changing its periods. After undoing an accidental extension, they locate current and dated accounting work against the remaining calendar.
