andrewblake1 / WorksManagement

Project/Works management system for Northpower's Westcoast Energy
0 stars 3 forks source link

Lift constraint on Labour Resource branch #396

Closed hawea closed 11 years ago

hawea commented 11 years ago

Hi Andrew,

There is a constraint blocking me from using the outcome of a custom field against a Duty Step as a labour resource branch more than once. This is wrong I believe as this doesn't give me the ability to add different Labour Resource depending on the outcome of the custom field. This means we can only add a resource for one mode as well.

Please see this link for an example of a Labour Resource branch which has been attached to a Duty Step: http://dev.melbourne.wcewm.co.nz/ActionToLabourResourceBranch/admin?action_to_labour_resource_id=4&action_id=42

Now, if you go to this one: http://dev.melbourne.wcewm.co.nz/ActionToLabourResourceBranch/admin?action_to_labour_resource_id=8&action_id=42

I wish to add another Labour Resource branch with the same Duty Step and Custom Field but a different outcome and it will not allow this.

As you can see in the below link, both of these Labour Resources are for different modes and therefore we need to be able to add both: http://dev.melbourne.wcewm.co.nz/ActionToLabourResource/admin?action_id=42