Skip to content

FAS-ACC-BAT-04Ledger protection and reading: Feature Acceptance Suite

Markdown

FAS-ACC-BAT-04

Ledger protection and reading: Feature Acceptance Suite

Markdown
  • DocumentProposed
  • Product intentProposed

Product areaAccountingModuleBatch ManagementRevision1

Read atservices-accounting f47cb263react-console baf6dae3rhythm-v2-docs 37405d50

Scenarios

5 scenarios proving FEAT-ACC-BAT-04 as a whole.

01 Entry detail agrees with protected stored lines behaviour proposed
Exercises
CAP-ACC-BAT-017 CAP-ACC-BAT-018
Relies on
ATS-ACC-BAT-017-01 ATS-ACC-BAT-018-03
Preconditions
An isolated unit has one posted taxed invoice entry.
Steps
[object Object]
Expected
The views expose the same balanced entry and readable source-document context.
Data
An isolated workspace, business unit and owned fixtures matching the stated accounting setup.
Source
rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-017-keep-the-subledger-balanced-and-unchangeable.md#ATS-ACC-BAT-017-01; rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-018-read-the-subledger-by-batch-document-account-and-date.md#ATS-ACC-BAT-018-03
02 Rejected ledger mutations preserve the read view interactionnegative proposed
Exercises
CAP-ACC-BAT-017 CAP-ACC-BAT-018
Relies on
ATS-ACC-BAT-017-03 ATS-ACC-BAT-018-03
Preconditions
A current invoice entry is visible to its workspace reader.
Steps
[object Object]
Expected
The mutations fail and the second read preserves the original entry and lines.
Data
An isolated workspace, business unit and owned fixtures matching the stated accounting setup.
Source
rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-017-keep-the-subledger-balanced-and-unchangeable.md#ATS-ACC-BAT-017-03; rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-018-read-the-subledger-by-batch-document-account-and-date.md#ATS-ACC-BAT-018-03
03 Ordinary and fiscal recovery have different read histories lifecycle proposed
Exercises
CAP-ACC-BAT-016 CAP-ACC-BAT-017 CAP-ACC-BAT-018 CAP-ACC-BAT-020
Relies on
ATS-ACC-BAT-016-02 ATS-ACC-BAT-018-04 ATS-ACC-BAT-020-05
Preconditions
One ordinary posting and one fiscal system posting exist in periods eligible for their respective recovery.
Steps
[object Object]
Expected
Ordinary entry history is empty; fiscal history retains original and mirrored entries when requested.
Data
An isolated workspace, business unit and owned fixtures matching the stated accounting setup.
Source
rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-016-take-a-posting-back-and-post-again.md#ATS-ACC-BAT-016-02; rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-018-read-the-subledger-by-batch-document-account-and-date.md#ATS-ACC-BAT-018-04; rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-020-post-and-reverse-the-period-s-system-batches-for-the-fiscal.md#ATS-ACC-BAT-020-05
04 Entry reading and dataset querying enforce their boundaries permissionnegative proposed
Exercises
CAP-ACC-BAT-017 CAP-ACC-BAT-018
Relies on
ATS-ACC-BAT-017-06 ATS-ACC-BAT-018-01 ATS-ACC-BAT-018-05 ATS-ACC-BAT-018-06
Preconditions
Two workspaces have distinct posted entries and callers with entry-read and dataset-query grants.
Steps
[object Object]
Expected
Each caller sees only its workspace; missing grants are refused and foreign entry detail is indistinguishable from absence.
Data
An isolated workspace, business unit and owned fixtures matching the stated accounting setup.
Source
rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-017-keep-the-subledger-balanced-and-unchangeable.md#ATS-ACC-BAT-017-06; rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-018-read-the-subledger-by-batch-document-account-and-date.md#ATS-ACC-BAT-018-01; rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-018-read-the-subledger-by-batch-document-account-and-date.md#ATS-ACC-BAT-018-05; rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-018-read-the-subledger-by-batch-document-account-and-date.md#ATS-ACC-BAT-018-06
05 Invalid entry writes cannot become report rows regressionnegative proposed
Exercises
CAP-ACC-BAT-017 CAP-ACC-BAT-018
Relies on
ATS-ACC-BAT-017-01 ATS-ACC-BAT-017-04 ATS-ACC-BAT-018-03
Preconditions
An isolated unit has a current posting and a different unit’s account.
Steps
[object Object]
Expected
Both writes fail and neither attempted entry appears in the read or reporting results.
Data
An isolated workspace, business unit and owned fixtures matching the stated accounting setup.
Source
rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-017-keep-the-subledger-balanced-and-unchangeable.md#ATS-ACC-BAT-017-01; rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-017-keep-the-subledger-balanced-and-unchangeable.md#ATS-ACC-BAT-017-04; rhythm-v2-docs:specs/accounting/batches/design/tests/ATS-ACC-BAT-018-read-the-subledger-by-batch-document-account-and-date.md#ATS-ACC-BAT-018-03

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.