This is a 1 line break out to auto set the tech on new labour lines to the AssignedTo tech name the job in the main tab :-
from Jiwa :-
JIWA - Service Manager - Maintenance
Record Menu - Utilities - Manage Breakouts
Left-Click "Task Labour Added Before" Breakout
add this one line at the top :-
- Code: Select all
'
'Task Labour Added Before
'
StaffID = JobObject.Tasks(TaskKey).AssignedToStaffID
End Sub
dont forget to leave the "End Sub" line at the end.
Click OK, Click Close, Close Service Manager and ReOpen Service Manager.
Now when creating a new task, ensure the "AssignedTo" technician name is correct on the Main Tab. After setting this, add your labour lines as normal under the labour tab - note that the tech name for the labour line is copied from the tech on the main tab.
Also note that if you have a batch of lines to add referencing a different tech, simply jump back to the main tab and change the tech name to the next tech, then add more labour lines - the labour line tech name will now reference the new tech name that was changed in the main tab.
/Roy Adams