Przejdź do głównej zawartości

ReceiveFoilInput

Dla: Programista

Typ wejściowyReceiveFoilInput

A receipt of foil 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 (Foil.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: rolki (also rolka, rolek, rol., roll, rolls) — one roll of stock — or m (also mb, mb.) — one meter, counted through Foil.metersPerRoll; written on the movement as rolki or m. Two rolls of 150 m at 1.85 per meter: rollsToAdd 2, unitPrice 1.85, priceUnit m — StockMovement.netValue 555.00. Default: rolki. Only with unitPrice. From an API key, a unit not listed here is refused (STOCK_UNIT_NOT_CONVERTIBLE). So are meters of a foil without meters per roll.

rollsToAddwymaganeFloat!

Rolls received: above zero, kept to 0.01 roll.

supplierIdID

The supplier the foil 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