ERPNext HRMS icon

ERPNext HRMS

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

Attendance → Submit

AI-generated

Summary

Submit a specific Attendance document in ERPNext HRMS by its document name to change its status to submitted.

Inputs

  • API Version — Select the Frappe REST API version to use, either v1 (/api/resource) or v2 (/api/v2/document). Defaults to v1.
  • Document Name (required) — Provide the exact name (ID) of the Attendance document to be submitted.

Output shape

a single string message indicating submission status or the response message from the ERPNext API

The operation requires the 'Document Name' of an existing Attendance record; it retrieves that document and submits it by calling the appropriate ERPNext API endpoint. The output is the message returned by the API after submission, typically a confirmation string. Errors are thrown if the document does not exist or submission fails.

Links

Discussion