get-purchase-orders
Get purchase orders from SAP S/4HANA with supplier and address details. Filter by supplier, choose fields, and set result count up to 1,000.
Instructions
List Purchase Orders from SAP S/4HANA, including supplier and address. Returns the first N in ascending Purchase Order number order. Pass fields to return different columns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | How many records to return. Defaults to 5. Large values produce large results — roughly 60 tokens per record — so keep this small unless you need the whole set. An empty result array means nothing matched. | |
| fields | No | Field names to return instead of the default set (this becomes the OData $select). Use list-entity-fields to see what is available. | |
| supplier | No | Only return purchase orders for this supplier number. |