Permissions help

I have a multi-company setup. How would I specify a user to be able to do:

  1. Have access to all documents for Company A
  2. Sales Orders for Company B (and anything needed to create sales orders in Company B, ex: Company B’s warehouses)

I can do 1, but not sure how to do 2. I’ve looked here: but didn’t find what I am looking for.

@Nathan For 2. Go to user permissions of the user:
User List-> Open User → Permissions → Set User permissions

Make new User Permissions → Allow Company for your company → Value: Sales order