# StockReservationBySource type


How much of a card's `reserved` or `waiting` quantity belongs to the orders of one external
source, in `reservedBySource` and `waitingBySource`. The external source is null for orders without
one, and, in `reservedBySource`, for open transfer advices.

## Fields

### source

`String`

The code of the external source of the order's oldest external reference. Null for an order
without one, or for an open transfer advice.

### quantity

[`Decimal!`](/chameleoon-max/type/decimal)

What is reserved for, or waits for, the orders of this external source. In `reservedBySource`,
when `source` is null, it also includes what open transfer advices hold.

## Used by

- [`StockFigures`](/chameleoon-max/type/stock-figures)
