Update purchase order line
update_purchase_order_lineUpdate a purchase order line item. Requires purchase_orders:write scope. To receive goods, set quantity_received; for a line with a part, the change is added to (or taken from) that part's stock. A line with stock received cannot change its part.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Purchase order line ID | |
| part_id | No | Part from inventory | |
| quantity | No | Quantity ordered | |
| unit_cost | No | Price per unit, in the organization currency | |
| description | No | What is being ordered | |
| line_number | No | Position on the order | |
| quantity_received | No | Quantity received so far, 0 to quantity |