Hi,
Is there a way to implement a 'global variable' for the current session of a user? Something like 'SystemSession' for the user (like SystemSettings are for the system).
I would like a user to pick a company (or account) from the list of companies she has access to. I use following query:
FIND Company WHERE Company IN LoggedInSystemUser.Companies ORDER BY Company.Name
...and initialization process in Visual perspective:
PICK FROM AvailableCompanies NO CONFIRMATION FOR ONE
After the company is selected any object that user creates should have its Company attribute initialized to the selected company. Something like:
IF CompanyObject IS NEW THEN
CompanyObject.Company = Company
Is there a way to do this?