How to select warehouse for product billing

When using the pharmacy module and adding products to a fee sheet for a patient’s encounter, how can I select which warehouse the products should be dispensed from? I am trying to add them from the Products list at the top of the fee sheet.

Or if I need to add products with the Prescription feature on the Patient screen, how do I select the warehouse there as well?

Is there anyone who can advise on this? Is this something that just has to use the current user’s default warehouse?

I found the solution to this:

In Administration->Globals->Billing, set “Support provider in line item in fee sheet” to be checked/enabled.