Forum

How to manage the o...
 
Notifications
Retirer tout

How to manage the organisation change of one ressource

4 Posts
2 Utilisateurs
0 Reactions
1,434 Vu
(@hervec)
Posts: 39
Trusted Member
Début du sujet
 
[#8704]

Hello,

I would like to know how to manage an organization chage of one ressource, without creating another ressource in his new organisation.
Is there a way ?
Indeed, if I need doing that because if I keep the same ressource, all old imputations are moving to the new organization.

Thanks,


 
Posté : 16/01/2023 11:25 am
(@babynus)
Posts: 14952
Membre Admin
 

Changing organization of a resource is easy.
What you expect is changing organization but keep work record summed up on the old while new record will be added to the new.
This is not possible.


 
Posté : 16/01/2023 11:37 am
(@hervec)
Posts: 39
Trusted Member
Début du sujet
 

Indeed, the feature would be to add a start and end date to the organisation field and the possibility to add several organisation rows per employee.

Thanks for your answer.


 
Posté : 16/01/2023 3:46 pm
(@babynus)
Posts: 14952
Membre Admin
 

Change of the model is then quite heavy.
Change a 1-to-many to many-to-many relation...
I mean actually an Organyzation can have several resources, but a resource can have one and only one organization.
In the model you need, an Organyzation can have several resources, but a resource can alos have several organizations.
This requires new table in the model, and change all features linked to Organizations.
Moreover, whet you expect is an history, so that each work input is attached to a dedicated Organization. 
All this is not simple, and I'm not sure we'll develop it one day unless someone sonsors the evolution.


 
Posté : 17/01/2023 4:39 pm
Share:
Retour en haut