Przejdź do głównej zawartości

UpdatePurchaseOrderItemInput

Dla: Programista

Typ wejściowyUpdatePurchaseOrderItemInput

An item in the full item list of a purchase-order change. With id the existing item is changed in place (what was received of it stays); without id it is added.

Pola

PoleTypOpis
descriptionwymaganeString!

What is ordered, as the supplier names it (up to 300 characters).

idID

The existing item to change (PurchaseOrderItem.id); null or left out to add an item.

materialIdID

The paper, paint or foil (by materialType) whose stock a delivery of this item raises; null for goods kept outside the warehouse stock. Must exist and match materialType.

materialTypewymaganeMaterialType!

Kind of material ordered.

notesString

A note about the item; null when none.

quantitywymaganeFloat!

Quantity ordered, in unit, zero or more.

unitwymaganeString!

Unit the quantity is in, as text (up to 20 characters, compared without case). An item with a material (materialId) must use a unit its stock can be counted in, so a delivery lands in the stock: paper ark., ark, arkusz, arkusze, arkuszy, szt, szt., sheet, sheets (sheets); paint g, gram, grams, kg (kg x 1000 = grams); foil rolki, rolka, rolek, rol., roll, rolls, m, mb, mb. (rolls; meters are divided by Foil.metersPerRoll). From an API key, the unit of an item that already received goods cannot change.

unitPricewymaganeFloat!

Net price of one unit, in the currency of the purchase order (up to 4 decimals), zero or more.

Używane w