erpnext_doc_cancel
Cancel any ERPNext/Frappe document by supplying doctype and name. Dry-run mode lets you verify the impact before irreversible ledger reversal and custom hooks execute.
Instructions
Cancel through Frappe. Sensitive; preflight cannot simulate ledger reversal or custom hooks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| doctype | Yes | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||