When i do a console.log(doc.name) in validate event while saving, this return “New Purchase Invoice 1”
How can i get the name of document after saved?
put it in after_save
instead of validate
Thank you so much! That’s worked!
When i do a console.log(doc.name) in validate event while saving, this return “New Purchase Invoice 1”
How can i get the name of document after saved?
put it in after_save
instead of validate
Thank you so much! That’s worked!