ERPNext HRMS icon

ERPNext HRMS

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

Custom DocType → Submit

AI-generated

Summary

Submit a submittable custom document in ERPNext HRMS by specifying the document name and the custom DocType. This triggers the submit action via the ERPNext API, changing the document's status accordingly.

Inputs

  • API Version — Select the Frappe REST API version to use for the request (v1 or v2). Defaults to v1.
  • Custom DocType (required) — Specify the name of the custom DocType to which the document belongs (e.g., 'Job Applicant').
  • Document Name (required) — Provide the unique identifier (name) of the document to submit.

Output shape

a single record containing the result of the submit action, typically a success message or confirmation from the ERPNext API.

Requires the document to be submittable in ERPNext. Uses the configured ERPNext API credentials. Errors are returned if the document does not exist or cannot be submitted.

Examples

Example 1: Submit a Job Applicant document with name 'JOB-APP-0001'

Set API Version to 'v1', Custom DocType to 'Job Applicant', and Document Name to 'JOB-APP-0001'. On execution, the node submits this document in ERPNext and outputs the API confirmation message.

Links

Discussion