Document toolboxDocument toolbox

sp252_team_locations

This table is used to record the allocations of teams to offices or depots. A team may be assigned to only one office / depot on any given day. 

 

HouseKeeping

This table is tidied by sp_dbtidy's Global group.


 

Table Definition

Field
Type
Default
Nullable
team_nonumber(9)  (error) 
location_nonumber(4)  (error) 
start_datedate  (error) 
end_date date  (tick)

Keys

primary key (team_no, start_date) 
foreign key (team_no) references sp250_teams (team_no) 
foreign key (location_no) references sp118_work_locations (location_no)

Column Descriptions

FieldDescription
team_no ServiceOptimizer team identifier. 
location_no  ServiceOptimizer office or depot identifier. 
start_dateStart date for the allocation of the team to the office / depot. Uses location's region Time Zone.  
end_dateEnd date for the allocation. A null value indicates that the team belongs to the office / depot indefinitely. Uses location's region Time Zone.Â