How to access data from other companies from Dexterity

This is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.
Have you ever had to develop Dexterity code that needs to read data from a company other than the current Microsoft Dynamics GP company? Well, with my latest updates to the Support Debugging Tool, I came across this requirement.

