For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order lines

What each line on an order carries, how it is reserved against stock, and how lines relate to each other.

Every product on an order is a line. A line is not just a product and a quantity — it also records where the goods are coming from and how it relates to other lines on the same order.

Those two things explain most of what looks surprising on an order.

How a line is reserved

The reservation type says where the stock for this line is expected to come from.

Reservation
Where the goods come from
Reserves stock?

NONE

Nothing is set aside

No

WAREHOUSE

Stock you already hold

Yes

PURCHASEORDER

A purchase order that exists

Yes

PURCHASEORDER_CONFIRMED

A purchase order the supplier has confirmed

Yes

REQUEST_PURCHASEORDER

A purchase order that has been requested but not yet placed

Yes

Everything except NONE reserves. That matters: a line can hold a reservation against goods that do not exist yet. REQUEST_PURCHASEORDER and PURCHASEORDER both reserve against a supplier order, not against anything on your shelf.

This is what lets you sell an item you have not got, promise a date, and have the reservation follow the goods in. The counterpart on the purchasing side is Receiving goods — receiving is what converts that promise into stock.

How lines relate to each other

Lines are linked in pairs. Each relationship has two sides, and each side has its own link type, so you can read the relationship from either end.

One side
The other side
What it is

INSURANCE

INSURED

An insurance line and the product it insures

SERVICE

HAS_SERVICE

A service line and the product it applies to

FREIGHT_SERVICE

HAS_FREIGHT_SERVICE

A freight line and what it ships

PACKAGE_COMPONENT

PACKAGE

A component and its parent package

COMPENSATION

COMPENSATED

A compensation line and what it compensates

AUTO_ADD

AUTO_ADDED

A line that was added automatically, and its trigger

CREDIT

A credit reference

These links come from the product's own relationships — see Linked products for how they are set up.

The pairing is why removing a line can change others. An insurance line points at the product it insures, so removing that product removes the insurance with it. An accessory holds no such dependency, so it stays.

What this means for you

  • Check the reservation type before promising a date. A reserved line does not mean the goods are in the building. Only WAREHOUSE means that.

  • Expect lines to disappear in pairs. Insurance, auto-added products and package components are tied to a parent line and go when it goes.

  • Package component lines are derived. Their prices are a split of the package price, not the product's own price — see Package products.

Limitations

  • A line has one reservation type. Splitting a quantity across stock on hand and an incoming purchase order means more than one line.

  • A credit link is one-directional; there is no paired type on the other side.


Last updated 19.09.2026

Was this helpful?