Skip to content

JNY-ACC-BAT-002An administrator corrects ordinary posted work

Markdown

JNY-ACC-BAT-002

An administrator corrects ordinary posted work

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationObserved

KindJourneyProduct areaAccountingModuleBatch ManagementRevision1End-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
Recover a mistaken collection, correct its contents and leave one fresh current ledger result.
Screens
/console/{tenantId}/accounting/batches/{batchId}

Steps

#SurfaceActionCapabilityExpectedProvenance
1getDependentBatchesInspect the collection’s downstream dependencies.CAP-ACC-BAT-002The lookup returns no dependent batch for this recovery case.test
2/console/{tenantId}/accounting/batches/{batchId} (More Actions › Unpost)Select Unpost and acknowledge deletion of the ordinary entries.CAP-ACC-BAT-016Recovery progress succeeds and the reloaded collection is Open without a current posting.test
3/console/{tenantId}/accounting/batches/{batchId} (Subledger Entries tab, Include reversed entries)Inspect the entry list with historical reversals included.CAP-ACC-BAT-018No ordinary ledger rows or compensating reversal entries remain for that posting.documented
4/console/{tenantId}/accounting/batches/{batchId} (Transactions tab › Move to Another Batch)Move the misplaced invoice to another Open collection in the same unit.CAP-ACC-BAT-007The target collection now owns the invoice.test
5/console/{tenantId}/accounting/batches/{batchId} (Post)Submit posting for the corrected collection.CAP-ACC-BAT-013A fresh result contains the remaining documents and excludes the moved invoice.test

Alternate and Failure Paths

PathFrom stepConditionPath takenOutcomeProvenance
alternate1A downstream collection is already Posted.Recover that dependent collection before its source.Both collections can then be corrected and posted in dependency order.test
services-accounting:modules/batches/tests/integration/services/posting/rebuilt-documents.integration.spec.js#refuses to unpost October while November, which depends on it, is posted
failure2Fiscal close has protected the collection’s period.The period guard refuses ordinary recovery.The collection remains Posted; any correction in another period needs its applicable document workflow.test
services-accounting:modules/batches/tests/integration/services/close/posting-period-guard.integration.spec.js#refuses the batch action `unpost` (`period_not_open`), submitting no job
failure2Staff can post but lack recovery access.Unpost is unavailable and an unauthorized request fails.The posted accounting result remains intact.test

Assertions

IdStatementProvenance
01Ordinary recovery removes the first posting’s entries and lines without adding reversals.test
services-accounting:modules/batches/tests/integration/services/posting/unpost-deletes-entries.integration.spec.js#lists, history included, only the fresh set after the repost: no stale entry, no reversal
02History retains the recovered posting alongside the new current posting.test
03The replacement posting owns exactly one fresh current entry set.test
services-accounting:modules/batches/tests/integration/services/posting/unpost-deletes-entries.integration.spec.js#writes one fresh set when the batch is posted again, equal in size to the first
04The moved invoice contributes to the target collection’s accounting result.test

End-to-end policy: required: Browser acceptance is required to show ordinary deletion, subsequent document correction and the fresh accounting result consistently.

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.