How to set the warehouse for purchasing vs manufacturing

Currently, we have certain parts that are stocked in separate warehouses, but are used as materials for manufacturing in the main warehouse. We want POs for those parts shipped directly to that warehouse location, but have job materials for those parts default to the main warehouse where they are manufactured. You can set up the primary warehouse for a part, but that seems to control the default locations for both ordering and materials.
Is there any way to accomplish what we’re trying to do out of the box?

I’m not sure how to accomplish what we need, even with customizations.

I tried writing a data directive to default the JobMtl record to the default plant warehouse, but that doesn’t update the warehouse quantities correctly in the Part Tracker screen.