Skip to content

JNY-ACC-PRD-002Finance withdraws, restores and removes catalogue products

Markdown

JNY-ACC-PRD-002

Finance withdraws, restores and removes catalogue products

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

KindJourneyProduct areaAccountingModuleProductsRevision3End-to-endRequired

Read atreact-console baf6dae3services-accounting f47cb263

The Formal Contract

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

Goal
Withdraw a workshop without discarding its identity, restore it for later use and remove an unreferenced mistake.
Screens
/console/{tenantId}/configuration/accounting/products/console/{tenantId}/configuration/accounting/products/{id}

Steps

#SurfaceActionCapabilityExpectedProvenance
1/console/{tenantId}/configuration/accounting/productsConfirm Deactivate and then Activate from the workshop row.CAP-ACC-PRD-005The row leaves the default active view and returns after activation.test
2/console/{tenantId}/configuration/accounting/productsConfirm retirement from the row menu.CAP-ACC-PRD-005The retired row offers restoration and no ordinary edit action.test
3updateProductSubmit a name correction while retired.CAP-ACC-PRD-004The refusal instructs reactivation before correction.test
4/console/{tenantId}/configuration/accounting/productsConfirm Reactivate from the list.CAP-ACC-PRD-005Active status and correction access return.test
5updateProductAttempt to change product kind or business unit.CAP-ACC-PRD-002The API rejects the change and the unit remains fixed in the editor.test
6/console/{tenantId}/configuration/accounting/productsConfirm deletion of an unreferenced duplicate.CAP-ACC-PRD-006The product and owned pricing and setup disappear.test

Alternate and Failure Paths

PathFrom stepConditionPath takenOutcomeProvenance
alternate6An invoice still refers to the product.Observe the deletion refusal and preserve the product.Its continuing identity remains available.test
failure2The product has an update lock.Explain the refusal and required lock release.Retirement leaves its status unchanged.test
failure6The accounting setup has a delete lock.Reject product removal.Product and setup remain intact.test
services-accounting:modules/products/tests/integration/services/persistence/products.integration.spec.js#refuses a product whose accounting setup is locked against deletes, leaving the product and its setup (DEF-ACT-0101)

Assertions

IdStatementProvenance
01Retired replacement attempts preserve the existing version and data.test
02Attempted ownership-coordinate changes preserve identity, kind and unit.test
03Successful removal cascades to the product’s price and setup rows.test
services-accounting:modules/products/tests/integration/services/persistence/products.integration.spec.js#takes its prices, components, accounting setup and the setup’s collections with it

End-to-end policy: required: Confirmed row actions and disabled editing need a browser proof.

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.