ReceiveStockInput
input type
Receive-input for receiveStock. unitCost is REQUIRED with an EXPLICIT currency: the FIRST costed receive fixes the II cost currency; a later mismatch is refused naming the expected currency.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
inventoryItemId | ID ID! | yes | The target InventoryItem id — tenant-scoped + ACTIVE-gated + STOCKED-gated server-side. |
quantity | String String! | yes | The received quantity — a strictly POSITIVE decimal string (the variant stock UoM, IV-g). |
unitCost | MoneyEntryInput MoneyEntryInput! | yes | The unit cost {currency, amount} — the WMA input. |
caption | String | no | Optional caption override for the posted entry. |
refs | String [String!] | no | No further notes. |