How to make GL Entry Doctype submittable?

How can I make a GL Entry submittable via a customized form, a property setter, or another solution?

GL Entry is not submittable by default

There is no option in the Customize Form for GL Entry to make it submittable.

Hi there,

That’s not really how GL Entries work. They’re backend documents, not meant to be created/deleted individually. You won’t ever interact with them directly, except perhaps when troubleshooting something. Likewise, the Submittable/Non-Submittable distinction doesn’t really apply here.

Hi Thanks for your reply,
I have some entries in the GL Entry that I want to cancel. I’ve turned on “Allow after submit” on the “Is Cancelled” checkbox, and it works perfectly for the Administrator, but not for other roles, such as System Manager. This is because the Doctype is not submittable, and I cannot assign submit permission.

My goal is to cancel GL Entry without canceling linked entries.

How can I achieve this?

This will create incoherent data. The system is designed to prevent you from doing what you want to do, and for good reason. It is generally a bad idea. If you insist on doing it, you can edit the database directly. Be warned, though, that editing GL Entries directly is very likely to break your accounting.

2 Likes

Thanks so much for your reply and for taking the time to explain everything! :blush: I really appreciate your guidance and now I understand the risks involved.