Hi every one,
How can i save Other Doctype data from any other Doctype
I want to save or insert my Doctype(“Flat Invoice”) data in “Sales Invoice” while pressing save button of my Doctype …!
It means when i have press save button in my Flat Invoice…the same entry i want to store in Sales Invoice table…!
Ex: My Doctyep(Flat Invoice) this doctype fields are customer_name=“Deep”,net_amount=“100000”
After press save button…this field data should store in 'Sales Invoice" table
So i can perform all these operation
How can i…? Please share the code or example
Because have done by Sql query but that is not good