Skip to content

Remove a Line from a Purchase Order

Remove a Line from 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

  1. User selects an Order from the list of Draft Orders and selects the Edit Lines action.
  2. The system opens the List of Lines in the Order and shows it to the User.
  3. The User selects a line and clicks the Remove button.
  4. The system removes the line from the Order and shows the updated list to the User.

Sequence Diagram

uml diagram

Note

At this point if the user selects multiple lines to remove, the Front End should loop through them and call the API for each one.
If this is a common usage pattern, the Back End will provide a batch remove line API.

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.
List Lines for Order GET /v1/order/order/full/{eId} Returns the full Order Record (Header & Lines)
Remove Line form Order DELETE /v1/order/order/{eId}/lines/{lineEId} Removes a Line from an Order

Copyright: © Arda Systems 2025-2026, All rights reserved

Comments