---
id: FAS-ACC-BKS-05
title: Document Content and Selection acceptance
feature: FEAT-ACC-BKS-05
product_area: accounting
module: books
revision: 1
status: proposed
product_intent: proposed
source_sha:
  services-accounting: f47cb263875bbc0c5640fba7dae6785ec32695f8
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
capabilities:
  - CAP-ACC-BKS-014
  - CAP-ACC-BKS-015
scenarios:
  - id: FAS-ACC-BKS-05-01
    title: Prepare and select a unit document template
    kind: behaviour
    exercises:
      - CAP-ACC-BKS-014
      - CAP-ACC-BKS-015
    relies_on:
      - ATS-ACC-BKS-014-07
      - ATS-ACC-BKS-015-04
    preconditions: A controller has a unit and can copy invoice content.
    steps: >-
      Duplicate built-in content, edit and preview it, correct a misspelt
      variable, save the copy and select it for the unit.
    expected: >-
      Only valid saved content becomes the selected unit template and its usage
      identifies that unit.
    negative: false
    data_needs: >-
      Run-owned records and principals for the stated setup; record original
      shared settings and restore them after exclusive cases.
    bound_to:
      - TST-ACC-BKS-020
    provenance: test
    source:
      - >-
        react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0026.spec.ts#ACT-ACC-0026
    binding_evidence:
      - >-
        react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0026.spec.ts#ACT-ACC-0026
  - id: FAS-ACC-BKS-05-02
    title: Move the statement choice through workspace settings
    kind: interaction
    exercises:
      - CAP-ACC-BKS-014
      - CAP-ACC-BKS-015
      - CAP-ACC-BKS-017
    relies_on:
      - ATS-ACC-BKS-014-04
      - ATS-ACC-BKS-015-05
      - ATS-ACC-BKS-017-03
    preconditions: Two valid active statement templates and settings access are available.
    steps: >-
      Select the first statement default, move the choice to the second and
      compare usage and removal eligibility for both.
    expected: >-
      The current settings choice protects only the selected content; the
      released template becomes removable.
    negative: false
    data_needs: >-
      Run-owned records and principals for the stated setup; record original
      shared settings and restore them after exclusive cases.
    bound_to: []
    provenance: proposed
    source:
      - ATS-ACC-BKS-014-04
      - ATS-ACC-BKS-015-05
      - ATS-ACC-BKS-017-03
    binding_evidence: []
  - id: FAS-ACC-BKS-05-03
    title: Release and delete formerly selected content
    kind: lifecycle
    exercises:
      - CAP-ACC-BKS-014
      - CAP-ACC-BKS-015
    relies_on:
      - ATS-ACC-BKS-015-05
      - ATS-ACC-BKS-015-07
    preconditions: The unit selects the run-owned invoice template.
    steps: >-
      Try removing and deactivating the template, clear the unit choice and
      remove the freed content.
    expected: >-
      The dependency blocks both early actions and clearing it permits deletion
      without changing built-in content.
    negative: false
    data_needs: >-
      Run-owned records and principals for the stated setup; record original
      shared settings and restore them after exclusive cases.
    bound_to:
      - TST-ACC-BKS-020
    provenance: test
    source:
      - >-
        react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0026.spec.ts#ACT-ACC-0026
    binding_evidence:
      - >-
        react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0026.spec.ts#ACT-ACC-0026
  - id: FAS-ACC-BKS-05-04
    title: Keep preview available to template readers
    kind: permission
    exercises:
      - CAP-ACC-BKS-014
      - CAP-ACC-BKS-015
    relies_on:
      - ATS-ACC-BKS-016-09
      - ATS-ACC-BKS-016-01
    preconditions: A reader can enter Accounting and inspect run-owned content.
    steps: >-
      Read content and variables and preview it, then attempt copy, save and
      selection changes without the relevant create or update grants.
    expected: >-
      Inspection and preview succeed while content and selection mutations are
      refused.
    negative: true
    data_needs: >-
      Run-owned records and principals for the stated setup; record original
      shared settings and restore them after exclusive cases.
    bound_to:
      - TST-ACC-BKS-012
    provenance: test
    source:
      - >-
        react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0014.spec.ts#ACT-ACC-0014
    binding_evidence:
      - >-
        react-console:acceptance/accounting/playwright/journeys/configuration/ACT-ACC-0014.spec.ts#ACT-ACC-0014
  - id: FAS-ACC-BKS-05-05
    title: Restore built-in selection when an ordinary replacement omits it
    kind: regression
    exercises:
      - CAP-ACC-BKS-014
      - CAP-ACC-BKS-015
    relies_on:
      - ATS-ACC-BKS-015-06
    preconditions: >-
      A unit has an active invoice template selected and no other reference to
      it.
    steps: >-
      Replace the unit while omitting its template choice, resolve the invoice
      template and delete the released customer content.
    expected: >-
      Resolution uses the built-in after omission and the released customer
      content becomes removable.
    negative: true
    data_needs: >-
      Run-owned records and principals for the stated setup; record original
      shared settings and restore them after exclusive cases.
    bound_to: []
    provenance: proposed
    source:
      - ATS-ACC-BKS-015-06
    binding_evidence: []
evidence:
  - provenance: documented
    source: >-
      specs/accounting/books/planning/features/FEAT-ACC-BKS-05-document-templates.md
  - provenance: test
    source: >-
      Pinned executable suites and their individual assertion references are
      listed in the suite register.
regression_record:
  - revision: 1
    change: initial
    scenarios:
      - FAS-ACC-BKS-05-01
      - FAS-ACC-BKS-05-02
      - FAS-ACC-BKS-05-03
      - FAS-ACC-BKS-05-04
      - FAS-ACC-BKS-05-05
    why: >-
      Establish cumulative feature acceptance from the pinned specification and
      executable evidence.
---

# Document Content and Selection: Feature Acceptance Suite

## What the Feature Must Do as a Whole

The feature connects prepared document content to the choices that use it. Acceptance follows preview and validation into saved selection, usage protection and eventual release.

## Interactions Between Capabilities

A unit or workspace choice changes whether content can be deactivated or removed. Replacement omission also changes selection and therefore the template’s usage and resolution outcome.

## Regression Record

| Revision | Change | Scenario | Why |
|---|---|---|---|
| 1 | initial | all | Establish the feature’s cumulative acceptance boundary and record unimplemented joined outcomes. |
