Skip to content

CAP-ACC-PRD-003Locate products and inspect their configuration

Markdown

CAP-ACC-PRD-003

Locate products and inspect their configuration

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

KindCapabilityProduct areaAccountingModuleProductsRevision5

Read atservices-accounting f47cb263react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Outcomes
Readers can find and inspect relevant catalogue records.
Surfaces
consoleapi
Intent sources
services-accounting:docs/milestones/ACCT-M1-books-and-invoices.md#D3services-accounting:docs/milestones/ACCT-M1-books-and-invoices.md#D11services-accounting:docs/milestones/ACCT-M1-books-and-invoices.md#R9services-accounting:docs/milestones/ACCT-M1-books-and-invoices.md#R28

Controls

17 controls apply, from the corpus control catalogue.

TC-IAM-001 TC-IAM-002 TC-IAM-004 TC-IAM-005 TC-AZ-001 TC-AZ-002 TC-AZ-003 TC-AZ-004 TC-AZ-006 TC-TEN-001 TC-TEN-002 TC-TEN-003 TC-TEN-004 TC-LOG-004 TC-LOG-005 TC-PI-001 TC-PI-005

Permissions

KeyChecked atScope
accounting.products.readapitenant

Business Rules

8 rules, 4 to be proved before approval. A rule's product intent is derived from its origin: 0 confirmed by a product decision, the rest inheriting this capability's proposed.

IdRuleKindEnforced atProvenance
01must prove
Proposed
Product pages sort by name and identity, default to fifty entries, allow limits up to two hundred and provide a continuation cursor when more entries exist.
validationapi, servicetest
02
Proposed
Product queries combine kind, status and unit filters with case-insensitive name and identity searches that treat wildcard characters as text.
policyapi, servicetest
03
Proposed
Product reads include prices, components, selling settings, an accounting summary or none, and the resolved tax class.
policyservicetest
services-accounting:modules/products/tests/integration/services/persistence/products.queries.integration.spec.js#maps a product whole: every column, its prices, its components and its accounting summary
04must prove
Proposed
A workspace cannot list or retrieve another workspace’s products.
permissionservice, databasetest
05must prove
Proposed
Product reads require product read permission, while full accounting setup reads require the separate product-accounting read permission.
permissionapitest
06must prove
Proposed
Readers without product edit authority can inspect the product editor with its controls disabled.
permissionconsoleobserved
07
Proposed
The console defaults to the working unit, keeps tab and unit selections in the address, pages twenty-five records, hides inactive and retired entries by default and identifies missing accounting setup.
policyconsoleobserved
08
Proposed
The portal projection removes components, version, accounting summary, confirmation settings, purchase limits and task instructions, retaining only base-currency prices; no portal product route currently uses it.
policyserviceobserved

Scenarios

IdGivenWhenThenProvenance
01Thirty catalogue products span two units.A reader selects one unit and searches for permit.Matching names and identities in that unit appear in name order.test
02A product has no accounting setup.Staff inspect its console row.The accounting indicator explains that unit defaults apply.observed

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.