Skip to content

FAS-COM-FUL-05Historical Commerce Imports: Feature Acceptance Suite

Markdown

FAS-COM-FUL-05

Historical Commerce Imports: Feature Acceptance Suite

Markdown
  • DocumentProposed
  • Product intentProposed

Product areaCommerceModuleFulfillment, Shipping and InventoryRevision1

Read atservices-commerce c8b66a98react-console baf6dae3

Scenarios

5 scenarios proving FEAT-COM-FUL-05 as a whole.

01 Validation, application and source-key reconciliation form one import behaviour test
Exercises
CAP-COM-FUL-020
Relies on
ATS-COM-FUL-020-02 ATS-COM-FUL-020-07
Preconditions
Prepared store records have producer source keys and an authorized implementation identity.
Steps
Validate without writes, inspect impact, echo the digest to apply, run the batch and read back its source keys.
Expected
The reviewed job applies and the same source identities reconcile to the loaded records.
Data
An isolated workspace with the records and identities specified by the case; each independent branch uses fresh records.
Bound to
Source
rhythm-v2-docs:specs/commerce/fulfillment/design/tests/ATS-COM-FUL-020-load-a-workspace-s-rhythm-1-0-commerce-records-and-check.md#ATS-COM-FUL-020-02,rhythm-v2-docs:specs/commerce/fulfillment/design/tests/ATS-COM-FUL-020-load-a-workspace-s-rhythm-1-0-commerce-records-and-check.md#ATS-COM-FUL-020-07,services-commerce:modules/data-operations/tests/integration/services/jobs/data-jobs.integration.spec.js
02 Imported stock uses the ordinary movement accounting interaction test
Exercises
CAP-COM-FUL-020 CAP-COM-FUL-017
Relies on
ATS-COM-FUL-020-09 ATS-COM-FUL-017-02
Preconditions
Prepared warehouse, location and stock records identify a migrated SKU.
Steps
Import twelve units with two damaged, read its original source key and inspect live movements and balances.
Expected
The opening stock has count and damage entries and ten available units; the ordinary ledger explains the imported balance.
Data
An isolated workspace with the records and identities specified by the case; each independent branch uses fresh records.
Bound to
Source
rhythm-v2-docs:specs/commerce/fulfillment/design/tests/ATS-COM-FUL-020-load-a-workspace-s-rhythm-1-0-commerce-records-and-check.md#ATS-COM-FUL-020-09,rhythm-v2-docs:specs/commerce/fulfillment/design/tests/ATS-COM-FUL-017-record-stock-that-comes-in-moves-and-goes-out.md#ATS-COM-FUL-017-02,services-commerce:modules/data-operations/tests/integration/services/operations/inventory-import.integration.spec.js
03 Cancellation between batches retains the committed part of a load lifecycle proposed
Exercises
CAP-COM-FUL-020
Relies on
ATS-COM-FUL-020-02 ATS-COM-FUL-020-05
Preconditions
An applied job has multiple batches and one batch has already committed.
Steps
Pause before the next batch, resume, cancel at a later batch boundary and inspect the job and source-key results.
Expected
Cancellation reports already committed records and prevents further uncommitted work without deleting history.
Data
An isolated workspace with the records and identities specified by the case; each independent branch uses fresh records.
Source
rhythm-v2-docs:specs/commerce/fulfillment/design/tests/ATS-COM-FUL-020-load-a-workspace-s-rhythm-1-0-commerce-records-and-check.md#ATS-COM-FUL-020-02,rhythm-v2-docs:specs/commerce/fulfillment/design/tests/ATS-COM-FUL-020-load-a-workspace-s-rhythm-1-0-commerce-records-and-check.md#ATS-COM-FUL-020-05
04 Revoked submitter authority stops queued import work permissionnegative proposed
Exercises
CAP-COM-FUL-020
Relies on
ATS-COM-FUL-020-01 ATS-COM-FUL-020-05
Preconditions
A submitted batch is queued and the submitting administrator subsequently loses record-write authority.
Steps
Deliver the batch after revocation, inspect the job, and separately try a portal submission.
Expected
The job fails for revoked authority without applying the item; the portal identity cannot submit.
Data
An isolated workspace with the records and identities specified by the case; each independent branch uses fresh records.
Source
rhythm-v2-docs:specs/commerce/fulfillment/design/tests/ATS-COM-FUL-020-load-a-workspace-s-rhythm-1-0-commerce-records-and-check.md#ATS-COM-FUL-020-01,rhythm-v2-docs:specs/commerce/fulfillment/design/tests/ATS-COM-FUL-020-load-a-workspace-s-rhythm-1-0-commerce-records-and-check.md#ATS-COM-FUL-020-05
05 Redelivery retains batch identity and rejects unreadable work regressionnegative test
Exercises
CAP-COM-FUL-020
Relies on
ATS-COM-FUL-020-05
Preconditions
A queued authorized batch and an unreadable queue message are available.
Steps
Dispatch and deliver the valid batch twice, then deliver the unreadable message.
Expected
The valid item applies once and is acknowledged on replay; unreadable work is left for dead-letter handling.
Data
An isolated workspace with the records and identities specified by the case; each independent branch uses fresh records.
Bound to
Source
rhythm-v2-docs:specs/commerce/fulfillment/design/tests/ATS-COM-FUL-020-load-a-workspace-s-rhythm-1-0-commerce-records-and-check.md#ATS-COM-FUL-020-05,services-commerce:modules/data-operations/tests/integration/services/queue/data-job-worker.integration.spec.js

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.