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 | |
quantity | String String! | yes | The received quantity — a strictly positive decimal string. |
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 |