create_purchase_request
Create an SAP Business One purchase request for required goods or services. Specify item code, quantity, and warehouse for each line, then confirm the full request before submission.
Instructions
Create an SAP Business One purchase request (internal requisition) for required goods or services. Each line requires a warehouseCode — call get_warehouse_list first and have the user pick one if it isn't already known. Collect inputs one at a time in conversation rather than asking for everything in one message: for each line, ask for item code, then quantity, then warehouse (offer the get_warehouse_list options), then required date (offer to default to docDueDate) — confirm each line before starting the next, then confirm the full request before calling this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| docDate | No | YYYY-MM-DD (defaults to today) | |
| cardCode | No | Preferred vendor card code (optional) | |
| comments | No | ||
| requester | No | SAP B1 user name to record as requester (defaults to the connector's logged-in user; required on companies where the Requester field is mandatory) | |
| docDueDate | No | YYYY-MM-DD required-by date (defaults to today) |