---
id: TST-ACC-BKS-063
title: Configuration Records Table integration suite
kind: integration
product_area: accounting
module: books
revision: 1
status: draft
source_sha:
  services-accounting: f47cb263875bbc0c5640fba7dae6785ec32695f8
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
repository: services-accounting
files:
  - >-
    modules/books/tests/integration/db/configuration-records.table.integration.spec.js
implements:
  - ATS-ACC-BKS-001-02
  - ATS-ACC-BKS-002-04
  - ATS-ACC-BKS-005-01
  - ATS-ACC-BKS-007-01
  - ATS-ACC-BKS-007-02
  - ATS-ACC-BKS-007-03
  - ATS-ACC-BKS-016-04
environment: local
implementation_state: implemented
latest_result: not-run
latest_run_at: null
latest_run_ref: null
conformance: not-verified
estimated_minutes: 5
isolation: >-
  The suite owns isolated workspace identities and database fixtures; cleanup
  removes only its seeded records.
assertion_bindings:
  - scenario: ATS-ACC-BKS-001-02
    source: >-
      services-accounting:modules/books/tests/integration/db/configuration-records.table.integration.spec.js#refuses
      a change of base_currency_code (RHF01)
  - scenario: ATS-ACC-BKS-002-04
    source: >-
      services-accounting:modules/books/tests/integration/db/configuration-records.table.integration.spec.js#refuses
      an exchange rate source or a pricing default on the base row (RHF09): it
      converts to nothing
  - scenario: ATS-ACC-BKS-005-01
    source: >-
      services-accounting:modules/books/tests/integration/db/configuration-records.table.integration.spec.js#accepts
      the same code in another unit
  - scenario: ATS-ACC-BKS-007-01
    source: >-
      services-accounting:modules/books/tests/integration/db/configuration-records.table.integration.spec.js#refuses
      a bank account of tenant B naming tenant A’s GL account, though B has a
      unit of the same id
  - scenario: ATS-ACC-BKS-007-02
    source: >-
      services-accounting:modules/books/tests/integration/db/configuration-records.table.integration.spec.js#refuses
      three digits as the last four
  - scenario: ATS-ACC-BKS-007-03
    source: >-
      services-accounting:modules/books/tests/integration/db/configuration-records.table.integration.spec.js#refuses
      a change of currency_code (RHF01)
  - scenario: ATS-ACC-BKS-016-04
    source: >-
      services-accounting:modules/books/tests/integration/db/configuration-records.table.integration.spec.js#refuses
      a business unit inserted with another tenant’s tenant_id (WITH CHECK)
unmapped: false
evidence:
  - provenance: test
    source: >-
      services-accounting:modules/books/tests/integration/db/configuration-records.table.integration.spec.js
execution_notes: >-
  The file exists at the pinned revision; this registration records no execution
  result.
---

# Configuration Records Table integration suite

## Verification Boundary

The suite exercises books configuration against the migrated local database. Its fixtures and transaction contexts determine the records and service paths under test.

## What This Suite Proves

The individual assertion references identify the acceptance outcomes this file exercises. When a scenario spans several suites, this file supplies only its listed assertions; qualification must include the other bindings and any recorded coverage finding.

## What It Does Not Prove

Local database execution does not prove deployed infrastructure, external provider availability or console behavior. No result is claimed for the pinned revision until the suite runs and its evidence is reviewed.

## Real Dependencies and Test Doubles

PostgreSQL, migrations and the exercised persistence paths are real. Test-owned execution contexts, clocks and local Platform records supply deterministic setup; the file’s imports and fixtures identify any additional doubles.

## Must Not Be Doubled

The database constraints, transaction paths and production persistence functions named by the assertions must remain real. A memory store cannot establish the recorded database proof.
