If the factory in Tennessee is its own legal entity and the sales office is in another (it’s a group) then yes transfer pricing is used where the goal is to use the market price of an arm length distance (what would you pay for the factory/data center if it was someone unrelated to you) and if same company (guess more uncommon) you use formulas to allocate where value is created and where taxes should be paid.