visolveemr wrote on Thursday, May 23, 2013:
You want to add the Drugs in "Templates" section of the "Add Drug" popup. If the drug which is not added in "Template" section is used in the prescription, then you will receive this error "drug id no in inventory".
So, just make sure you add the drugs in "Templates" section. No need of changing the drug_id values in coding.