Does not have access to this document on cancel attendance

Hi All

When cancel Attendance ,This message appears: “does not have access to this document”

Note that all permissions are given to this user.

Thanks

Hi,

So you can check the access permissions by going to “Role Permissions Manager” in the “Setup” module, select the role of the user and ensure that the “Attendance” doctype has “Cancel” permission enabled for the user’s role. hope this process might help you out.

Thank you.

Hi @VINOTH

Please see this pic:

but not working

and when cancel leave allocation

it’s possible that the issue is related to a custom script or a code customization.

Try the following steps:

  1. Check the error log in ERPNext by going to “Error Log” in the “Help” module. Look for any errors related to the “Attendance” doctype or the specific document ID that the user is trying to cancel.

  2. If there are no relevant errors in the error log, you may need to check for any custom scripts or code customizations that may be affecting the “Attendance” doctype or the specific document ID. Ensure that they are not interfering with the cancellation process.

I hope this might help you out.

Thank you.

1 Like