I am in the Project document which has information like Customer, Project Name, Address, etc.
From within Project, I create a Delivery Note (linked). When it takes me to New Delivery Note document screen, I’d like to have the values for Customer, Project, etc. pre-filled in by pulling them in from the previous document (the Project). Is this doable?
Do you mean you added a custom field “Delivery Note” in Project Doctype? And that when you create new delivery note from it is when you want the values to be copied?
I am not sure if the above article would help, I am not good with custom scripts. I would add a custom button via project.js and a server function in project.py to handle the above, I could elaborate if that would be a viable solution for you @ryarrow
@cpurbaugh - I’ve done that in other custom scripts for other purposes, but I don’t know the proper events and methods to detect if I came from one document into another and retrieve values backwards from it.
@vivek - I use the ERPnext hosted version, so i can’t do that.
I am no programmer. But you could try a version of this. I used it for when i clicked through to a New Doc from the Customer Doc. Any forum member please correct this if its wrong.