You will need to link the id table in the Primary data view on id.ID to respectively ord.SalesRep and invoice.SalesRep.
This approach is going directly to the transaction tables where the salesperson can be set manually. If you are using the audit table, the user ID recorded is the person logged into Atrex, not necessarily the salesperson listed on the transaction.