ERPNext HRMS icon

ERPNext HRMS

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

Employee → Submit

AI-generated

Summary

Submit a specific Employee document by its name to change its state to submitted within ERPNext HRMS using the Frappe API.

Inputs

  • API Version — Select the Frappe REST API version to use for the submit request, either 'v1' (stable) or 'v2' (Frappe v16). Defaults to 'v1'.
  • Document Name (required) — The unique identifier (name) of the Employee document to submit.

Output shape

a single message string response confirming submission

Returns the message from the API response which confirms the document was submitted. If an error occurs, it will throw or return an error message depending on the node configuration.

Examples

Example 1: Submit Employee Document

Set resource to 'Employee', operation to 'Submit', specify apiVersion ('v1' or 'v2'), and provide the Document Name of the employee to submit.

Links

Discussion