Cannot delete the salary slip once submitted

I have created the salary slip and submitted it but I want to delete the submitted salary slip, i cannot delete it once submitted.
it shows : " Submitted Record cannot be deleted."
Can u please provide me a feedback , how can i achieve this without error message

That’s no error message - this is an accounting system so this is by design!

You will have to cancel the document and then delete it. Does it work for Salary Slip ?

Check the ledgers after doing so…

Regards,

Parth Joshi