Przejdź do głównej zawartości

ReceivePaintInput

Dla: Programista

Typ wejściowyReceivePaintInput

A receipt of paint into stock, e.g. a delivery booked outside purchase orders.

Pola

PoleTypOpis
currencyString

Currency of unitPrice, a 3-letter code in capitals (e.g. PLN). Default: the currency of the card (Paint.currency). Only with unitPrice.

deliveredAtDateTime

When the goods were delivered, as the delivery document says; null or left out: not recorded (the movement still gets StockMovement.occurredAt, when it was booked).

documentNumberString

Number of the delivery document (delivery note or supplier invoice), up to 100 characters; null, blank or left out: none. StockMovementFilterInput.documentNumber finds the movement by it.

notesString

A note about the receipt, up to 2000 characters.

priceUnitString

Unit unitPrice is for, compared without case: g (also gram, grams) — one gram of stock — or kg — 1000 g; written on the movement as g or kg. A paint received by the kilogram: quantityToAdd 5000 (grams), unitPrice 52.30, priceUnit kg — StockMovement.netValue 261.50. Default: g. Only with unitPrice. From an API key, a unit not listed here is refused (STOCK_UNIT_NOT_CONVERTIBLE).

quantityToAddwymaganeFloat!

Grams received: above zero, kept to 0.001 g.

supplierIdID

The supplier the paint was received from (Query.supplier): must exist; from an API key it must be active (Supplier.isActive). Null or left out: not recorded (the supplier of the card is not filled in).

unitPriceFloat

Net price of one priceUnit, in currency (up to 4 decimals, zero or more); null or left out: no price recorded. The price on the material's card does not change: the card is the print shop's, the receipt records what this delivery cost (StockMovement.unitPrice, StockMovement.netValue).

Używane w