Skip to content

ATS-ACC-CLS-007Preview the entries a close can recognize: Capability Test Specification

Markdown

ATS-ACC-CLS-007

Preview the entries a close can recognize: Capability Test Specification

Markdown
  • DocumentProposed

Planning

Proves capability
CAP-ACC-CLS-007

Design

Executed by
TST-ACC-CLS-017, TST-ACC-CLS-034, TST-ACC-CLS-042

KindAcceptance test setProduct areaAccountingModuleMonth-End ClosingRevision1

Read atservices-accounting f47cb263react-console baf6dae3

Preview the entries a close can recognize: Capability Test Specification ​

Coverage ​

The table maps each required rule to its specified cases or an explicit finding. Category coverage describes the specification; executable bindings and recorded run results establish different kinds of evidence. Proposed cases remain unqualified.

Recognition preview and close execution examine the same schedules at different times. The proposed correction sequence compares the preview before closing and after reopening. Existing query tests establish selection and amounts without executing that complete comparison.

Coverage

  • Rule covered
  • Transition not-applicable
  • Validation covered
  • Permission not-applicable
  • Edge covered
  • Failure gap: FND-ACC-CLS-063
  • Boundary covered
  • Concurrency gap: FND-ACC-CLS-063
  • Invariant gap: FND-ACC-CLS-063
  • Interaction covered

Test Scenarios

5 scenarios proving CAP-ACC-CLS-007; 4 bound to an existing test.

01 Preview due recognition and missing accountsvalidationunitnegativetest
Proves
BR-CAP-ACC-CLS-007-01 BR-CAP-ACC-CLS-007-02
Preconditions
Due schedules include valid and incomplete setup.
Steps
Evaluate the recognition check.
Expected
Valid work has counts and amounts, while missing-account work blocks with an explanation.
Data
Due schedules with account variants.
Bound to
services-accounting:modules/fiscal-close/tests/unit/readiness/other-checks.spec.js#passes with what the close will recognize: 41 schedules ($63,215.00)
services-accounting:modules/fiscal-close/tests/unit/readiness/other-checks.spec.js#is blocked by a due entry with no G/L account, naming the problem on its line
Source
services-accounting:modules/fiscal-close/tests/unit/readiness/other-checks.spec.js#revenue_recognition
02 Bound recognition by currency, date and workspaceboundaryapitest
Proves
BR-CAP-ACC-CLS-007-04 BR-CAP-ACC-CLS-007-06 BR-CAP-ACC-CLS-007-02 INV-DOM-ACC-CLS-002-09
Preconditions
Schedules span currencies, future dates and workspaces.
Steps
Request a preview through period end.
Expected
Totals remain separate, incomplete schedules lead and future or foreign entries are excluded.
Data
Multi-currency schedules in two workspaces.
Bound to
services-accounting:modules/fiscal-close/tests/integration/services/persistence/recognition-previews.queries.integration.spec.js#answers each schedule due, those that cannot be recognized first, every property mapped
Source
services-accounting:modules/fiscal-close/tests/integration/services/persistence/recognition-previews.queries.integration.spec.js#fiscal close persistence: previewing the revenue a close recognizes (integration)
03 Skip unsupported cost of goods sold workruleunittest
Proves
BR-CAP-ACC-CLS-007-05
Preconditions
A close can proceed on its other checks.
Steps
Evaluate the cost check and execute closing.
Expected
The check is not applicable and the step reports a skipped explanation.
Data
A clean closing fixture.
Bound to
services-accounting:modules/fiscal-close/tests/unit/readiness/other-checks.spec.js#is not applicable, saying Rhythm 2.0 records no COGS entries yet
Source
services-accounting:modules/fiscal-close/tests/unit/readiness/other-checks.spec.js#is not applicable, saying Rhythm 2.0 records no COGS entries yet
04 Compare recognition preview across correctioninteractionapiproposed
Proves
BR-CAP-ACC-CLS-007-01 BR-CAP-ACC-CLS-007-04
Preconditions
An ended month has one due schedule and a later entry.
Steps
Review the preview, close, reopen and review the preview again before another close.
Expected
The recognized due share disappears from due work, returns after reversal and is recognized again; the later entry stays outside the first month’s work.
Data
An ended month has one due schedule and a later entry.
Source
rhythm-v2-docs:specs/accounting/close/design/workflows/WF-ACC-CLS-002-reopen-the-latest-closed-month.md#What It Does,services-accounting:modules/fiscal-close/tests/unit/readiness/other-checks.spec.js#passes with what the close will recognize: 41 schedules ($63,215.00),services-accounting:modules/fiscal-close/tests/integration/services/persistence/recognition-previews.queries.integration.spec.js#totals the schedules due per currency, counting the ones that cannot be recognized
05 Review a preview with no due revenueedgeunittest
Proves
BR-CAP-ACC-CLS-007-03
Preconditions
The supplied recognition preview has no due schedules.
Steps
Evaluate the revenue check.
Expected
The check passes and reports that there is no due recognition work.
Data
The supplied recognition preview has no due schedules.
Bound to
Source
services-accounting:modules/fiscal-close/tests/unit/readiness/other-checks.spec.js#passes with nothing due

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.