How to change docstatus back to draft

Capture

Submitted doc you can’t revert to draft stage but if cancelled the doc then you can amend it from cancelled doc and it will convert it into the draft stage.

1 Like

when cancelled docstatus

when submitted docstatus

Click on Amend on the right side. I create a new doc with the same details.

I’ve already mentioned that you can’t revert to the draft stage. If you want to change all the details, you can cancel it and make amendments.

However, certain fields can still be updated after submission. For example, in a sales order, you can update the customer PO number and date even after the SO has been submitted.

1 Like

another question

“How to count only the ‘YES’ values in the child table FAMILY?”
the result must display in this data field : Dependent
the parent doctype is PARENT
image