Can we create global warehouse to access all companies?
This is not supported.
Multiple companies can’t share the same Accounts or warehouse. They can
share contacts, customers, and items (but inventory and movement needs
to be tied to a single company).
If the multi company model does not work for you, consider Accounting Dimensions
to keep track of transactions and such.