New order
o2c_create_orderRaise a sales order directly, without a quote. Use this for repeat business and phone orders. Anything the customer negotiated should go through a quote instead, so the agreed price has a document behind it. Effects: order created in draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | The ordered lines. | |
| po_ref | No | The customer's own PO number. | |
| customer_id | Yes | Who is buying. An existing customer id. |