Skip to content

FAS-ACC-BKS-04Shared Terms, Receipt Methods and Tax Mapping acceptance

Markdown

FAS-ACC-BKS-04

Shared Terms, Receipt Methods and Tax Mapping acceptance

Markdown
  • DocumentProposed
  • Product intentProposed

Product areaAccountingModuleBooks, Business Units and Chart of AccountsRevision1

Read atservices-accounting f47cb263react-console baf6dae3

Scenarios

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

01 Configure shared definitions for several units behaviour proposed
Exercises
CAP-ACC-BKS-011 CAP-ACC-BKS-012 CAP-ACC-BKS-013
Relies on
ATS-ACC-BKS-011-02 ATS-ACC-BKS-012-03 ATS-ACC-BKS-013-02
Preconditions
Two business units share one workspace and have eligible tax destinations.
Steps
Create a shared term, eligible payment method and class with zone rates, then inspect the choices in both unit contexts.
Expected
Shared definitions keep their workspace identity while tax destinations retain their unit context.
Data
Run-owned records and principals for the stated setup; record original shared settings and restore them after exclusive cases.
Source
ATS-ACC-BKS-011-02,ATS-ACC-BKS-012-03,ATS-ACC-BKS-013-02
02 Apply a method behavior to the unit fee choice interaction test
Exercises
CAP-ACC-BKS-012 CAP-ACC-BKS-003
Relies on
ATS-ACC-BKS-012-01 ATS-ACC-BKS-003-06
Preconditions
A complete unit fee rule and the three payment method behaviors are available.
Steps
Evaluate fee eligibility for each method, change the bank-debit fee switch and repeat the evaluation.
Expected
The method behavior and changed unit policy determine fee eligibility together.
Data
Run-owned records and principals for the stated setup; record original shared settings and restore them after exclusive cases.
Bound to
Source
services-accounting:modules/books/tests/unit/rules/card-fee-rules.spec.js#charges a card behaviour always, a bank debit only when the rule says so, and never an offline method or without a rule
03 Preserve protected methods on provisioning retry lifecycle proposed
Exercises
CAP-ACC-BKS-012 CAP-ACC-BKS-019
Relies on
ATS-ACC-BKS-012-02 ATS-ACC-BKS-019-01
Preconditions
A newly provisioned workspace has its initial methods.
Steps
Rename a system method, retry provisioning, deactivate a non-system method and read both method groups.
Expected
Retry preserves the permitted system-method edit and its protection; non-system availability remains independently editable.
Data
Run-owned records and principals for the stated setup; record original shared settings and restore them after exclusive cases.
Source
ATS-ACC-BKS-012-02,ATS-ACC-BKS-019-01
04 Inspect shared definitions without granting maintenance permissionnegative proposed
Exercises
CAP-ACC-BKS-011 CAP-ACC-BKS-012 CAP-ACC-BKS-013
Relies on
ATS-ACC-BKS-016-01
Preconditions
An application-authorized reader and administrator have run-owned shared definitions.
Steps
Read terms, methods and tax setup as the reader and attempt every supported write, then repeat eligible writes with the administrator grants.
Expected
Resource grants govern every shared definition independently and refused writes preserve stored setup.
Data
Run-owned records and principals for the stated setup; record original shared settings and restore them after exclusive cases.
Source
ATS-ACC-BKS-016-01
05 Expose an installment reference when term removal fails regressionnegative proposed
Exercises
CAP-ACC-BKS-011 CAP-ACC-BKS-016
Relies on
ATS-ACC-BKS-011-03
Preconditions
A term is referenced only by an installment schedule.
Steps
Attempt term deletion through the public API and read it after the refusal.
Expected
A useful dependency conflict replaces the unexplained error and the referenced term remains stored.
Data
Run-owned records and principals for the stated setup; record original shared settings and restore them after exclusive cases.
Source
ATS-ACC-BKS-011-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.