Document toolboxDocument toolbox

sp058_responsibility_units

This table is used to give information about each responsibility unit. A responsibility unit is used as the basis of all scheduling. Each unit has a number of teams (see table sp253_ru_teams) and covers a number of regions (see table sp059_ru_regions).


 

Table Definition

Field
Type
Default
Nullable
resp_unit_nonumber(4) (error)
resp_unit_refvarchar2(8) (error)
resp_unit_typenumber(1) (error)
descriptionvarchar2(40) (error)
owning_resp_unit_nonumber(4) (tick)
preference_factornumber(2,1)0(error)
travel_timenumber(11) (tick)
tz_nonumber(2) (tick)
field_idvarchar2(100) (error)

Keys

primary key (resp_unit_no) 

unique (resp_unit_no, resp_unit_ref)

unique (resp_unit_ref) 

foreign key (owning_resp_unit_no) references sp058_responsibility_units (resp_unit_no) 

foreign key (resp_unit_type) references sp270_resp_unit_types (resp_unit_type) 

foreign key (tz_no) references sp056_time_zones (tz_no) 

foreign key (field_id) references sp900_language_translation (field_id)

Primary Key referenced From

 

Column Descriptions

FieldDescription
resp_unit_noServiceOptimizer-generated unique identifier 
resp_unit_refEnd users' unique identifier. There is a (temporary) restriction on resp_unit_refs that they cannot include wide characters.
resp_unit_type0 - interim
1 - final
2 – root (owner of all final responsibility units) 
descriptionFree text description. 
owning_resp_unit_noIdentifier of owning responsibility unit. 
preference_factorWeighting to be used in selecting appropriate responsibility unit for appointment bookings. This value is used when there is more than one candidate responsibility unit to which a job might be booked. The value should be between 0 and 9, where 0 indicates that the responsibility unit is most preferred and 9 indicates that it is least preferred. 
travel_timeDefault travel time, in minutes, between any pair of regions in this responsibility unit for which no sp094_travel_times record exists. 
tz_noThe time zone associated with a responsibility unit. This does not confine a responsibility unit to regions within a single time zone. If this field is null and resp_unit_type is 1 (final) then sp083 'tz_Default' is used. If this field is null and resp_unit_type is 0 (interim) then the time zone of the owning final RU is used.
field_idkey to language translations for description

 

Â