# StockSourcesInput input


What [`stockSources`](/chameleoon-max/query/stock-sources) plans for.

## Input fields

### needs

[`[StockNeedInput!]!`](/chameleoon-max/type/stock-need-input) · required

The goods needed, 1 to 100, each product variant once.

### from

[`StockSourceFilter!`](/chameleoon-max/type/stock-source-filter) · required

Where the goods may be taken from.

### forWarehouseId

[`UUID`](/chameleoon-max/type/uuid)

The warehouse the goods go to. A lot must also pass its expired-stock policy, so goods expired
where a warehouse only warns are not moved into one that blocks them. Every other warehouse then
keeps back what its own confirmed orders still miss (see [`stockSources`](/chameleoon-max/query/stock-sources)).

### exceptAdviceIds

[`[UUID!]`](/chameleoon-max/type/uuid)

OPEN transfer advices nobody has started, at most 20, whose holds are free again. Requires the
`transferAdvice.read` permission when not empty. See [`binRefills`](/chameleoon-max/query/bin-refills).

## Used by

- [`stockSources`](/chameleoon-max/query/stock-sources) (query)
