PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → One Scheduler Used By Multiple Organizations
One Scheduler Used By Multiple Organizations
Débuté par Mister VINCENT, 25 fév. 2019 01:20 - 2 réponses
Membre enregistré
19 messages
Posté le 25 février 2019 - 01:20
Is it possible to use the schedule control in an environment where multiple organizations are found, each with their own resources, clients, locations and tasks?

I have tried to do this, using a query that is controlled by a parameter (organization code). The log in to the system is what provides the organization code. I have had limited success where, at some point in the app, I wind up displaying information from more than one organization even though I am convinced that I am filtering correctly before each SCHEDULEDISPLAY command.

Any answers will be appreciated.

Thanks

--
Vincent D Crosby
Membre enregistré
4 messages
Posté le 25 février 2019 - 01:41
did you try the source query alone with the differents parameters's value?

--
Franklin Salinas
Desarrollador
Membre enregistré
19 messages
Posté le 25 février 2019 - 21:16
Yes, I am using a query and am noticing that I have to reset MySource.<Parameter> each time either SCHEDULERDISPLAY or SCHEDULERPOSITIONDATETIME is executed. It appears that the parameter is being ignored when it is not explicitly set.

I am finishing up work on this and should know soon if it's going to work. In a testing environment, it is easier to set up this scheduling with one central database shared by different organizations DEMOing the product.

--
Vincent D Crosby