AccpacSession.CompanyID
Returns the database ID of the company associated with the current open session.
Property CompanyID As String
(read-only)
Remarks
This property is only available after the session is opened. It returns an empty string ("") if the session is not open.