> For the complete documentation index, see [llms.txt](https://docs.dataloy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dataloy.com/release-5.32/voyage-management-system/step-by-step-guides/port-services-orders/maintain-port-services-orders.md).

# Maintain Port Services Orders

Changes to a port services order are done from the drawer that opens after [creating](/release-5.32/voyage-management-system/step-by-step-guides/port-services-orders/create-port-services-orders.md) a port services order.

To maintain an already existing port services order, open the **Operations**<img src="/files/-M49l8Y73BK_WcqImg2D" alt="" data-size="original">**Port Services Orders** module and click the order you want to change. It will now open in the drawer.

## Editing an order

### Order details

You can change order date, supplier and cost details under "Order Details".

The total port cost of the order lines are calculated for estimate (advanced), revised, and final.

### Order reference

1. Click the more icon<img src="/files/-M49rzQXCOWtZTZDxjI3" alt="" data-size="original">at top right.
2. Select **Edit order reference**.
3. Make changes to the reference in the window.
4. Click **Save**.

### Status

You can change the status of the order at all times. There are three statuses, "estimate", "revised", and "final".

1. Click the more icon<img src="/files/-M49rzQXCOWtZTZDxjI3" alt="" data-size="original">at top right.
2. Select **Set status to \<status>**.

## Creating order lines

Click<img src="/files/-M23aB95JDSUt7kYOdWo" alt="" data-size="line">in the "Order Lines" section to create a new order line.

{% hint style="info" %}
**Tip:** You cannot set the revised and final cost of an order line until after it has been created. Open an already created order line from the list to set these values.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.dataloy.com/release-5.32/voyage-management-system/step-by-step-guides/port-services-orders/maintain-port-services-orders.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
