Skip to content

Define and Document Item History & Location Logic #10

@vivjd

Description

@vivjd

Goal:
Formalize how ItemHistory determines an item’s current location.

Tasks:

  • Identify events that update true location (INITIAL, ARRIVED, VERIFIED, CORRECTION)
  • Identify workflow-only events (MOVE_REQUESTED, MOVE_APPROVED, MOVE_REJECTED)
  • Write algorithm for get_current_location(item_id)
  • Document the rules with example transitions

Acceptance Criteria:

  • Logic clearly documented and approved by team
  • Example flows yield expected results

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions