ERPNext HRMS icon

ERPNext HRMS

Work with ERPNext/Frappe HRMS v15-v16 documents and methods

Shift Assignment → Delete

AI-generated

Summary

Delete a Shift Assignment document in ERPNext HRMS by specifying its unique document name.

Inputs

  • API Version — Select the Frappe REST API version to interact with (v1 or v2). Defaults to v1.
  • Document Name (required) — The unique identifier of the Shift Assignment document to delete.

Output shape

a single JSON object with deletion result showing success status and the deleted document name

The operation returns an object indicating success and includes the document name. If the deletion fails and 'Continue On Fail' is false, the node execution will error.

Examples

Example 1: Delete a Shift Assignment document with name 'SHIFT-0001' using API v1

Set Resource to 'Shift Assignment', Operation to 'Delete', API Version to 'v1' (default), and Document Name to 'SHIFT-0001'.

Links

Discussion