Skip to content

Submit Order

Description

Submit Order represents the business action that transitions a draft purchase order into an externally committed state (e.g., sent to a vendor). The current codebase does not include a service that performs this workflow end-to-end.

Requirement

  • Track outstanding design: implement a submission flow that validates an order, transitions its status, and triggers downstream integrations.

Preconditions

  • N/A. Submission is not wired into operations/src/main/kotlin/cards/arda/operations/procurement/orders/service.

Scenario Overview

  • Not implemented. Existing services expose CRUD helpers (OrderRecordService, OrderFromItemsService, OrderFromCardsService) but do not change OrderStatus or initiate vendor communication.

PostConditions

  • None at this time. Orders remain in their previous state after creation or edits.

Creation of Order Lines

  • No additional lines are generated during submission; the feature remains pending.

Changes to Order Header

  • No status transitions are executed. Future work should define how to move orders from NEW/APPROVED to downstream states.

Updates to Associated Kanban Cards

  • Submission does not currently propagate events to Kanban cards. Any future implementation should coordinate with KanbanCardService.

Comments