I wanna populate the sales invoice from items in the url params?

i have created new doctype called medication order after the doctor order the medication the pharmasist chose the items that exist and then the pharmaisit dispense the medicine in this order by clicking on custom button this will redirect to sales invoice with patient name and items in the durg presubscribtion list the problem is that i cant catch the items in the params url am trying to handle this by js

You should check the reference video, your problem will be solved.

1 Like