Skip to main content

Import types

The Data Import Hub in the portal additionally exposes store, product, category, and product-image imports; see the user guide for that workflow. Every import creates an ImportBatch record tracking row counts and per-row errors.

Employee import

CSV columns

The parser accepts common header aliases (for example Staff No, Personnel Number, Full Name) in addition to the canonical names above.

Import flow

Partial failure tolerance

  • Valid rows are imported; invalid rows are skipped with a per-row error message
  • Existing employees are updated (upsert by employee number); new employees are created
  • Imports are not rolled back on partial failure
  • Missing stores can be auto-created when the option is enabled in the import dialog

Scoping

The importer extracts the client from the user’s roles, assigns every imported employee to that client, and validates store references against the client’s stores. Admins may pass an explicit clientId to narrow the target client; it can never widen their scope.

Rule set import

CSV columns

Rows are grouped by client code and rule set name, so one rule set spans multiple rows, each contributing one allocation item. Criteria are not part of the CSV import; they are configured in the Entitlement Rules UI after import.

Validation