OBJECT

Stock

Quantities in Stock have the following meaning

         physical      ordered             incoming*
          /      \      /     \             /      \
freeToAllocate  allocated     demand - linked*    unlinked*

demand is decreased by linked quantity when supplier module is enabled

unshipped = all ordered items which are not in a "sent" shipment

availableNow = freeToAllocate - demand

available* = availableNow + unlinked*

on delivery* = number of incoming items from supplier orders, which are present in supplier deliveries

*with Supplier Module

More information

link GraphQL Schema definition

1type Stock {
2physicalQuantity: Int!
3
4freeToAllocateQuantity: Int!
5
6allocatedQuantity: Int!
7
8demandQuantity: Int!
9
10unshippedQuantity: Int!
11
12availableNowQuantity: Int!
13
14# Required permission: ProductSize:read
15productSize: ProductSize!
16
17# Required permission: Warehouse:read
18warehouse: Warehouse!
19
20incomingQuantity: Int!
21
22linkedIncomingQuantity: Int!
23
24unlinkedIncomingQuantity: Int!
25
26onDeliveryQuantity: Int!
27
28availableQuantity: Int!
29
30}