I create a new doctype with the name Sale Stock Report. Now, I need some code customization according to my requirement. I have a child doctype in it with the name SSR Product Detail.
- When I select the product in child doctype, it will auto get the price of that product which I was selected.
- When I enter the value of opening_stock and purchase it will aslo auto calculate the addition of both field in the next field total.