simulate_po_event
Generate a read-only ERP change event for a purchase order to test event-driven integrations across SAP, NetSuite, and Dynamics365.
Instructions
Synthesize an inbound ERP change event for the given PO (read-only; no state change).
- po_id: corpus PO id, e.g. "PO-8801".
- event_type: e.g. "Created" | "Changed".
Under sap_s4hana returns a SAP Advanced Event Mesh CloudEvents envelope on topic
sap/s4/beh/purchaseorder/v1/PurchaseOrder/<event_type>/v1 with payload {PurchaseOrder}.
Under netsuite: a SuiteScript user-event callback; under dynamics365: a Business Events
envelope. Use it to exercise event-driven wiring.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"po_id": "<po_id>"
},
"name": "simulate_po_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| po_id | Yes | ||
| event_type | No | Created |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||