Przejdź do głównej zawartości

StockMovementFilterInput

Dla: Programista

Typ wejściowyStockMovementFilterInput

Conditions on stock movements: a movement is listed when it meets every condition given. Omitted conditions do not filter.

Pola

PoleTypOpis
documentNumberString

Only movements booked with exactly this delivery document number (StockMovement.documentNumber), without case — not a part of it, like PaperFilterInput.barcode (PurchaseInvoiceFilterInput.invoiceNumber matches a part). With purchaseOrderId it tells whether a delivery note was already received. Up to 100 characters; blank: no condition.

elementIdID

Only movements booked for this element of a product (StockMovement.elementId). Since 0.32.0 an issue records the element of the operation it names; older issues only the ids they were given.

materialIdID

Only movements of this material (a paper, a paint or a foil).

materialTypeStockMaterialType

Only movements of this kind of material.

occurredFromDateTime

Only movements booked at or after this moment (inclusive). For incremental sync: pass the latest occurredAt you have seen, minus a few minutes, sort by OCCURRED_AT ascending and skip the movements you already have (by id). Null or left out: no lower bound.

occurredToDateTime

Only movements booked before this moment (exclusive), e.g. the end of a reporting period. Null or left out: no upper bound.

operationIdID

Only movements booked for this operation of an element (StockMovement.operationId).

orderIdID

Only movements booked for this order (StockMovement.orderId). Since 0.32.0 an issue records the order of the product, element or operation it names; older issues only the ids they were given.

productIdID

Only movements booked for this product of an order (StockMovement.productId). Since 0.32.0 an issue records the product of the element or operation it names; older issues only the ids they were given.

purchaseOrderIdID

Only receipts of deliveries of this purchase order.

supplierIdID

Only receipts of goods from this supplier (StockMovement.supplierId): receipts booked by hand with this supplier and deliveries of its purchase orders.

typeStockMovementType

Only movements of this type, as StockMovement.type shows it: RECEIPT is a receipt or a purchase-order delivery that raised the stock, RETURN a return to the supplier (older foil movements recorded without rolls count as RETURN too). A correction or a stock-take difference keeps its own type, even when it raised the stock. Ignored when typeIn lists any type.

typeIn[StockMovementType!]

Only movements of any of these types (see type). An empty list filters nothing.

Używane w