create_sales_order โ€” Create Sales Order

Creates a SAP sales order for a customer โ€” a write, always held for human review.

Creates a SAP sales order for a business partner โ€” a write, so it is always held for human review before anything is posted. Use it when the user wants to order, buy, or purchase items for a customer. Prices come from the item master.

Not for quotations, deliveries, or invoices โ€” and not when the user only wants to see data.

Try these prompts

  • “order 10 of I001 for C001”
  • “create a sales order for Acme Corp”
  • “buy 5 units of I002 for customer C001”

ื ืกื• ื’ื ื‘ืขื‘ืจื™ืช

  • “ืฆื•ืจ ื”ื–ืžื ืช ืžื›ื™ืจื” ืœืœืงื•ื—”
  • “ืจืฉื•ื ื”ื–ืžื ื” ื—ื“ืฉื” ืžืœืงื•ื—”
  • “ืคืชื— ื”ื–ืžื ืช ืžื›ื™ืจื””

Arguments

ArgRequiredMeaning
card_coderequiredThe customer’s partner code, e.g. C001.
lines[].item_coderequiredItem to order, e.g. I001.
lines[].quantityrequiredHow many units of the item.

Example result

Sales order drafted for review. C001 Acme Corp โ€” 10 ร— I001. Priced from the item master. Held for your approval before it posts to SAP.

  • create_quotation โ€” quote a price before committing to an order.
  • create_delivery โ€” ship the goods to the customer.
  • create_invoice โ€” bill the customer.
  • get_sales_order โ€” look up an existing order by number.