Add new Lines from a set of Kanban Cards to a Purchase Order
Add new Lines from a set of Kanban Cards to a Purchase Order¶
Given an existing Draft Purchase Order, the user can add new lines to it by selecting additional sets of Kanban Cards.
Use Case¶
- User selects a set of Cards from the Order Queue
- User clicks on the Order button and selects “add to existing order”
- The system presents a selection of the orders that the user can add the cards to. These are the Orders in the
NEWstatus, ordered in most-recent first. - User selects an order and clicks on Add
- The system validates the selected cards for compatibility with the selected order.
-
The system adds the new lines to the order and displays the updated order.
- The added cards are transitioned to the
REQUESTEDstatus by the backend.
The Logic to create the Purchase Order from the selected cards is the same as the Create Purchase Order from Kanban Cards use case, with the following exceptions:
- If All selected cards do not belong to items that have a compatible Supplier with the selected order, or no supplier defined, the system will show an error.
- Cards that are compatible with pre-existing lines (same item and unit of measure) will be added to existing lines.
- Cards that are not compatible with pre-existing lines (different item or unit of measure) will be added as new lines, grouped as in the create use case.
- The added cards are transitioned to the
Sequence Diagram¶
API Routes¶
Note
For details see the OpenApiSpecification
This is the authoritative source for the specific routes.
| Step | Route | Notes |
|---|---|---|
List Order Headers with Status NEW |
POST /v1/order/order/query |
Body is a query object with a filter for status NEW and page = 0, it returns a page of Order Header Records. |
| Add Cards to Order | PUT /v1/order/order/from-kanban-cards/{eId} |
Body is a list of Card EIds, it returns the Updated Full Order Record. |
List Cards in Status REQUESTING |
POST /v1/kanban/kanban-card/query |
Body is a query object with a filter for status REQUESTINGand page = 0, it returns a page of Kanban Card Records. |
Copyright: © Arda Systems 2025-2026, All rights reserved