We noticed that due to the reason some deleted documents gets placed under [deleted document list] , whenever they try to recreate the same document, they can’t retain the same docname because it automatically appends a number on the document name after that , EX:
[Customer ABC ] → [Customer ABC -1 ]
And this is not ok with some of the documents we have.
I was wondering if there’s a way to do this via custom script , and delete the document entirely when user click on the delete button instead of putting it into the DELETED document list.
If this cannot be achieved, we would at least like to alternatively rename the deleted document in the [DELETED DOCUMENT LIST] instead, example:
[Customer ABC] → [Customer ABC-DELETED001]
in the deleted document list.
Preferably a direct delete command , anyone knows one?
I found a workaround
I noticed the reason for this is because the field is set as Index
Since this form is running on naming series which can act as a better unique record, i switch the index to the naming series.
Thus, the field no longer need to be unique and hence the system will not auto append -1 to its name!
Problem solved, so now we have no problem for it to be in the deleted document list.
Which field you refering here… Could you post the screenshot of what changes you made. This would help everyone looking for similar issue/resolution in future.