Przejdź do głównej zawartości

WithdrawFoilInput

Dla: Programista

Typ wejściowyWithdrawFoilInput

An issue of foil from stock: the sheets cut from the roll, what for and why. The stock in rolls drops by sheets x sheet length / meters per roll (Foil.metersPerRoll).

Pola

PoleTypOpis
elementIdID

The element the material is issued for; it must belong to productId (and orderId) when given. The movement records its product and order too.

notesString

A note about the issue, up to 2000 characters.

numberOfSheetswymaganeInt!

Sheets of foil cut from the roll: a whole number, at least 1.

operationIdID

The operation the material is issued for; it must belong to elementId (and the product and order) when given. The movement records its element, product and order too, so the movement filters by any of them find it.

orderIdID

The order the material is issued for: it must exist. From an API key, that order — given here or reached through productId, elementId or operationId — must not be archived. warehouse:write may name any order: the movement refers to it by its id only (StockMovement.orderId).

productIdID

The product the material is issued for; it must belong to orderId when both are given. The movement records its order too (StockMovement.orderId).

sheetLengthMmwymaganeFloat!

Length of one sheet in millimeters, above zero. An issue that takes more rolls than the stock holds, or one of a foil without meters per roll, is refused with STOCK_INSUFFICIENT or STOCK_UNIT_NOT_CONVERTIBLE.

withdrawalTypeWithdrawalType

Why the foil leaves the stock. Default PRODUCTION.

Używane w