Receive goods
p2p_receive_goodsRecord what arrived against an order, as counted. Stock goes up; the goods are owed for until their bill is approved. Record what was counted at the door, against the order it came on, with the packing slip number when there is one. Never receive what was not counted, and never more than is still open on a line: that is refused with the numbers, and the answer is a conversation with the vendor, not a second order. Services are not received; their bill is matched against the order. A receipt cannot be changed afterwards. Effects: goods receipt recorded; stock increased through core; order received when every stocked line has arrived.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Anything about the delivery (one box damaged). | |
| lines | Yes | What arrived. | |
| po_id | Yes | The order the goods came on. An existing p2p_po id. | |
| reference | No | The packing slip or delivery note number. | |
| received_at | No | The day it arrived. Defaults to today. ISO date, YYYY-MM-DD. |