Schema Entities¶
Entity: RAM_Act_Template_Operation (Data)¶
Links an operation to an activity template.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_activity_template_id | String(32) | The identifier of the activity template. Foreign Key: RAM_Activity_Template Mapping: Activity_Operation.activity_id | PK | M |
| ram_operation_id | String(32) | The identifier of the operation. Foreign Key: RAM_Operation Mapping: Activity_Operation.operation_id | PK | M |
| earliest_start | Date Time | If specified, this is the earliest time that the operation can be carried out for this activity. Mapping: Activity_Operation.earliest_start | O | |
| last_performed | Date Time | If specified, this is the last time (before the current schedule time) that the operation was performed. Mapping: Activity_Operation.last_performed | O | |
| latest_start | Date Time | If specified, this is the latest time that the operation can be carried out for this activity. Mapping: Activity_Operation.latest_start | O |
Entity: RAM_Act_Template_Usage_Period (Data)¶
Defines the expected usage against this activity template of the specified class and between the specified dates.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_activity_template_id | String(32) | The identifier of the activity template. Foreign Key: RAM_Activity_Template Mapping: Activity_Usage_Period.activity_id | PK | M |
| ram_usage_class_id | String(32) | The identifier for the class of usage. Foreign Key: RAM_Usage_Class Mapping: Activity_Usage_Period.usage_class_id | PK | M |
| start_date | Date Time | The date from which this usage level applies. Mapping: Activity_Usage_Period.start_date | PK | M |
| end_date | Date Time | The date until which this usage level applies. Mapping: Activity_Usage_Period.end_date | M | |
| usage_per_day | Double | The usage per day during this period. Mapping: Activity_Usage_Period.usage_per_day | M |
Entity: RAM_Act_Type_Custom_Metric (Data)¶
This defines the value activities of an activity type have against a custom metric.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_activity_type_id | String(32) | The id for the activity type the metric is being specified for Foreign Key: RAM_Activity_Type | PK | M |
| ram_custom_metric_id | String(32) | The id of the custom metric being used Foreign Key: RAM_Custom_Metric | PK | M |
| value | Double | The value to use for activities of the activity type | M |
Entity: RAM_Activity_Class (Lookup)¶
Defines the class of an activity. Maps to Activity_Class in Scheduling Schema.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(16) | The class of the activity - see Scheduling Schema Mapping: Activity_Class.id | PK | M |
| message_id | Integer | The message containing a description of this activity class. | M |
Entity: RAM_Activity_Template (Data)¶
Defines a template used to create regular visit activities, such as planned maintenance work.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_activity_type_id | String(32) | The type of this activity template. Foreign Key: RAM_Activity_Type | M | |
| description | String(2000) | A description for this type of activity template. | O | |
| last_visited | Date Time | The time that this activity was last visited. | O | |
| ram_location_id | String(32) | The location of this activity. Foreign Key: RAM_Location | O | |
| ram_modelling_pattern_id | String(32) | The modelling pattern to use for this template. Foreign Key: RAM_Modelling_Pattern | O | |
| ram_time_pattern_id | String(32) | This determines the frequecy with which the visit should happen. Foreign Key: RAM_Time_Pattern | O |
Entity: RAM_Activity_Type (Data)¶
Defines a type used to group activities together that share scheduling specific information.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Activity_Type.id | PK | M |
| base_value | Double | The base value of activities of this type. Mapping: Activity_Type.base_value | M(1000) | |
| cost_of_split | Double | See Activity_Type in Scheduling Schema Mapping: Activity_Type.cost_of_split | M(0) | |
| duration | Time Span | The default duration to use for activities of this type. Mapping: Activity_Type.duration | M(PT1H) | |
| interrupt | Boolean | See Activity_Type in Scheduling Schema Mapping: Activity_Type.interrupt | M(false) | |
| minimum_split | Time Span | See Activity_Type in Scheduling Schema Mapping: Activity_Type.minimum_split | M(PT1H) | |
| on_location_duration_factor | Double | A factor to be applied to the duration of all tasks scheduled for the same visit at the same location. Notes: Values between 0.001 and 1 (inclusive). Mapping: Activity_Type.on_location_duration_factor | M(1) | |
| priority | Integer | See Activity_Type in Scheduling Schema Mapping: Activity_Type.priority | M(1) | |
| remote_fulfillment | Boolean | If true, this indicates that a resource can carry out activities of this type without visiting the activity location. Mapping: Activity_Type.remote_fulfillment | M(false) | |
| split_allowed | Boolean | See Activity_Type in Scheduling Schema Mapping: Activity_Type.split_allowed | M(false) | |
| supply_locations | Boolean | Determines whether the RPL needs to supply locations for activities using this activity type. | M(false) | |
| auto_duration_enabled | Boolean | Determines if an auto_duration should be used for this activity. Mapping: Activity_Type.auto_duration_enabled | O | |
| colour | String(9) | See Activity_Type in Scheduling Schema Mapping: Activity_Type.colour | O | |
| customer | String(100) | The customer that this activity type relates to. Foreign Key: RAM_Customer Mapping: Activity_Type.customer | O | |
| description | String(2000) | A description for this type of activity. Mapping: Activity_Type.description | O | |
| display_context_id | String(32) | Provides the context to determine which list should be used when viewing in the Scheduling Workbench. Notes: This should match the id of a Display_Context row defined in the system data Mapping: Activity_Type.display_context_id | O | |
| do_in_locality_incentive | Double | Defines how activities at the same locality should be scheduled. Mapping: Activity_Type.do_in_locality_incentive | O | |
| do_on_location_incentive | Double | See Activity_Type in Scheduling Schema Mapping: Activity_Type.do_on_location_incentive | O | |
| ignore_days_old | Integer | Defines when an activity should be ignored due to being too old. Mapping: Activity_Type.ignore_days_old | O | |
| interrupt_multiplier | Double | See Activity_Type in Scheduling Schema Mapping: Activity_Type.interrupt_multiplier | O | |
| interrupt_priority | Integer | See Activity_Type in Scheduling Schema Mapping: Activity_Type.interrupt_priority | O | |
| maximum_displaceable_priority | Integer | See Activity_Type in Scheduling Schema Mapping: Activity_Type.maximum_displaceable_priority | O | |
| ram_calendar_id | String(32) | The calendar which applies to the SLAs of activities of this type. Foreign Key: RAM_Calendar Mapping: Activity_Type.calendar_id | O | |
| ram_contract_id | String(32) | The contract related to activities of this type. Foreign Key: RAM_Contract Mapping: Activity_Type.contract_id | O | |
| ram_icon_id | String(32) | The id of an icon to use for this activity type. Foreign Key: RAM_Icon Mapping: Activity_Type.icon_id | O | |
| ram_sla_template_id | String(32) | The SLA template to use for activities of this type. Foreign Key: RAM_SLA_Template | O | |
| ram_split_model_id | String(32) | Defines which split model to use for split settings. Foreign Key: RAM_Split_Model Notes: If specified, all split settings will be taken from the split model (even if set to null). Mapping: Activity_Type.split_model_id | O | |
| reactive | Boolean | Used in conjunction with the DDS to indicate if the activity is reactive. Mapping: Activity_Type.reactive | O | |
| separation_group_id | String(32) | Specifies the id of the separation group that activities of this type belong to. Foreign Key: RAM_Separation_Group Mapping: Activity_Type.separation_group_id | O | |
| service_level | String(100) | The service level for the activity. Used for information and reporting only. Has no impact on scheduling. Mapping: Activity_Type.service_level | O | |
| split_minimum_priority | Integer | See Activity_Type in Scheduling Schema Mapping: Activity_Type.split_minimum_priority | O |
Entity: RAM_Activity_Type_App_Template (Data)¶
Used to link an activity type to an appointment template for use in the Scheduling Workbench appointment booking client.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_activity_type_id | String(32) | The id of an activity type. Foreign Key: RAM_Activity_Type Mapping: Activity_Type_App_Template.activity_type_id | PK | M |
| ram_appointment_template_id | String(32) | An appointment template which may be used for this activity type. Foreign Key: RAM_Appointment_Template Mapping: Activity_Type_App_Template.appointment_template_id | PK | M |
| default_template | Boolean | Indicates that this template should be used by default for this activity type. Mapping: Activity_Type_App_Template.default_template | M(false) |
Entity: RAM_Activity_Type_Category (Data)¶
Represents the association between an activity type and a category.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_activity_type_id | String(32) | The id of the activity type to be associated with a category and categorisation. Foreign Key: RAM_Activity_Type | PK | M |
| ram_categorisation_id | String(32) | The id of the categorisation to link to the activity type. Foreign Key: RAM_Category | PK | M |
| ram_category_id | String(32) | The id of the category to link to the activity type. Foreign Key: RAM_Category | M |
Entity: RAM_Activity_Type_Part (Data)¶
Defines the part information for an activity type.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_activity_type_id | String(32) | The activity type this applies to. Foreign Key: RAM_Activity_Type Mapping: Activity_Type_Part.activity_type_id | PK | M |
| ram_part_id | String(32) | The part this applies to. Foreign Key: RAM_Part Mapping: Activity_Type_Part.part_id | PK | M |
| refill_to_capacity | Boolean | Determines if this should only supply parts up to the capacity limit. Mapping: Activity_Type_Part.refill_to_capacity | M(false) | |
| unlimited_supply | Boolean | If set to true then the part_usage value will be ignored, and this activity can supply as many parts as required. Mapping: Activity_Type_Part.unlimited_supply | M(false) | |
| maximum_restock | Integer | For restocking, the maximum amount that can be restocked in a visit. | O | |
| minimum_restock | Integer | For restocking, the minimum amount that can be restocked in a visit. | O | |
| part_usage | Integer | The number of parts required - can be negative if stock is supplied by the activity. Mapping: Activity_Type_Part.part_usage | O |
Entity: RAM_Activity_Type_Skill (Data)¶
Defines the required skills for an activity type.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_activity_type_id | String(32) | The activity type this applies to. Foreign Key: RAM_Activity_Type Mapping: Activity_Type_Skill.activity_type_id | PK | M |
| ram_skill_id | String(32) | The skill required. Foreign Key: RAM_Skill Mapping: Activity_Type_Skill.skill_id | PK | M |
| share_with_corequisites | Boolean | For corequisite activities, whether the skill requirement can be satisfied by any of the corequisites. Mapping: Activity_Type_Skill.share_with_corequisites | M(false) |
Entity: RAM_Activity_Type_Tool (Data)¶
Defines required tools for an activity type.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_activity_type_id | String(32) | The activity type this applies to. Foreign Key: RAM_Activity_Type Mapping: Activity_Type_Skill.activity_type_id | PK | M |
| ram_tool_type_id | String(32) | The tool type required. Foreign Key: RAM_Tool_Type Mapping: Activity_Type_Skill.tool_type_id | PK | M |
| share_with_corequisites | Boolean | For corequisite activities, whether the tool requirement can be satisfied by any of the corequisites. Mapping: Activity_Type_Skill.share_with_corequisites | O |
Entity: RAM_Alert_Level (Lookup)¶
Determines the level of alert for the various levels within a capacity requirement
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. One of [OK, INFORMATION, WARNING, ERROR]. | PK | M |
| message_id | Integer | A description for this alert level. | M |
Entity: RAM_Appointment_Template (Data)¶
Defines a template of slots to consider when requesting appointments. Maps to Appointment_Template in Scheduling Schema.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | The id of the appointment template. Mapping: Appointment_Template.id | PK | M |
| blocking | Boolean | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.blocking | M(true) | |
| day_pattern | String(7) | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.day_pattern | M | |
| default_template | Boolean | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.default_template | M(false) | |
| exclude_to_template_start | Boolean | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.exclude_to_template_start | M(false) | |
| number_of_slots | Integer | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.number_of_slots | M | |
| offer_expiry_window | Time Span | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.offer_expiry_window | M | |
| appointment_window_length | Time Span | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.appointment_window_length | O | |
| description | String(2000) | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.description | O | |
| distance_threshold_km | Double | The maximum distance from a shift start location to the activity location in order for the resource to be considered for the appointment offer. Mapping: Appointment_Template.distance_threshold_km | O | |
| granularity | Time Span | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.granularity | O | |
| minimum_delay | Time Span | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.minimum_delay | O | |
| slot_usage_rule_set_id | String(32) | See Appointment_Template in Scheduling Schema Foreign Key: RAM_Slot_Usage_Rule_Set Mapping: Appointment_Template.slot_usage_rule_set_id | O | |
| start_based | Boolean | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.start_based | O | |
| template_start_day_of_week | Integer | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.template_start_day_of_week | O | |
| template_start_time_of_day | Time Span | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.template_start_time_of_day | O | |
| time_zone | String(32) | See Appointment_Template in Scheduling Schema Mapping: Appointment_Template.time_zone | O | |
| utilisation_multiplier | Double | A multiplier for the maximum shift utilisation to limit the amount of time the offers consume in each shift. Notes: If an offer in a shift makes the shift utilisation higher than the maximum shift utilisation, the offer will not be available. Values between 0 and 1. | O |
Entity: RAM_Appointment_Template_Item (Data)¶
Defines a slot within an appointment template.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_appointment_template_id | String(32) | The appointment template this applies to. Foreign Key: RAM_Appointment_Template | PK | M |
| slot_start_time | Time Span | The time of day when the slot should start. | PK | M |
| slot_end_time | Time Span | The time of day when the slot should end. | M | |
| slot_usage_window_end | Time Span | Specifies the end time of the slot usage window for the utilisation check. | O | |
| slot_usage_window_start | Time Span | Specifies the start time of the slot usage window for the utilisation check. | O |
Entity: RAM_Appt_Template_Slot_Usage (Data)¶
Used to associate an Appointment_Template to either one or multiple slot usage rule sets.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_appointment_template_id | String(32) | The id of the appointment template this relates to. Foreign Key: RAM_Appointment_Template Mapping: Appt_Template_Slot_Usage.appointment_template_id | PK | M |
| ram_slot_usage_rule_set_id | String(32) | The id of the slot usage rule set to use with this template. Foreign Key: RAM_Slot_Usage_Rule_Set Mapping: Appt_Template_Slot_Usage.slot_usage_rule_set_id | PK | M |
Entity: RAM_Attribute (Data)¶
A user defined attribute that can be linked to a resource, division or project.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Additional_Attribute.label | PK | M |
| maximum_number_of_values | Integer | Define how many attributes a resource may have. | M(1) | |
| prompt_for_value | Boolean | Determines whether to prompt the user for a value for this attribute. | M(true) | |
| ram_attribute_type_id | String(32) | The attribute type, one of [DIVISION, RESOURCE]. Foreign Key: RAM_Attribute_Type Mapping: Additional_Attribute_Type.id | M | |
| ram_data_type_id | String(32) | The type of data expected. Foreign Key: RAM_Data_Type Mapping: Additional_Attribute.data_type | M | |
| send | Boolean | Whether to send through in the scheduling data (for resource type only). | M(false) | |
| sequence | Integer | The display sequence. Mapping: Additional_Attribute.sequence | M | |
| description | String(100) | A description of the attribute. Mapping: Additional_Attribute.description | O |
Entity: RAM_Attribute_Allowed_Value (Data)¶
Defines a list of allowed values for attributes with the data type DOMAIN.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_attribute_id | String(32) | The id of the attribute. Foreign Key: RAM_Attribute | PK | M |
| value | String(100) | A value the attribute is allowed to be. | PK | M |
| description | String(2000) | A decription of the value. | O | |
| sequence | Integer | The order in which to display the allowed value. | O |
Entity: RAM_Attribute_Type (Lookup)¶
A lookup table of allowed attribute types.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Attribute type id | PK | M |
| message_id | Integer | A description for this attribute type. | M |
Entity: RAM_Attribute_Value (Data)¶
Links an attribute to a resource, project or division.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Additional_Attribute.id | PK | M |
| ram_attribute_id | String(32) | The id of the attribute. Foreign Key: RAM_Attribute Mapping: Additional_Attribute.attribute_id | M | |
| value | String(2000) | The value of the attribute Mapping: Additional_Attribute.value | M | |
| ram_division_id | String(32) | The id of the division. Foreign Key: RAM_Division | O | |
| ram_project_id | String(32) | The id of the project. Foreign Key: RAM_Project | O | |
| ram_resource_id | String(32) | The id of the resource. Foreign Key: RAM_Resource Mapping: Additional_Attribute.resource_id | O |
Entity: RAM_Calendar (Data)¶
Defines a calendar which can be applied to the SLAs of an activity. The slopes on the SLA will only apply during active calendar periods. Links to Calendar in the Scheduling Schema.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Calendar.id | PK | M |
| description | String(2000) | A description for the calendar. Mapping: Calendar.description | O | |
| time_zone | String(32) | The time zone to use when applying the calendar. If not supplied the local server time zone will be used. Mapping: Calendar.time_zone | O |
Entity: RAM_Calendar_Item (Data)¶
Defines the general pattern of active periods for the calendar.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| day_of_week | Integer | The day of week for this active period (0=Sunday, 6=Saturday). Mapping: Calendar_Item.day_of_week | PK | M |
| ram_calendar_id | String(32) | The id of the calendar this belongs to. Foreign Key: RAM_Calendar Mapping: Calendar_Item.calendar_id | PK | M |
| start_time | Time Span | The start time for this active period. Mapping: Calendar_Item.start_time | PK | M |
| end_time | Time Span | The end time for this active period. Mapping: Calendar_Item.end_time | M |
Entity: RAM_Capacity (Data)¶
Defines the parts capacity that can be carried by a resource. It consists of an overall maximum volume that can be carried, a default maximum part quantity, and individual capacities for particular parts.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | The unique id for this capacity. | PK | M |
| description | String(2000) | A description for this capacity. | O | |
| maximum_part_quantity | Integer | The default maximum quantity of a part that can be carried in this capacity. Notes: If this is set to 0 then only parts specified via a Capacity_Part record can be carried in this capacity. | O | |
| maximum_volume | Double | The overall maximum part volume that can be carried in this capacity. Notes: If the maximum volume is null then there is no overall maximum volume. | O | |
| maximum_weight | Double | The overall maximum part weight that can be carried in this capacity. This is independent of the volume. Notes: If the maximum weight is null then there is no overall maximum weight. | O |
Entity: RAM_Capacity_Part (Data)¶
This defines an override for the maximum quantity of stock that can be carried for a particular part. If the maximum quantity is null then there is no maximum. If exclusivity required is set to true then the resource must carry only this part for this capacity requirement.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_capacity_id | String(32) | Unique identifier for the capacity. Foreign Key: RAM_Capacity | PK | M |
| ram_part_id | String(32) | Unique identifier for the part the capacity applies too. Foreign Key: RAM_Part | PK | M |
| exclusivity_required | Boolean | Indicates if the part must be carried for the capacity requirement. | M(false) | |
| maximum_quantity | Integer | Maximum quantity of stock to be carried. | O |
Entity: RAM_Categorisation (Data)¶
Represents a high-level grouping or classification of categories, serving as a parent entity for organising them into meaningful groups. This can be used for filtering or grouping resources and activities in the Scheduling Workbench, or for defining rules that can restrict how the categories can be scheduled in parallel with each other.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique identifier for the categorisation. | PK | M |
| description | String(2000) | A description of the categorisation. | O |
Entity: RAM_Category (Data)¶
Defines specific items or entities within a categorisation. Activities and resources can belong to up to one category per categorisation.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique identifier for the category. | PK | M |
| ram_categorisation_id | String(32) | The id of the categorisation this category belongs to. Foreign Key: RAM_Categorisation | PK | M |
| description | String(2000) | A description of the category | O |
Entity: RAM_Category_Custom_Metric (Data)¶
Defines the value a custom metric has for activities belonging to a particular category.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_categorisation_id | String(32) | The id of the categorisation to link to this custom metric. Foreign Key: RAM_Category | PK | M |
| ram_category_id | String(32) | The id of the category to link to this custom metric. Foreign Key: RAM_Category | PK | M |
| ram_custom_metric_id | String(32) | The id of the custom metric to associate with a categorisation and category. Foreign Key: RAM_Custom_Metric | PK | M |
| metric_value | Double | A value to represent the custom metric for the category. | M |
Entity: RAM_Comment (Data)¶
Defines a comment against any row in the database.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| datetime | Date Time | The time the comment was added. | M | |
| object_pk_name1 | String(32) | The column name of one of the primary key columns in this table. | M | |
| object_pk1 | String(32) | The value of the column named above for this row. | M | |
| object_type_id | String(32) | The name of the table that the row the comment applies to is in. | M | |
| comment | String(2048) | The comment. | O | |
| object_pk_name2 | String(32) | The column name of one of the primary key columns in this table. | O | |
| object_pk_name3 | String(32) | The column name of one of the primary key columns in this table. | O | |
| object_pk_name4 | String(32) | The column name of one of the primary key columns in this table. | O | |
| object_pk2 | String(32) | The value of the column named above for this row. | O | |
| object_pk3 | String(32) | The value of the column named above for this row. | O | |
| object_pk4 | String(32) | The value of the column named above for this row. | O | |
| ram_rota_id | String(32) | The id of the rota that the comment applies to. Foreign Key: RAM_Rota | O | |
| user_id | String(256) | The user making the comment. | O |
Entity: RAM_Contract (Data)¶
Defines a contract that can be used for display purposes on the Scheduling Workbench, and is also used in the Schedule Archive reporting table.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique identifier. Mapping: Contract.id | PK | M |
| description | String(2000) | A description for this contract. Mapping: Contract.description | O |
Entity: RAM_Counters (System)¶
Used for encryption.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| value | Integer | The value. | O |
Entity: RAM_Custom_Metric (Data)¶
This defines a custom metric that can be specified against activities.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Defines a unique id for the custom metric | PK | M |
| default_value | Double | The default value to be used for each activity where its metric value is not otherwise specified | M | |
| description | String(2000) | A description of the metric | O | |
| ram_categorisation_id | String(32) | Specifies the id of the categorisation to associate this custom metric with. Foreign Key: RAM_Categorisation | O |
Entity: RAM_Customer (Data)¶
Defines a customer that can be used for display purposes on the Scheduling Workbench, and is also used in the Schedule Archive reporting table.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(100) | A unique identifier. Mapping: Customer.id | PK | M |
| description | String(2000) | A description for this customer. Mapping: Customer.description | O |
Entity: RAM_Data_Request (System)¶
Logs any requests for RAM data to be brought through to the scheduling system.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | Int64 | A unique id. | PK | M |
| external_db_id | Integer | The id of the external database making the request. | M | |
| external_task_id | String(32) | The dataset or task making the request. | M | |
| organisation_id | Integer | The id of the organisation in the request. 1 by default. | M | |
| ram_dataset_id | String(32) | Which ram dataset is the request for. | M | |
| ram_update_id | Int64 | A unique id from the RAM Update table for this request. Foreign Key: RAM_Update | M | |
| external_reference | String(100) | An external reference. | O | |
| force_update_time | Date Time | Once this time passes, an update must be made even if dataset has not changed. | O | |
| load_status | Integer | The status of the request. | O | |
| request_datetime | Date Time | The time the request was made. | O |
Entity: RAM_Data_Type (Lookup)¶
Defines allowed types of data: [STRING, INTEGER, DOUBLE, DATETIME, TIMESPAN, BOOLEAN, MESSAGE_TEXT, DOMAIN, TIME, URL]
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| message_id | Integer | A description of this data type. | M |
Entity: RAM_Data_Update (Data)¶
Used to update a particular value of the database, or delete rows.
Warning
When deleting rows consider the impacts in terms of cascade deletes. For each deleted row, any rows that reference the deleted row will be cascade deleted. For example, deleting a RAM_Location row will cascade delete any rows in other tables that reference this row, which could include RAM_Resource rows amongst others.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| delete_row | Boolean | True is the entire row defined is to be deleted. | M(false) | |
| object_pk_name1 | String(32) | The column name of one of the primary key columns in this table. | M | |
| object_pk1 | String(256) | The value of the column named above for this row. | M | |
| object_type_id | String(40) | The name of the table that the row the update applies to is in. | M | |
| column_name | String(32) | The column name of the column for which the new value applies. | O | |
| column_value | String(100) | The updated value for this column. | O | |
| object_pk_name2 | String(32) | The column name of one of the primary key columns in this table. | O | |
| object_pk_name3 | String(32) | The column name of one of the primary key columns in this table. | O | |
| object_pk_name4 | String(32) | The column name of one of the primary key columns in this table. | O | |
| object_pk2 | String(256) | The value of the column named above for this row. | O | |
| object_pk3 | String(256) | The value of the column named above for this row. | O | |
| object_pk4 | String(256) | The value of the column named above for this row. | O |
Entity: RAM_Dataset (Data)¶
Defines a dataset that contains data within the RAM.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id within the organisation. | PK | M |
| organisation_id | Integer | The organisation that owns this dataset. | PK | M |
| description | String(2000) | A description for this dataset. | O | |
| display_context_id | String(32) | The id of the display context to use for this dataset. | O | |
| ram_dataset_type_id | String(32) | The type of dataset. Foreign Key: RAM_Dataset_Type | O |
Entity: RAM_Dataset_Type (Lookup)¶
Used to describe the type and purpose of a dataset (e.g. for modelling).
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id | PK | M |
| message_id | Integer | A description of this dataset. | M |
Entity: RAM_Depot_Transfer_Settings (Data)¶
Defines settings to be used for transferring a part from a parent depot to a child depot, and whether the transfer rules should be used for all parts at the parent depot or not. A template need not be provided here, as part transfer settings could be used to define rules for specific parts, overriding any rules defined here that apply to all parts. The parent and child depots are not defined here (or anywhere in the ARP).
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| apply_to_all | Boolean | Whether the rule applies to all part or only to parts specified using RAM_Part_Transfer_Settings | M(false) | |
| description | String(2000) | Description of the depot transfer settings. | O | |
| ram_transfer_rule_template_id | String(32) | Unique id for the transfer rule template to use with these depot transfer settings. Foreign Key: RAM_Transfer_Rule_Template | O |
Entity: RAM_Distance_Penalty (Data)¶
The travel penalties that relate to a particular travel cost model. See 'Travel Cost Model' in the Scheduling Schema for details.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_distance_penalty_type_id | String(32) | The type of the travel penalty Foreign Key: RAM_Distance_Penalty_Type Allowed Values: JOURNEY_DISTANCE_KM, SHIFT_TRAVEL_DISTANCE_KM | PK | M |
| ram_travel_cost_model_id | String(32) | The id of the travel cost model this penalty relates to. Foreign Key: RAM_Travel_Cost_Model | PK | M |
| threshold_value | Double | The threshold distance (km) from which the penalty is applied. | PK | M |
| additional_cost_km | Double | The additional cost per km to apply once the threshold value is exceeded. | O | |
| additional_journey_time | Time Span | Specifies the additional journey time to apply once the threshold value is exceeded. | O | |
| penalty | Double | A one off penalty to apply for exceeding the threshold value. | O |
Entity: RAM_Distance_Penalty_Type (Lookup)¶
Lists the different types of travel penalty that can be applied.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| message_id | Integer | The id of the message describing this penalty type. | O |
Entity: RAM_Division (Data)¶
A division within which shifts need to be planned. Divisions are defined as a tree structure.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Region.id | PK | M |
| send | Boolean | Whether to send the division through to the scheduling engine (as a region). | M(false) | |
| description | String(2000) | A description for the division. Mapping: Region.description | O | |
| ram_division_id | String(32) | The parent division. Foreign Key: RAM_Division Mapping: Region.region_id | O | |
| ram_division_type_id | String(32) | The type of division. Foreign Key: RAM_Division_Type | O | |
| time_zone_id | String(32) | The time zone to use when creating rota items in this division. Example: If a shift template item starts at 9am and the division time zone is America/New_York then the rota items created will start at 9am in the America/New_York time zone. | O |
Entity: RAM_Division_Requirement (Data)¶
A requirement for resources to work within a particular division.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_division_id | String(32) | The id of the division. Foreign Key: RAM_Division | PK | M |
| ram_requirement_id | String(32) | The id of the requirement. Foreign Key: RAM_Requirement | PK | M |
Entity: RAM_Division_Type (Data)¶
Pre-defined types of divisions.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| description | String(2000) | A description for this division type. | O |
Entity: RAM_Exception (Data)¶
An exception generated when validating a rota.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_rota_id | String(32) | The rota this exception was generated against. Foreign Key: RAM_Rota | PK | M |
| datetime_stamp | Date Time | The time the exception was generated. | O | |
| exception_datetime_end | Date Time | The end time of the period the exception applies to. | O | |
| exception_datetime_start | Date Time | The start time of the period the exception applies to. | O | |
| ram_resource_id | String(32) | The resource the exception was generated against. Foreign Key: RAM_Resource | O | |
| ram_response_id | Int64 | The id of the response which the exception belongs to. Foreign Key: RAM_Response | O | |
| ram_rule_id | String(32) | The rule that the exception was generated against. | O | |
| ram_rule_type_id | String(32) | The type of rule. Foreign Key: RAM_Rule_Type | O | |
| reason_message_id | Integer | The reason for the exception. | O | |
| user_id | String(256) | The user who requested validation of the rota. | O |
Entity: RAM_Exception_Parameter (Data)¶
A parameter to be used within an exception message.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_exception_id | String(32) | The exception this applies to. Foreign Key: RAM_Exception | PK | M |
| ram_rota_id | String(32) | The rota the exception was generated against. Foreign Key: RAM_Exception | PK | M |
| sequence | Integer | The sequence the parameters should be applied in. | PK | M |
| parameter_value | String(256) | The value of the parameter. | O | |
| ram_data_type_id | String(32) | The data type for the parameter. Foreign Key: RAM_Data_Type | O |
Entity: RAM_External_Task_Data (System)¶
Data being used by an external task.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| external_db_id | Integer | The database id on which the task is running. | PK | M |
| external_task_id | String(32) | The external task using the resource. | PK | M |
| organisation_id | Integer | The id of the organisation this is for. | PK | M |
Entity: RAM_Fuel_Type (Data)¶
Defines the type of fuel used in the vehicle.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id for the fuel type Mapping: Fuel_Type.id | PK | M |
| description | String(2000) | Description of the type of fuel used in the vehicle Mapping: Fuel_Type.description | O |
Entity: RAM_Icon (Data)¶
An icon to be used when displaying data in the application. This can currently be linked to resource types and activity types.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id for the icon. Mapping: Icon.id | PK | M |
| path | String(2000) | The reference path for the icon (either the icon name for DEFAULT type icons, or the url for EXTERNAL_URL type). Mapping: Icon.path | M | |
| ram_icon_type_id | String(32) | The type of the icon. Foreign Key: RAM_Icon_Type Allowed Values: DEFAULT, EXTERNAL_URL Mapping: Icon.icon_type_id | M |
Entity: RAM_Icon_Type (Lookup)¶
A lookup table of icon types.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id of the icon type. | PK | M |
| message_id | Integer | A description for this icon type. | M |
Entity: RAM_Location (Data)¶
A location for a resource or activity.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Location.id | PK | M |
| latitude | Double | The latitude of this location. Mapping: Location.latitude | M | |
| longitude | Double | The longitude of this location. Mapping: Location.longitude | M | |
| add_time | Time Span | The add time to use for this location. Mapping: Location.add_time | O | |
| address_line1 | String(128) | The first address line for this location. Mapping: Location.address_line1 | O | |
| address_line2 | String(128) | The second address line for this location. Mapping: Location.address_line2 | O | |
| address_line3 | String(128) | The third address line for this location. Mapping: Location.address_line3 | O | |
| address_line4 | String(128) | The fourth address line for this location. Mapping: Location.address_line4 | O | |
| address_line5 | String(128) | The fifth address line for this location. Mapping: Location.address_line5 | O | |
| address_line6 | String(128) | The sixth address line for this location. Mapping: Location.address_line6 | O | |
| city | String(64) | The city of this location. Mapping: Location.city | O | |
| description | String(2000) | A description for this location. Mapping: Location.description | O | |
| duration_overhead | Time Span | The amount of time to be added to the expected duration of the first activity at a location or locality. Mapping: Location.duration_overhead | O | |
| lack_of_coverage | Boolean | Whether the location should be considered to have lack of GPS coverage. Mapping: Location.lack_of_coverage | O | |
| locality | String(32) | The locality of this location. Mapping: Location.locality | O | |
| name | String(64) | The name of this location. Mapping: Location.name | O | |
| post_code_zip | String(50) | The post code or zip of this location. Mapping: Location.post_code_zip | O | |
| ram_location_type_id | String(32) | The type of this location. Foreign Key: RAM_Location_Type Mapping: Location.location_type_id | O | |
| ram_time_pattern_id | String(32) | The time pattern defining availabilities for the location. Foreign Key: RAM_Time_Pattern | O | |
| start_based_availability | Boolean | If the availabilities for this location apply only to visit start times. | O | |
| state | String(64) | The state (county etc) of this location. Mapping: Location.state | O |
Entity: RAM_Location_Division (Data)¶
Used to specify a location as being within a division.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_division_id | String(32) | The division this applies to. Foreign Key: RAM_Division Mapping: Location_Region.region_id | PK | M |
| ram_location_id | String(32) | The location this applies to. Foreign Key: RAM_Location Mapping: Location_Region.location_id | PK | M |
Entity: RAM_Location_Type (Data)¶
Type information for a location.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Location_Type.id | PK | M |
| add_time | Time Span | The add time to use for this location type. Mapping: Location_Type.add_time | O | |
| description | String(2000) | A description of this type of location. Mapping: Location_Type.description | O | |
| duration_overhead | Time Span | The amount of time to be added to the expected duration of the first activity at a location or locality. Mapping: Location_Type.duration_overhead | O | |
| lack_of_coverage | Boolean | Whether the location should be considered to have lack of GPS coverage. Mapping: Location_Type.lack_of_coverage | O | |
| ram_time_pattern_id | String(32) | The time pattern defining availabilities for the location. Foreign Key: RAM_Time_Pattern | O | |
| start_based_availability | Boolean | If the availabilities for this location type apply only to visit start times. | O |
Entity: RAM_Membership_Category (Data)¶
When a resource is planned into the rota they are given a rota membership period for the entire time they have been planned. Membership categories allow these membership periods to be separated into different time categories. For example if a resource is expected to stay at a particular location for a period of time, working a number of shifts while stationed there, then this can be reflected in the membership category.
As a more specific example, suppose that resources are working on an oil rig. They stay on the rig for 14 days, working 12 hour shifts every day during this time. They then have a further period of 14 days back on land where they are not working. In this example, a membership category of 'Offshore' can be used for the first 14 days to signify that the resource is on the rig for this entire period.
Membership categories can be given a colour which will appear as a background colour when shifts are planned for the resource. They can also be linked to rules and requirements.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| colour | String(9) | The colour to use when displaying this membership category. Format: #RRGGBB, #AARRGGBB | O | |
| description | String(2000) | A description for this membership category. | O |
Entity: RAM_Modelling_Pattern (Data)¶
Defines a modelling pattern to use when planning cyclic work. See Scheduling Schema for details.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | The id of the modelling pattern. Mapping: Modelling_Pattern.id | PK | M |
| interval | Time Span | See Modelling_Pattern in Scheduling Schema. Mapping: Modelling_Pattern.interval | M | |
| same_resource | Boolean | See Modelling_Pattern in Scheduling Schema. Mapping: Modelling_Pattern.same_resource | M(false) | |
| step | Integer | See Modelling_Pattern in Scheduling Schema. Mapping: Modelling_Pattern.step | M(1) | |
| description | String(2000) | See Modelling_Pattern in Scheduling Schema. | O | |
| leeway | Time Span | See Modelling_Pattern in Scheduling Schema. Mapping: Modelling_Pattern.leeway | O | |
| leeway_before | Time Span | See Modelling_Pattern in Scheduling Schema. Mapping: Modelling_Pattern.leeway_before | O | |
| leeway_percentage | Double | See Modelling_Pattern in Scheduling Schema. Mapping: Modelling_Pattern.leeway_percentage | O | |
| leeway_percentage_before | Double | See Modelling_Pattern in Scheduling Schema. Mapping: Modelling_Pattern.leeway_percentage_before | O | |
| min_delay | Time Span | See Modelling_Pattern in Scheduling Schema. Mapping: Modelling_Pattern.min_delay | O | |
| value_multiplier | Double | See Modelling_Pattern in Scheduling Schema. Mapping: Modelling_Pattern.value_multiplier | O |
Entity: RAM_Object_Group (Data)¶
Specify that a group has permission to see a resource, resource type, or a location.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Object_Group.id | PK | M |
| group_id | String(32) | The group this applies to. Mapping: Object_Group.group_id | M | |
| ram_location_id | String(32) | The location to include in the group. Foreign Key: RAM_Location Mapping: Object_Group.location_id | O | |
| ram_resource_id | String(32) | The resource to include in the group. Foreign Key: RAM_Resource Mapping: Object_Group.resource_id | O | |
| ram_resource_type_id | String(32) | The resource type to include in the group. Foreign Key: RAM_Resource_Type Mapping: Object_Group.resource_type_id | O |
Entity: RAM_Operation (Data)¶
Defines an operation that can be linked to an activity template. See 'Operation' in the Scheduling Schema for details.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | An identifier for this operation. Mapping: Operation.id | PK | M |
| allow_parallel_operations | Boolean | Specifies if this operation can be carried out at the same time as other operations being performed on the activity. Mapping: Operation.allow_parallel_operations | M(true) | |
| base_value | Double | The base value for performing this operation. Mapping: Operation.base_value | M(1000) | |
| duration | Time Span | The expected duration of this operation. Mapping: Operation.duration | M | |
| once_only | Boolean | If true then this operation will only be scheduled once and will not be repeated. Mapping: Operation.once_only | M(false) | |
| ram_usage_model_id | String(32) | The identifier of the usage model linked to this operation. Foreign Key: RAM_Usage_Model Mapping: Operation.usage_model_id | M | |
| subsequent_only | Boolean | If true then this operation will only be scheduled as subsequent to another operation. Mapping: Operation.subsequent_only | M(false) | |
| description | String(2000) | A description for the operation. Mapping: Operation.description | O | |
| ram_operation_id_subsequent | String(32) | The identifier of the operation that must follow this one. Foreign Key: RAM_Operation Mapping: Operation.operation_id_subsequent | O |
Entity: RAM_Operation_Hierarchy (Data)¶
This allows operations to be placed in a hierarchy. In such cases, whenever a parent operation is carried out, the child operation will also be taken to have been carried out.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_operation_id_child | String(32) | The identifier for the child operation. Foreign Key: RAM_Operation Mapping: Operation_Hierarchy.operation_id_child | PK | M |
| ram_operation_id_parent | String(32) | The identifier for the parent operation. Foreign Key: RAM_Operation Mapping: Operation_Hierarchy.operation_id_parent | PK | M |
Entity: RAM_Operation_Ordering (Data)¶
This allows a specific ordering of operations to be defined when multiple operations are carried out within a visit.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_operation_id_from | String(32) | The identifier of the operation that must be carried out first. Foreign Key: RAM_Operation Mapping: Operation_Ordering.operation_id_from | PK | M |
| ram_operation_id_to | String(32) | The identifier of the operation that must be carried out second. Foreign Key: RAM_Operation Mapping: Operation_Ordering.operation_id_to | PK | M |
Entity: RAM_Operation_Skill (Data)¶
Used to set a skill requirement for a particular operation.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_operation_id | String(32) | The identifier of the operation. Foreign Key: RAM_Operation Mapping: Operation_Skill.operation_id | PK | M |
| ram_skill_id | String(32) | The identifier of the required skill. Foreign Key: RAM_Skill Mapping: Operation_Skill.skill_id | PK | M |
Entity: RAM_Part (Data)¶
A part that can be used by a resource to carry out activities.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Part.id | PK | M |
| is_global | Boolean | Determines if this is a global part. Mapping: Part.is_global | M(false) | |
| is_vehicle_part | Boolean | Indicates whether the part is related to vehicle stock instead of direct resource stock. Mapping: Part.is_vehicle_part | M(false) | |
| reusable | Boolean | Whether the part is reusable (i.e. is not consumed when required). Mapping: Part.reusable | M(false) | |
| cost_ph | Double | The cost per hour of the resource holding the part, if reusable. Mapping: Part.cost_ph | O | |
| description | String(2000) | A description for this part. Mapping: Part.description | O | |
| ram_resource_pool_set_id | String(32) | If specified, defines the part as belonging to shared part stocks. Shared part stocks will be created for resource pools in the set. Foreign Key: RAM_Resource_Pool_Set Mapping: Part.resource_pool_set_id | O | |
| volume | Double | The volume of a single unit of this part. Mapping: Part.volume | O | |
| weight | Double | The weight of a single unit of this part. Mapping: Part.weight | O |
Entity: RAM_Part_Stock (Data)¶
Defines the amount of stock for parts to be carried by resources or resource types. This can be used to specify parts against a resource or resource type which can be time dependent. If no available_datetime is specified then the part is assumed to be available to the resource or resource type from the start of the schedule, otherwise the part is only available from the specified time. The override_existing states whether this part is in addition to any parts currently held by the resource or resource type (set to false), or whether it replaces any existing parts (set to true). The stock level can be set to recur using recurrence_interval and day_pattern. See examples below.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Part stock identity. | PK | M |
| override_existing | Boolean | Should this stock replace any existing stock, rather than being added to it. | M(true) | |
| ram_part_id | String(32) | The id of the part. Foreign Key: RAM_Part | M | |
| stock | Integer | The quantity of stock. | M | |
| available_datetime | Date Time | The date and time the stock becomes available. | O | |
| day_pattern | String(7) | If specified ,the part stock recurrence is only applied on the applicable days. | O | |
| ram_resource_id | String(32) | The resource id carrying the stock. Foreign Key: RAM_Resource Notes: Either (but not both) of resource_id and resource_type_id must be provided. | O | |
| ram_resource_pool_id | String(32) | If specified, the part stock will be designated as a shared part stock accessible by members of the resource pool indicated. Foreign Key: RAM_Resource_Pool Mapping: Part_Stock.resource_pool_id | O | |
| ram_resource_type_id | String(32) | The resource type id carrying the stock. Foreign Key: RAM_Resource_Type Notes: Either (but not both) of resource_id and resource_type_id must be provided. | O | |
| ram_vehicle_id | String(32) | The id of the vehicle carrying the stock. Foreign Key: RAM_Vehicle Mapping: Part_Stock.vehicle_id | O | |
| recurrence_interval | Time Span | If specified, the part stock recurs with this frequency starting from the available datetime. | O |
Example¶
As an example, take the following xml:
<RAM_Part_Stock>
<id>1</id>
<ram_part_id>KEYBOARD</ram_part_id>
<ram_resource_id>RES1</ram_resource_id>
<stock>5</stock>
<override_existing>true</override_existing>
</RAM_Part_Stock>
<RAM_Part_Stock>
<id>2</id>
<ram_part_id>KEYBOARD</ram_part_id>
<ram_resource_id>RES1</ram_resource_id>
<stock>2</stock>
<available_datetime>2010-10-13T08:00:00</available_datetime>
<override_existing>false</override_existing>
</RAM_Part_Stock>
<RAM_Part_Stock>
<id>3</id>
<ram_part_id>KEYBOARD</ram_part_id>
<ram_resource_id>RES1</ram_resource_id>
<stock>6</stock>
<available_datetime>2010-10-15T08:00:00</available_datetime>
<override_existing>true</override_existing>
</RAM_Part_Stock>
This would mean that the resource has 5 KEYBOARD parts at the start of the schedule today, picks up an extra two on Wednesday (regardless of how many he has used at this point), and then starts Friday with 6 KEYBOARD parts (again regardless of how many he has used up to this point). So if he were to carry out activities on Tuesday and Thursday which required 3 KEYBOARDs each, his stock levels at the end of each day would be :-
Monday 5 (initial stock)
Tuesday 2 (used 3)
Wednesday 4 (2 added)
Thursday 1 (used 3)
Friday 6 (reset to 6)
To demonstrate stock recurrence, consider the following xml:
<RAM_Part_Stock>
<id>1</id>
<ram_part_id>KEYBOARD</ram_part_id>
<ram_resource_id>RES1</ram_resource_id>
<stock>5</stock>
<available_datetime>2014-03-10T08:00:00</available_datetime>
<override_existing>true</override_existing>
<recurrence_interval>P3D</recurrence_interval>
<day_pattern>YYYYYNN</day_pattern>
</RAM_Part_Stock>
The resource's part stock would start on 5 on 10th March (Monday), and would be reset to 5 again on 13th March (Thursday), but not on 16th March as this is a Saturday, which is disallowed by the day pattern. The stock would then continue to be reset from 19th March (Wednesday).
Entity: RAM_Part_Transfer_Settings (Data)¶
Defines the transfer rules to use for a specific part, providing the template to use and the depot transfer settings it applies to.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| part_id | String(32) | Unique id for the part the transfer settings apply to. Foreign Key: RAM_Part | PK | M |
| ram_depot_transfer_settings_id | String(32) | Unique id for the depot transfer settings the part transfer settings relate to. Foreign Key: RAM_Depot_Transfer_Settings | PK | M |
| ram_transfer_rule_template_id | String(32) | Unique id for the transfer rule template the part transfer settings relate to. Foreign Key: RAM_Transfer_Rule_Template | O |
Entity: RAM_Pending_Unavailability (Data)¶
Used when creating unavailabilities on the resource planner screen. This table cannot be updated externally.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_rota_id | String(32) | The rota id the unavailability was created in. Foreign Key: RAM_Rota | PK | M |
| end_datetime | Date Time | The end time of the unavailability. | M | |
| ram_resource_id | String(32) | The id of the resource. Foreign Key: RAM_Resource | M | |
| ram_unavailability_category_id | String(32) | The category of the unavailability. Foreign Key: RAM_Unavailability_Category | M | |
| start_datetime | Date Time | The start time of the unavailability. | M | |
| description | String(2000) | A description. | O | |
| ram_location_id | String(32) | The location of the unavailability. Foreign Key: RAM_Location | O |
Entity: RAM_Pending_Update (Data)¶
Used for changes made to data maintenance tables from within the resource planner, before applying changes. This table cannot be updated externally.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Used when making changes to maintenance tables from within the resource planner | PK | M |
| ram_rota_id | String(32) | Used when making changes to maintenance tables from within the resource planner Foreign Key: RAM_Rota | PK | M |
| delete_row | Boolean | Used when making changes to maintenance tables from within the resource planner | M(false) | |
| object_pk_name1 | String(32) | Used when making changes to maintenance tables from within the resource planner | M | |
| object_pk1 | String(32) | Used when making changes to maintenance tables from within the resource planner | M | |
| object_type_id | String(32) | Used when making changes to maintenance tables from within the resource planner | M | |
| column_name | String(32) | Used when making changes to maintenance tables from within the resource planner | O | |
| column_value | String(32) | Used when making changes to maintenance tables from within the resource planner | O | |
| object_pk_name2 | String(32) | Used when making changes to maintenance tables from within the resource planner | O | |
| object_pk_name3 | String(32) | Used when making changes to maintenance tables from within the resource planner | O | |
| object_pk_name4 | String(32) | Used when making changes to maintenance tables from within the resource planner | O | |
| object_pk2 | String(32) | Used when making changes to maintenance tables from within the resource planner | O | |
| object_pk3 | String(32) | Used when making changes to maintenance tables from within the resource planner | O | |
| object_pk4 | String(32) | Used when making changes to maintenance tables from within the resource planner | O |
Entity: RAM_Position (Data)¶
Positions can be used for two purposes in the ARP.
Firstly, they can be used as a label for resources, which can then be searched against within the resource planner. This search will also use the position hierarchy, so for example when searching for the position 'Engineer', any resources in the parent position 'Senior Engineer' would also be shown.
Secondly, requirements can be created using positions, which will then require resources to be explicitly planned into a particular position (unlike role requirements where matches are calculated automatically). Note that it is not necessary for a resource to have a particular position assigned to them in order to be planned into that position. However, if a role is linked to the position, then any resources planned into this position must satisfy the role.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| description | String(2000) | A description for this position. | O | |
| ram_position_id | String(32) | The id of the parent position. Foreign Key: RAM_Position | O | |
| ram_role_id | String(32) | The id of the role linked to this position. Foreign Key: RAM_Role | O | |
| sequence | Integer | A sequence number, used to define the sort order of the positions. Notes: The lowest sequence number is displayed first. Positions with no sequence number are displayed last. | O |
Entity: RAM_Project (Data)¶
Defines known projects that resources are required to work on
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| description | String(2000) | A description for this project. | O | |
| exclusive_resource | Boolean | Whether the project requires a single resource to work on all child projects (SCHEME only) | O | |
| maximum_elapsed_time | Time Span | The maximum time the project is allowed to take. | O | |
| ram_division_id | String(32) | What division is the project in. Foreign Key: RAM_Division | O | |
| ram_parent_project_id | String(32) | The parent project (parent projects must be of type SCHEME). Foreign Key: RAM_Project | O | |
| ram_project_template_id | String(32) | The project template this project was generated from. Foreign Key: RAM_Project_Template | O | |
| ram_project_type_id | String(32) | The type of project, one of [FLEXIBLE, FIXED, SCHEME]. Foreign Key: RAM_Project_Type | O | |
| ram_role_id | String(32) | The role that this project requires Foreign Key: RAM_Role | O | |
| ram_time_pattern_id | String(32) | The available times for the project (for fixed projects this defines the time the project must happen) Foreign Key: RAM_Time_Pattern | O |
Entity: RAM_Project_Group (Data)¶
Allows pre-requisite projects to be defined.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_project_id1 | String(32) | The project which must come later. Foreign Key: RAM_Project | PK | M |
| ram_project_id2 | String(32) | The project which must come first. Foreign Key: RAM_Project | PK | M |
| delay_from_start | Boolean | Determines whether the delays are applied from the start of the first project or the end. | O | |
| maximum_delay | Time Span | The maximum delay between the projects. | O | |
| minimum_delay | Time Span | The minimum delay between the projects. | O |
Entity: RAM_Project_Level (Data)¶
Defines an amount of time or number of resources required for a project and an associated alert level.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| description | String(100) | Description of the project level. | O | |
| from_hours_required | Double | The minimum number of hours required for the project to be at this level. | O | |
| from_resource_count | Integer | The minimum number of resources required for the project to be at this level. | O | |
| ram_alert_level_id | String(32) | The id of the alert level associated with this project level. Foreign Key: RAM_Alert_Level | O | |
| ram_project_id | String(32) | The project id. Foreign Key: RAM_Project | O |
Entity: RAM_Project_Template (Data)¶
Pre-defined projects from which other projects may be created.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| description | String(2000) | A description of the template. | O | |
| exclusive_resource | Boolean | Whether the project requires a single resource to work on all child projects (SCHEME only) | O | |
| maximum_elapsed_time | Time Span | The maximum time the project is allowed to take. | O | |
| ram_project_template_id | String(32) | The id of the parent project template (parent projects must be of type SCHEME). Foreign Key: RAM_Project_Template | O | |
| ram_project_type_id | String(32) | The id of the project type. Foreign Key: RAM_Project_Type | O | |
| ram_role_id | String(32) | The role required for this template. | O |
Entity: RAM_Project_Template_Group (Data)¶
Defines pre-requisites between template projects.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_project_template_id1 | String(32) | The project template which must come later. Foreign Key: RAM_Project_Template | PK | M |
| ram_project_template_id2 | String(32) | The project template which must come first. Foreign Key: RAM_Project_Template | PK | M |
| delay_from_start | Boolean | Determines whether the delays are applied from the start of the first project or the end. | O | |
| maximum_delay | Time Span | The maximum delay between the project templates. | O | |
| minimum_delay | Time Span | The minimum delay between the project templates. | O |
Entity: RAM_Project_Template_Level (Data)¶
Defines an amount of time or number of resources required for a project tempate and an associated alert level.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| description | String(100) | A description of the project level. | O | |
| from_hours_required | Double | The minimum number of hours required for the project to be at this level. | O | |
| from_resource_count | Integer | The minimum number of resources required for the project to be at this level. | O | |
| ram_alert_level_id | String(32) | The id of the alert level associated with this project level. Foreign Key: RAM_Alert_Level | O | |
| ram_project_template_id | String(32) | The project template id. Foreign Key: RAM_Project_Template | O |
Entity: RAM_Project_Type (Lookup)¶
A lookup table of project types.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id of the project type. | PK | M |
| message_id | Integer | A warning message for this project type. | O |
Entity: RAM_Request (System)¶
A request for the RPL service to carry out an action.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | Int64 | A unique id. | PK | M |
| current_status | Integer | The current status of the request. | M | |
| allow_early_finish | Boolean | If the processing of the request can finish earlier than the allowed time. | O | |
| dataset_id | String(32) | The dataset the request relates to. | O | |
| maximum_run_time | Time Span | The maximum time allowed for processing the request. | O | |
| organisation_id | Integer | The organisation the request relates to. | O | |
| processed_by | String(80) | The application_instance_id of the RPL service processing the request. | O | |
| ram_request_type_id | String(32) | The type of the request. Foreign Key: RAM_Request_Type | O | |
| ram_rota_id | String(32) | The rota the request relates to. | O | |
| requested_at_datetime | Date Time | The time of the request. | O | |
| user_id | String(256) | The system user id. | O |
Entity: RAM_Request_Type (Lookup)¶
Defines the different types of request that can be made.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| message_id | Integer | A message describing the request type. | M |
Entity: RAM_Requirement (Data)¶
Defines a requirement for particular roles and/or posiitons to be filled at certain times.
Note
If a time pattern is specified to restrict when the requirement applies, and an additional time pattern is specified on an individual requirement role or position, then this individual requirement role or position will only be required where both time patterns apply.
Note
For each reqiuirement role or position there should always be a level with a from_resource_count of 0.
Note
By default resources must be actually working in order to contribute to the requirement. However if a membership category id is specified against the requirement role or position, then in this case it is only necessary for the resource to have rota membership in this category at the time.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| global | Boolean | Whether this requirement should be applied at the rota level | M(false) | |
| description | String(2000) | A description for this requirement. | O | |
| ram_time_pattern_id | String(32) | The period or periods of time this requirement applies to. Foreign Key: RAM_Time_Pattern | O |
Entity: RAM_Requirement_Position (Data)¶
The requirements for a particular position within an overall requirement.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_position_id | String(32) | The id of the position required. Foreign Key: RAM_Position | M | |
| ram_requirement_id | String(32) | The id of the parent requirement. Foreign Key: RAM_Requirement | M | |
| ram_membership_category_id | String(32) | The membership category to which this requirement applies. Foreign Key: RAM_Membership_Category | O | |
| ram_time_pattern_id | String(32) | The period or periods of time this requirement applies to. Foreign Key: RAM_Time_Pattern | O | |
| sequence | Integer | Used for ordering purposes. | O |
Entity: RAM_Requirement_Position_Level (Data)¶
The alert level that should be displayed for a given number of resources.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| from_resource_count | Integer | The number of resources from which this level applies. | M | |
| ram_alert_level_id | String(32) | The alert level that should be displayed. Foreign Key: RAM_Alert_Level | M | |
| ram_requirement_position_id | String(32) | The id of the parent requirement position object. Foreign Key: RAM_Requirement_Position | M | |
| unit_resource_value | Double | The additional value per hour of adding resources within this level. Notes: This is used by the automated generation process | M(0) | |
| description | String(100) | An additional description for this level. | O |
Entity: RAM_Requirement_Role (Data)¶
A particular role required within an overal requirement.
Note
If the flag 'all_resources' is set to true, then the requirement role levels are applied as a negative check. For example if the alert level is 'OK' for 0 resources and 'ERROR' for 1 resource, then an error will be displayed if any resource fails to satisfy the role required.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| all_resources | Boolean | Signifies that this role is required by every resource planned under this requirement. | M(false) | |
| exclusive_resource | Boolean | If true, this resource fulfilling this requirement will not be considered for any other requirements | M(false) | |
| ram_requirement_id | String(32) | The parent requirement object Foreign Key: RAM_Requirement | M | |
| ram_role_id | String(32) | The role required. Foreign Key: RAM_Role | M | |
| ram_membership_category_id | String(32) | The membership category to which this requirement applies. Foreign Key: RAM_Membership_Category | O | |
| ram_time_pattern_id | String(32) | The period or periods of time this capacity applies to. Foreign Key: RAM_Time_Pattern | O | |
| sequence | Integer | Used for ordering capacities. | O |
Entity: RAM_Requirement_Role_Level (Data)¶
A number of resources, and alert level this number represents.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id | PK | M |
| from_resource_count | Integer | The number of resources from which this level applies. | M | |
| ram_alert_level_id | String(32) | The alert level to apply for this level. Foreign Key: RAM_Alert_Level | M | |
| ram_requirement_role_id | String(32) | The role requirement this level applies to. Foreign Key: RAM_Requirement_Role | M | |
| unit_resource_value | Double | The additional value per hour of adding resources within this level. Notes: This is used by the automated generation process | M(0) | |
| description | String(100) | A description of this level | O |
Entity: RAM_Resource (Data)¶
A person or team against which activities can be scheduled.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Resource.id | PK | M |
| ram_resource_type_id | String(32) | The type of this resource. Foreign Key: RAM_Resource_Type Mapping: Resource.resource_type_id | M | |
| contact_details | String(256) | Contact details for the resource (phone number etc) Mapping: Resource.contact_details | O | |
| cost_km | Double | The distance cost to use for this resource. Mapping: Resource.cost_km | O | |
| cost_ph | Double | The hourly cost to use for this resource. Mapping: Resource.cost_ph | O | |
| cost_phot | Double | The overtime cost to use for this resource. Mapping: Resource.cost_phot | O | |
| dataset_id_parent | String(32) | Used internally to keep datasets updated when transferring resources. | O | |
| description | String(2000) | A description of the resource. Mapping: Resource.description | O | |
| display_context_id | String(32) | Provides the context to determine which list should be used when viewing in the Scheduling Workbench. Notes: This should match the id of a Display_Context row defined in the system data Mapping: Resource.display_context_id | O | |
| first_name | String(64) | The first name of the resource. Mapping: Resource.first_name | O | |
| max_travel | Time Span | The maximum travel time allowed for this resource. Mapping: Resource.max_travel | O | |
| memo | String(4000) | A memo comment against this resource. Mapping: Resource.memo | O | |
| out_of_region_multiplier | Double | The out of region multiplier to use for this resource. Mapping: Resource.out_of_region_multiplier | O | |
| profile_id | String(32) | The profile to use for travel calculations for this resource. Mapping: Resource.profile_id_travel | O | |
| ram_icon_id | String(32) | The id of an icon to use for this resource. Foreign Key: RAM_Icon Mapping: Resource.icon_id | O | |
| ram_location_id_end | String(32) | The default end location ofr shifts for this resource. Foreign Key: RAM_Location Mapping: Resource.location_id_end | O | |
| ram_location_id_start | String(32) | The default start location for shifts for this resource. Foreign Key: RAM_Location Mapping: Resource.location_id_start | O | |
| ram_position_id | String(32) | The id of the position attributed to this resource. Foreign Key: RAM_Position | O | |
| ram_resource_class_id | String(32) | The classification of this resource. Foreign Key: RAM_Resource_Class | O | |
| ram_rule_collection_id | String(32) | The rules to apply against shifts for this resource. Foreign Key: RAM_Rule_Collection | O | |
| ram_shift_template_set_id | String(32) | The set of shift templates that can be used to plan shifts for this resource. Foreign Key: RAM_Shift_Template_Set | O | |
| ram_travel_cost_model_id | String(32) | The travel cost model to use for this resource. Foreign Key: RAM_Travel_Cost_Model Mapping: Resource.travel_cost_model_id | O | |
| ram_vehicle_id | String(32) | Vehicle id which the resource may use during the shift. Foreign Key: RAM_Vehicle Mapping: Resource.vehicle_id | O | |
| separation_model_id | String(32) | Specifies the id of the separation model associated with this resource. | O | |
| shift_cut_off | Time Span | When the current schedule time exceeds the cut off period activities can no longer be scheduled to the shift. Mapping: Resource.shift_cut_off | O | |
| speedfactor | Double | A multiplier to apply to all travels for this resource. Mapping: Resource.speedfactor | O | |
| surname | String(64) | The surname of the resource. Mapping: Resource.surname | O | |
| time_zone_id | String(32) | The default time zone to use when creating rota items for this resource. | O | |
| travel_from | Time Span | The travel allowed beyond the end of shift for this resource. Mapping: Resource.travel_from | O | |
| travel_to | Time Span | The travel allowed before the start of shift for this resource. Mapping: Resource.travel_to | O | |
| utilisation | Integer | The default maximum shift utilisation allowed for this resource. Mapping: Resource.utilisation | O |
Entity: RAM_Resource_Capacity (Data)¶
This links a capacity to a resource. It is possible for a resource to have more than one capacity, representing for example different compartments within a van. If no resource capacity is specified the resource is assumed to be capable of carrying any parts.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_capacity_id | String(32) | The capacity id. Foreign Key: RAM_Capacity | PK | M |
| ram_resource_id | String(32) | ID of the resource holding this capacity. Foreign Key: RAM_Resource | PK | M |
Entity: RAM_Resource_Category (Data)¶
Represents the association between a resource and a category.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_categorisation_id | String(32) | The id of the categorisation to link to the resource. Foreign Key: RAM_Category | PK | M |
| ram_resource_id | String(32) | The id of the resource to be associated with a category and categorisation. Foreign Key: RAM_Resource | PK | M |
| ram_category_id | String(32) | The id of the category to link to the resource. Foreign Key: RAM_Category | M |
Entity: RAM_Resource_Class (Lookup)¶
The classification of this resource, one of [BUCKET, PARALLEL, PERSON, TEAM].
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| message_id | Integer | A description of this class. | M |
Entity: RAM_Resource_Division (Data)¶
Used to specify that a resource is within a particular division.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_division_id | String(32) | The division the resource belongs to. Foreign Key: RAM_Division Mapping: Resource_Region.region_id | PK | M |
| ram_resource_id | String(32) | The resource this applies to. Foreign Key: RAM_Resource Mapping: Resource_Region.resource_id | PK | M |
| override_priority | Integer | Defines a precedence order for within region multipliers when multiple values apply to the same activity. Mapping: Resource_Region.override_priority | M(1) | |
| within_region_multiplier | Double | The within region multiplier to apply. Mapping: Resource_Region.within_region_multiplier | O |
Entity: RAM_Resource_Division_Avail (Data)¶
Used to specify a period of time in which a resource belongs to a particular division.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Unique guid id | PK | M |
| override_priority | Integer | Defines a precedence order for within region multipliers when multiple values apply to the same activity. Mapping: Resource_Region_Availability.override_priority | M(1) | |
| ram_division_id | String(32) | The division this applies to. Foreign Key: RAM_Resource_Division Mapping: Resource_Region_Availability.region_id | M | |
| ram_resource_id | String(32) | The resource this applies to. Foreign Key: RAM_Resource_Division Mapping: Resource_Region_Availability.resource_id | M | |
| ram_time_pattern_id | String(32) | The period or periods of time when the resource will belong to the division. Foreign Key: RAM_Time_Pattern | M | |
| within_region_multiplier | Double | If specified, this overrides the resource's within region multiplier for this division during the defined period. Mapping: Resource_Region_Availability.within_region_multiplier | O |
Entity: RAM_Resource_Pool (Data)¶
Defines a set of resources which may be used to schedule a set of activities linked in a "chain". Activities are linked into a chain using Activity Resource Pool Set. All activities in the chain must be scheduled to resources from a single Resource Pool, although there may be several alternative Resource Pools in the Resource Pool Set. Some Resource Pools may be preferred to others.
Warning
The use of Resource Pools should be as limited as possible. Alternative “region” based constraints should be considered before using Resource Pools. IFS PSO Product Development must be consulted before using Resource Pools.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Defines a unique id for the Resource Pool. Mapping: Resource_Pool.id | PK | M |
| pool_multiplier | Double | Determines the preference for this Resource Pool. Default is 1. Use a higher multiplier e.g. 1.5 to prefer the use of this pool to others in the same Resource Pool Set. Mapping: Resource_Pool.pool_multiplier | M(1) | |
| description | String(2000) | Provides a description of the Resource Pool, which may be shown in the Scheduling Workbench Mapping: Resource_Pool.description | O |
Entity: RAM_Resource_Pool_Res_Type (Data)¶
Defines a Resource Type to be a member of a Resource Pool. Many resources types may be in a single resource pool, and a resource type may be in more than one pool.
Warning
The use of Resource Pools should be as limited as possible. Alternative “region” based constraints should be considered before using Resource Pools. IFS PSO Product Development must be consulted before using Resource Pools.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_resource_pool_id | String(32) | Specifies the identifier of the Resource Pool to which this item belongs. Foreign Key: RAM_Resource_Pool Mapping: Resource_Pool_Item.resource_pool_id | PK | M |
| ram_resource_type_id | String(32) | Specifies the identifier of a resource type to be included in the Resource Pool. Foreign Key: RAM_Resource_Type Mapping: Resource_Pool_Item.resource_type_id | PK | M |
Entity: RAM_Resource_Pool_Resource (Data)¶
Defines a Resource to be a member of a Resource Pool. Many resources may be in a single resource pool, and a resource may be in more than one pool.
Warning
The use of Resource Pools should be as limited as possible. Alternative “region” based constraints should be considered before using Resource Pools. IFS PSO Product Development must be consulted before using Resource Pools.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_resource_id | String(32) | Specifies the identifier of a resource to be included in the Resource Pool. Foreign Key: RAM_Resource Mapping: Resource_Pool_Item.resource_id | PK | M |
| ram_resource_pool_id | String(32) | Specifies the identifier of the Resource Pool to which this item belongs. Foreign Key: RAM_Resource_Pool Mapping: Resource_Pool_Item.resource_pool_id | PK | M |
Entity: RAM_Resource_Pool_Set (Data)¶
Defines a number of different groups of resources which may be used to schedule a set of activities linked in a "chain". Activities are linked into a chain using Activity Resource Pool Set. All activities in the chain must be scheduled to resources from a single Resource Pool, although any of the Resource Pools in this set may be chosen.
Warning
The use of Resource Pools should be as limited as possible. Alternative “region” based constraints should be considered before using Resource Pools. IFS PSO Product Development must be consulted before using Resource Pools.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Specifies the unique id for the Resource Pool Set. Mapping: Resource_Pool_Set.id | PK | M |
| description | String(2000) | Provides a description for this Resource Pool Set Mapping: Resource_Pool_Set.description | O |
Entity: RAM_Resource_Pool_Set_Item (Data)¶
An item within a resource pool set.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_resource_pool_id | String(32) | The id of the resource pool. Foreign Key: RAM_Resource_Pool Mapping: Resource_Pool_Set_Item.resource_pool_id | PK | M |
| ram_resource_pool_set_id | String(32) | The id of the resource pool set. Foreign Key: RAM_Resource_Pool_Set Mapping: Resource_Pool_Set_Item.resource_pool_set_id | PK | M |
| pool_multiplier | Double | The preference override for this resource pool. Defaults to the value on the resource pool. Mapping: Resource_Pool_Set_Item.pool_multiplier | O |
Entity: RAM_Resource_Preference (Data)¶
Defines a preference between a resource or resource type and an activity type.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| override_priority | Integer | Defines a precedence order for preferences when multiple preferences could apply to the same allocation. The preference with the higher override priority will be used. See the Constraints and Preferences Guide for details of how preferences are combined when the override priorities are equal. Mapping: Resource_Preference.override_priority | M(1) | |
| preference | Double | The preference value (0-1). | M | |
| ram_activity_type_id | String(32) | The activity type to which this applies. Foreign Key: RAM_Activity_Type | M | |
| description | String(2000) | A description for this resource preference. Mapping: Resource_Preference.description | O | |
| ram_resource_id | String(32) | The resource to which this applies. Foreign Key: RAM_Resource | O | |
| ram_resource_type_id | String(32) | The resource type to which this applies. Foreign Key: RAM_Resource_Type | O | |
| ram_time_pattern_id | String(32) | If specified, defines the period or periods of time in which the resource preference applies. Foreign Key: RAM_Time_Pattern | O |
Entity: RAM_Resource_Retention (Data)¶
Defines periods of time where the resource is employed. If a resource has no retention they are considered as always available. Otherwise they are only available during the times specified.
Note
This is also used during the resource dataset transfer process to specify the periods of time that the resource has been transferred. In this case the attribute 'is_dataset_transfer' is set to true.
If a resource has both dataset transfer retention and standard retention specified then they are only considered available where they have availability in both.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_resource_id | String(32) | The resource this applies to Foreign Key: RAM_Resource | PK | M |
| is_dataset_transfer | Boolean | Internal use - this is set to true when transferring resources between datasets. | M(false) | |
| retention_end | Date Time | The end of the retention period | O | |
| retention_start | Date Time | The start of the retention period | O |
Entity: RAM_Resource_Skill (Data)¶
Used to specify that a resource has a particular skill.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_resource_id | String(32) | The resource this applies to. Foreign Key: RAM_Resource Mapping: Resource_Skill.resource_id | PK | M |
| ram_skill_id | String(32) | The skill this applies to. Foreign Key: RAM_Skill Mapping: Resource_Skill.skill_id | PK | M |
| expiry_datetime | Date Time | A time after which the resource will no longer have the skill. | O | |
| in_use_cost | Double | The cost to apply when the skill is available at the time and being used. Mapping: Resource_Skill.in_use_cost | O | |
| in_use_multiplier | Double | Specifies the multiplier on the value of the skill being available and in use. Mapping: Resource_Skill.in_use_multiplier | O | |
| last_used_datetime | Date Time | The last time the resource used the skill - used in conjunction with Skill.max_unused_duration | O | |
| not_in_use_cost | Double | The cost to apply when the skill is available at the time but not being used. Mapping: Resource_Skill.not_in_use_cost | O | |
| not_in_use_multiplier | Double | Specifies the multiplier on the value of the skill being available and not in use. Mapping: Resource_Skill.not_in_use_multiplier | O | |
| proficiency | Double | The proficiency of the resource in this skill. Mapping: Resource_Skill.proficiency | O |
Entity: RAM_Resource_Skill_Availability (Data)¶
Used to specify a period of time that a resource has a particular skill.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Unique guid id | PK | M |
| override_priority | Integer | Defines a precedence order for the skill proficiency to use when skill availabilities overlap. The lower proficiency value will be used if override priorities are equal. Mapping: Resource_Skill_Availability.override_priority | M(1) | |
| ram_resource_id | String(32) | The resource this applies to. Foreign Key: RAM_Resource, RAM_Resource_Skill Mapping: Resource_Skill_Availability.resource_id | M | |
| ram_skill_id | String(32) | The skill this applies to. Foreign Key: RAM_Resource_Skill, RAM_Skill Mapping: Resource_Skill_Availability.skill_id | M | |
| in_use_cost | Double | The cost to apply when the skill is available at the time and being used. Mapping: Resource_Skill_Availability.in_use_cost | O | |
| in_use_multiplier | Double | Specifies the multiplier on the value of the skill being available and in use. Mapping: Resource_Skill_Availability.in_use_multiplier | O | |
| not_in_use_cost | Double | The cost to apply when the skill is available at the time but not being used. Mapping: Resource_Skill_Availability.not_in_use_cost | O | |
| not_in_use_multiplier | Double | Specifies the multiplier on the value of the skill being available and not in use. Mapping: Resource_Skill_Availability.not_in_use_multiplier | O | |
| proficiency | Double | If specified, this overrides the resource's proficiency in this skill during the defined period. Mapping: Resource_Skill_Availability.proficiency | O | |
| ram_time_pattern_id | String(32) | The period or periods of time when the resource will have the skill. Foreign Key: RAM_Time_Pattern | O |
Entity: RAM_Resource_Tool (Data)¶
Used to specify that a resource has a particular tool.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_resource_id | String(32) | The resource this applies to. Foreign Key: RAM_Resource Mapping: Resource_Skill.resource_id | PK | M |
| ram_tool_type_id | String(32) | The tool that the resoruce has Foreign Key: RAM_Tool_Type Mapping: Resource_Skill.skill_id | PK | M |
| ram_time_pattern_id | String(32) | The period or periods of time when the resource will have the skill. Foreign Key: RAM_Time_Pattern | O |
Entity: RAM_Resource_Travel_With (Data)¶
Defines periods of time where a resource is travelling with another resource.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_resource_id | String(32) | The resource who will be travelling with another resource. Foreign Key: RAM_Resource | M | |
| ram_resource_id_travel_with | String(32) | The resource who the first resource will be travelling with. Foreign Key: RAM_Resource | M | |
| ram_time_pattern_id | String(32) | The times for which the travel with should apply. Foreign Key: RAM_Time_Pattern | O |
Entity: RAM_Resource_Type (Data)¶
Used to specify shared type information for resources.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Resource_Type.id | PK | M |
| cost_km | Double | The distance cost to use for this resource. Mapping: Resource_Type.cost_km | M(0.25) | |
| cost_ph | Double | The hourly cost to use for this resource. Mapping: Resource_Type.cost_ph | M(20) | |
| cost_phot | Double | The overtime cost to use for this resource. Mapping: Resource_Type.cost_phot | M(30) | |
| hire_cost | Double | The cost of hiring a new resource of this type - for use with WISE. Mapping: Resource_Type.hire_cost | M(4000) | |
| out_of_region_multiplier | Double | The out of region multiplier to use for this resource. Mapping: Resource_Type.out_of_region_multiplier | M(0) | |
| ram_resource_class_id | String(32) | The classification of this resource type. Foreign Key: RAM_Resource_Class | M | |
| release_cost | Double | The cost of releasing a new resource of this type - for use with WISE. Mapping: Resource_Type.release_cost | M(4000) | |
| speedfactor | Double | A multiplier to apply to all travels for this resource. Mapping: Resource_Type.speedfactor | M(1) | |
| travel_from | Time Span | The travel allowed beyond the end of shift for this resource. Mapping: Resource_Type.travel_from | M(PT0S) | |
| travel_to | Time Span | The travel allowed before the start of shift for this resource. Mapping: Resource_Type.travel_to | M(PT0S) | |
| utilisation | Integer | The default maximum shift utilisation allowed for this resource. Mapping: Resource_Type.utilisation | M(100) | |
| description | String(2000) | A description for this resource type. Mapping: Resource_Type.description | O | |
| display_context_id | String(32) | Provides the context to determine which list should be used when viewing in the Scheduling Workbench. Notes: This should match the id of a Display_Context row defined in the system data Mapping: Resource_Type.display_context_id | O | |
| max_travel | Time Span | The maximum travel time allowed for this resource. Mapping: Resource_Type.max_travel | O | |
| profile_id | String(32) | The profile to use for travel calculations for this resource. Mapping: Resource_Type.profile_id_travel | O | |
| ram_icon_id | String(32) | The id of an icon to use for this resource type. Foreign Key: RAM_Icon Mapping: Resource_Type.icon_id | O | |
| ram_location_id_end | String(32) | The end location for resources of this type Foreign Key: RAM_Location Mapping: Resource_Type.location_id_end | O | |
| ram_location_id_start | String(32) | The start location for resources of this type Foreign Key: RAM_Location Mapping: Resource_Type.location_id_start | O | |
| ram_rule_collection_id | String(32) | The rules to apply against shifts for resources of this type. Foreign Key: RAM_Rule_Collection | O | |
| ram_shift_template_set_id | String(32) | The shift template set that can be used to generate shifts for resources of this type. Foreign Key: RAM_Shift_Template_Set | O | |
| ram_travel_cost_model_id | String(32) | The travel cost model to use for resources of this type. Foreign Key: RAM_Travel_Cost_Model Mapping: Resource_Type.travel_cost_model_id | O | |
| separation_model_id | String(32) | Specifies the id of the separation model associated with resources of this type. Foreign Key: RAM_Separation_Model | O | |
| shift_cut_off | Time Span | When the current schedule time exceeds the cut off period activities can no longer be scheduled to the shift. Mapping: Resource_Type.shift_cut_off | O |
Entity: RAM_Resource_Type_Capacity (Data)¶
This links a capacity to a resource type. It is possible for a resource type to have more than one capacity, representing for example different compartments within a van. If no resource type capacity is specified the resource type is assumed to be capable of carrying any parts.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_capacity_id | String(32) | The capacity id. Foreign Key: RAM_Capacity | PK | M |
| ram_resource_type_id | String(32) | ID of the resource type holding this capacity. Foreign Key: RAM_Resource_Type | PK | M |
Entity: RAM_Resource_Type_Category (Data)¶
Represents the association between a resource type and a category.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_categorisation_id | String(32) | The id of the categorisation to link to the resource type. Foreign Key: RAM_Category | PK | M |
| ram_resource_type_id | String(32) | The id of the resource type to be associated with a category and categorisation. Foreign Key: RAM_Resource_Type | PK | M |
| ram_category_id | String(32) | The id of the category to link to the resource type. Foreign Key: RAM_Category | M |
Entity: RAM_Resource_Type_Location (Data)¶
Used to link locations to resource types for use with the WISE.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_location_id | String(32) | The id of the location. Foreign Key: RAM_Location Mapping: Resource_Type_Location.location_id | PK | M |
| ram_resource_type_id | String(32) | The id of the resource type. Foreign Key: RAM_Resource_Type Mapping: Resource_Type_Location.resource_type_id | PK | M |
Entity: RAM_Resource_Type_Skill (Data)¶
Used to specify that a resource type has a particular skill.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_resource_type_id | String(32) | The resource type this applies to. Foreign Key: RAM_Resource_Type Mapping: Resource_Type_Skill.resource_type_id | PK | M |
| ram_skill_id | String(32) | The skill this applies to. Foreign Key: RAM_Skill Mapping: Resource_Type_Skill.skill_id | PK | M |
| in_use_cost | Double | The cost to apply when the skill is available at the time and being used. Mapping: Resource_Type_Skill.in_use_cost | O | |
| in_use_multiplier | Double | Specifies the multiplier on the value of the skill being available and in use. Mapping: Resource_Type_Skill.in_use_multiplier | O | |
| not_in_use_cost | Double | The cost to apply when the skill is available at the time but not being used. Mapping: Resource_Type_Skill.not_in_use_cost | O | |
| not_in_use_multiplier | Double | Specifies the multiplier on the value of the skill being available and not in use. Mapping: Resource_Type_Skill.not_in_use_multiplier | O | |
| proficiency | Double | The proficiency of the resource type in this skill. Mapping: Resource_Type_Skill.proficiency | O |
Entity: RAM_Resource_Type_Transition (Data)¶
These are used to allow the WISE to consider switching resources from one type to another. This could be to a more skilled resource type, or to a resource type with a different shift pattern for example.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_resource_type_id_from | String(32) | The id of the resource type to transition from. Foreign Key: RAM_Resource_Type Mapping: Resource_Type_Transition.resource_type_id_from | PK | M |
| ram_resource_type_id_to | String(32) | The id of the resource type to transition to. Foreign Key: RAM_Resource_Type Mapping: Resource_Type_Transition.resource_type_id_to | PK | M |
| transition_cost | Double | The cost of the transition. If not specified there is no cost. Mapping: Resource_Type_Transition.transition_cost | O |
Entity: RAM_Response (System)¶
Used when the RPL Service responds to a RAM request.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | Int64 | A unique id. | PK | M |
| processed_by | String(80) | The application_instance_id of the RPL service processing the request. | M | |
| response_result_id | String(32) | The id of the response result. Foreign Key: RAM_Response_Result | M | |
| dataset_id | String(32) | The dataset this response relates to. | O | |
| organisation_id | Integer | The organisation this response relates to. | O | |
| ram_request_id | Int64 | The ram request id this relates to. Foreign Key: RAM_Request | O | |
| ram_rota_id | String(32) | The rota id this relates to. | O | |
| responded_at_datetime | Date Time | The time of the response. | O | |
| time_taken | Time Span | The time taken to process the request. | O |
Entity: RAM_Response_Result (Lookup)¶
The response results that can be included in a RAM_Response record.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | The result id. Notes: SUCCESS,FAIL,CANCEL | PK | M |
| message_id | Integer | the id of a message describing the result. | M |
Entity: RAM_Role (Data)¶
A role which can be fulfilled by a resource.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_role_type_id | String(32) | The type of role. Foreign Key: RAM_Role_Type | M(ALLSKILLS) | |
| description | String(2000) | A description for this role. | O |
Entity: RAM_Role_Skill (Data)¶
A skill required to fulfill this role.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_role_id | String(32) | The role this applies to. Foreign Key: RAM_Role | PK | M |
| ram_skill_id | String(32) | The required skill. Foreign Key: RAM_Skill | PK | M |
Entity: RAM_Role_Type (Lookup)¶
Defines the type of a role. One of [ALLSKILLS, ANYSKILL].
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| message_id | Integer | A description of this role type. | M |
Entity: RAM_Rota (Data)¶
A mapping of shifts to resources, and people to teams, for a period of time.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| modified | Boolean | Shows whether modifications have been made to a working rota since the last save. | M(false) | |
| ram_rota_type_id | String(32) | The type of this rota. Foreign Key: RAM_Rota_Type | M | |
| auto_generation_complete | Boolean | If the rota is auto generated, this indicates if the generation is complete. | O | |
| description | String(2000) | A description for this rota. | O | |
| end_datetime | Date Time | The end of the period covered by the rota. | O | |
| last_retrieved_update_id | Int64 | The id of the last retrieved update from the master rota (for WORKINGSET rotas only) | O | |
| ram_rota_id | String(32) | The parent rota. Foreign Key: RAM_Rota | O | |
| start_datetime | Date Time | The start of the period covered by this rota. | O | |
| user_id | String(256) | The user this rota belongs to. | O |
Entity: RAM_Rota_Alteration (Data)¶
Notes that the master rota has changed in the periods specified.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_rota_id | String(32) | The unique id of the ram rota to be modified. Foreign Key: RAM_Rota | PK | M |
| ram_resource_id | String(32) | The id of the resource in this rota. Foreign Key: RAM_Resource | M | |
| end_datetime | Date Time | The end of the period covered by the rota. | O | |
| start_datetime | Date Time | The start of the period covered by this rota. | O |
Entity: RAM_Rota_Item (Data)¶
A shift to be worked by a resource in a rota.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Shift.id | PK | M |
| ram_rota_id | String(32) | The rota this applies to. Foreign Key: RAM_Rota | PK | M |
| end_datetime | Date Time | The end time of the shift. Mapping: Shift.end_datetime | M | |
| ram_resource_id | String(32) | The resource this applies to. Foreign Key: RAM_Resource Mapping: Shift.resource_id | M | |
| split_allowed | Boolean | Whether splittable activities can be split across this shift. Mapping: Shift.split_allowed | M(true) | |
| start_datetime | Date Time | The start time of the shift. Mapping: Shift.start_datetime | M | |
| cost_km | Double | The cost per kilometre to apply for this rota item Mapping: Shift.cost_km | O | |
| cost_ph | Double | The cost per hour to apply for this rota item Mapping: Shift.cost_ph | O | |
| cost_phot | Double | The cost per overtime hour to apply for this rota item Mapping: Shift.cost_phot | O | |
| description | String(2000) | A description for this rota item. Mapping: Shift.description | O | |
| early_end_leeway | Time Span | If the resource logs on early it is assumed they also finish early up to this amount Mapping: Shift.early_end_leeway | O | |
| late_end_leeway | Time Span | If the resource logs on late it is assumed they also finish late up to this amount Mapping: Shift.late_end_leeway | O | |
| manual_scheduling_only | Boolean | Specifies that this shift should not have activities automatically scheduled into it by the DSE. Notes: If unspecified, then default behaviour applies, which is that activities may be automatically scheduled in all shifts, unless a manual scheduling period is specified in the Input Reference. Setting this to false allows the DSE to schedule activities in a shift, even if that shift is (at least partially) before the Input Reference manual scheduling end time. | O | |
| max_travel | Time Span | The max travel to apply for this rota item Mapping: Shift.max_travel | O | |
| modified | Boolean | Whether the rota item has been modified since being created. | O | |
| overtime_period | Time Span | The overtime period for the shift. Mapping: Shift.overtime_period | O | |
| ram_division_id | String(32) | The division this rota item was created for. Foreign Key: RAM_Division | O | |
| ram_location_id_end | String(32) | The end location for this shift. Foreign Key: RAM_Location Mapping: Shift.location_id_end | O | |
| ram_location_id_start | String(32) | The start location for the shift. Foreign Key: RAM_Location Mapping: Shift.location_id_start | O | |
| ram_resource_id_travel_with | String(32) | The resource whom this resource is travelling with. Mapping: Shift.resource_id_travel_with | O | |
| ram_rule_collection_id | String(32) | ID of the rule collection to apply for this shift. Foreign Key: RAM_Rule_Collection Mapping: Shift.rule_collection_id | O | |
| ram_shift_category_id | String(32) | The shift category. Foreign Key: RAM_Shift_Category | O | |
| ram_shift_template_id | String(32) | This shift template used to generate this rota item. Foreign Key: RAM_Shift_Template | O | |
| ram_travel_cost_model_id | String(32) | The travel cost model to use for this shift. Foreign Key: RAM_Travel_Cost_Model Mapping: Shift.travel_cost_model_id | O | |
| ram_utilisation_template_id | String(32) | The utilisation template to apply for this shift. Foreign Key: RAM_Utilisation_Template | O | |
| ram_vehicle_id | String(32) | ID of the vehicle used by the resource during the shift. Foreign Key: RAM_Vehicle Mapping: Shift.vehicle_id | O | |
| shift_cost | Double | The cost to apply for scheduling any activities in this shift. Mapping: Shift.shift_cost | O | |
| shift_cut_off | Time Span | When the current schedule time exceeds the cut off period activities can no longer be scheduled to the shift. Mapping: Shift.shift_cut_off | O | |
| shift_visit_cost | Double | The cost applied to every CALL class activity scheduled in the resource's route Mapping: Shift.shift_visit_cost | O | |
| snap_time | Time Span | The snap time for the shift. Mapping: Shift.snap_time | O | |
| split_priority | Integer | The priority required to allow activities to be split into this shift. Mapping: Shift.split_priority | O | |
| travel_from | Time Span | The amount of time a resource can be planned to travel after his shift ends. Mapping: Shift.travel_from | O | |
| travel_profile_id | String(32) | The profile to use for travel in this shift. Mapping: Shift.profile_id_travel | O | |
| travel_to | Time Span | The amount of time a resource can be planned to travel before his shift starts. Mapping: Shift.travel_to | O | |
| utilisation | Integer | The utilisation to apply in this shift. Mapping: Shift.utilisation | O |
Entity: RAM_Rota_Item_Break (Data)¶
A break within a shift.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Activity.id | PK | M |
| ram_rota_id | String(32) | The rota this break belongs to. Foreign Key: RAM_Rota, RAM_Rota_Item | PK | M |
| earliest_start | Time Span | The earliest time the break can be started. | M | |
| ram_rota_item_id | String(32) | The rota item this break applies to. Foreign Key: RAM_Rota_Item | M | |
| duration | Time Span | The duration of the break. | O | |
| latest_start | Time Span | The latest time the break can be started. Notes: For implicit breaks, latest_start must be set. Otherwise, ram_activity_type_id must be set. | O | |
| ram_activity_type_id | String(32) | The activity type for this break. Foreign Key: RAM_Activity_Type Mapping: Activity.activity_type_id Notes: For explicit breaks, ram_activity_type_id must be set. Otherwise, latest_start must be set. | O |
Entity: RAM_Rota_Item_Comment (Data)¶
A comment against a rota item.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique identifier. | PK | M |
| ram_rota_id | String(32) | The rota this comment relates to. Foreign Key: RAM_Rota, RAM_Rota_Item | PK | M |
| datetime | Date Time | The last time the comment was updated. | M | |
| comment | String(2048) | The comment text. | O | |
| ram_resource_id_person | String(32) | The specific person within a team that a comment relates to. Foreign Key: RAM_Resource | O | |
| ram_rota_item_id | String(32) | The rota item this comment relates to. Foreign Key: RAM_Rota_Item | O | |
| user_id | String(256) | The id of the user making the comment. | O |
Entity: RAM_Rota_Item_Resource_Pool (Data)¶
Resource pool membership accosicated with a given shift.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_rota_id | String(32) | The rota this break belongs to. Foreign Key: RAM_Rota, RAM_Rota_Item | PK | M |
| ram_resource_pool_id | String(32) | The resource pool memebership for this rota item. Foreign Key: RAM_Resource_Pool | M | |
| ram_rota_item_id | String(32) | The rota item this resource pool membership applies to. Foreign Key: RAM_Rota_Item | M |
Entity: RAM_Rota_Membership_Period (Data)¶
Links a resource to a division or team for a period of time within a rota
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id | PK | M |
| ram_rota_id | String(32) | The id of the rota this is for Foreign Key: RAM_Rota | PK | M |
| end_datetime | Date Time | The end time of the membership period. | M | |
| ram_resource_id | String(32) | The resource to be included. Foreign Key: RAM_Resource | M | |
| start_datetime | Date Time | The start time of the memebership period. | M | |
| ram_division_id | String(32) | The division to which the resource is being linked. Foreign Key: RAM_Division | O | |
| ram_membership_category_id | String(32) | The membership category which applies during this period. Foreign Key: RAM_Membership_Category | O | |
| ram_position_id | String(32) | The position to which this resource is being linked. Foreign Key: RAM_Position | O | |
| ram_project_id | String(32) | The project to which this resource is being linked. Foreign Key: RAM_Project | O | |
| ram_resource_id_team | String(32) | The team to which the resource is being linked (resource must be type PERSON) Foreign Key: RAM_Resource | O |
Entity: RAM_Rota_Requirement_Alert (Data)¶
This highlights where requirements have not been met in the master rota.
Note
This information is populated by the RPL service, provided that the parameter 'RequirementMatchesAndAlertsCheckDays' is set to a positive number.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_rota_id | String(32) | The rota this relates to. Foreign Key: RAM_Rota | PK | M |
| end_datetime | Date Time | The end of the alert period. | M | |
| ram_alert_level_id | String(32) | The level of the alert (e.g. ERROR). Foreign Key: RAM_Alert_Level | M | |
| ram_requirement_id | String(32) | The requirement this alert relates to. Foreign Key: RAM_Requirement | M | |
| start_datetime | Date Time | The start of the alert period. | M | |
| ram_division_id | String(32) | The division this alert relates to. Foreign Key: RAM_Division | O | |
| ram_position_id | String(32) | The position this alert relates to. Foreign Key: RAM_Position | O | |
| ram_role_id | String(32) | The role this alert relates to. Foreign Key: RAM_Role | O |
Entity: RAM_Rota_Requirement_Match (Data)¶
This shows which resources have been used to match role requirements in the master rota.
Note
This information is populated by the RPL service, provided that the parameter 'RequirementMatchesAndAlertsCheckDays' is set to a positive number.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_rota_id | String(32) | The rota this relates to. Foreign Key: RAM_Rota | PK | M |
| end_datetime | Date Time | The end of the match period. | M | |
| ram_requirement_id | String(32) | The requirement this match relates to. Foreign Key: RAM_Requirement | M | |
| ram_resource_id | String(32) | The id of the matching resource. Foreign Key: RAM_Resource | M | |
| start_datetime | Date Time | The start of the match period. | M | |
| ram_division_id | String(32) | The division this match relates to. Foreign Key: RAM_Division | O | |
| ram_position_id | String(32) | The position this match relates to. Foreign Key: RAM_Position | O | |
| ram_role_id | String(32) | The role this match relates to. Foreign Key: RAM_Role | O |
Entity: RAM_Rota_Role_Override (Data)¶
A manually assigned role for a resource for a given period of time.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_rota_id | String(32) | The rota this relates to. Foreign Key: RAM_Rota | PK | M |
| end_datetime | Date Time | The end of the override period. | M | |
| ram_resource_id | String(32) | The id of the resource this applies to. Foreign Key: RAM_Resource | M | |
| ram_role_id | String(32) | The id of the role that is being manually assigned. Foreign Key: RAM_Role | M | |
| start_datetime | Date Time | The start of the override period. | M |
Entity: RAM_Rota_Type (Lookup)¶
The type of a rota. Can be [MASTER, WORKING SET].
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| message_id | Integer | The message describing this rota type. | M |
Entity: RAM_Rule (Data)¶
A rule to validate rotas against.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| ram_rule_type_id | String(32) | The type of rule. Foreign Key: RAM_Rule_Type | PK | M |
| global | Boolean | Should this rule be applied globally? | M(false) | |
| description | String(2000) | A description for the rule. | O | |
| ram_activity_type_id | String(32) | The activity type this rule applies to. Foreign Key: RAM_Activity_Type Notes: Only applies to commit override rule type COMMIT_ACTIVITY_TYPE. | O | |
| ram_membership_category_id | String(32) | The membership category this rule applies to. Foreign Key: RAM_Membership_Category | O | |
| ram_shift_category_id | String(32) | The shift category this rule applies to. Foreign Key: RAM_Shift_Category | O |
Entity: RAM_Rule_Collection (Data)¶
A collection of rules, which can be linked to a resource.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| description | String(2000) | A description for this collection. | O |
Entity: RAM_Rule_Collection_Rule (Data)¶
Used to include a rule in a rule collection.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_rule_collection_id | String(32) | The collection this applies to. Foreign Key: RAM_Rule_Collection | PK | M |
| ram_rule_id | String(32) | The rule to include. Foreign Key: RAM_Rule | PK | M |
| ram_rule_type_id | String(32) | The rule type. Foreign Key: RAM_Rule | PK | M |
Entity: RAM_Rule_Override (Data)¶
Used to override the rules defined in the collection for a particular resource.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| apply | Boolean | Whether to apply or not apply this rule for this resource. | M | |
| ram_resource_id | String(32) | The resource this applies to. Foreign Key: RAM_Resource | M | |
| ram_rule_id | String(32) | The rule to override. | M |
Entity: RAM_Rule_Parameter (Data)¶
The value of a parameter for a given rule.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| parameter_id | String(40) | The id of the parameter. Foreign Key: RAM_Rule_Type_Parameter | PK | M |
| ram_rule_id | String(32) | The rule the parameter is for. Foreign Key: RAM_Rule | PK | M |
| ram_rule_type_id | String(32) | The rule type of the rule. Foreign Key: RAM_Rule, RAM_Rule_Type_Parameter | PK | M |
| parameter_value | String(32) | The value of the parameter for this rule. | O |
Entity: RAM_Rule_Type (Lookup)¶
Defines the types of rules that can be setup: [BREAK, EXCLUDED_HOURS, REST1, REST2, SHIFT, WORKING_TIME]
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| message_id | Integer | A message describing the rule type. | M | |
| ram_rule_type_category | String(32) | The category of this rule type. Foreign Key: RAM_Rule_Type_Category | M |
Entity: RAM_Rule_Type_Category (Lookup)¶
Defines the category for a particular rule type. One of [COMMIT, PARALLEL, ROTA_VALIDATION, SHIFT_CAPACITY].
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | The id of the rule category. | PK | M |
| message_id | Integer | The id of the message describing this rule category. | O |
Entity: RAM_Rule_Type_Parameter (Lookup)¶
Defines the parameters required for a particular rule type.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| parameter_id | String(40) | The parameter applying to this rule type. | PK | M |
| ram_rule_type_id | String(32) | The id of the rule type. Foreign Key: RAM_Rule_Type | PK | M |
| default_value | String(32) | The default value for this parameter. | O | |
| message_id | Integer | A message describing the parameter. | O | |
| ram_data_type_id | String(32) | The data type expected for this parameter. Foreign Key: RAM_Data_Type | O |
Entity: RAM_Secured (System)¶
Used to encrypt data.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | Integer | Used to encrypt data. | PK | M |
| dataset_id | String(32) | Used to encrypt data. | O | |
| datum | Byte[] | Used to encrypt data. | O |
Entity: RAM_Separation_Group (Data)¶
Defines a group of activities to which separation rules should apply. The rules are defined in a separation model.
Warning
The use of Separation Models should be as limited as possible. Alternative time-based constraints should be evaluated before using Separation Models. IFS PSO Product Development must be consulted before using Separation Models. Separation models can only be used to constrain to a single time range, they cannot be used to provide a series of separations each with a different incentive.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Specifies a unique identifier for the separation group. | PK | M |
| description | String(2000) | Provides a description for this group. | O | |
| exclusive | Boolean | Indicates whether activities belonging to this scheduling group may be scheduled to a parallel resource in parallel with activities that do not belong to this scheduling group. | O | |
| separation_group_id | String(32) | Specifies a parent separation group. Foreign Key: RAM_Separation_Group Notes: All activities belonging to this separation group also belong to the parent group. | O |
Entity: RAM_Separation_Model (Data)¶
This defines a set of rules for preventing activities from being scheduled too closely together, or too far apart. Activities to which the rules apply must belong to a separation group, which they can be linked to via the separation_group_id attribute on RAM_Activity_Type. Resources are then linked to the separation model via the separation_model_id attribute on either RAM_Resource or RAM_Resource_Type.
The rules themselves are defined via RAM_Separation_Model_Item rows. Each row specifies a separation group from and to, and a minimum and maximum allowed separation (at least one or other should be supplied). Additionally an incentive can be provided. With the default incentive value of -1 the separation will be applied as a hard constraint, so the minimum and maximum must be satisfied. If a positive incentive value is used then the value is added to the plan margin if the separation conditions are satisfied.
In the case of a hard maximum separation constraint, the plan is considered invalid if the gap between an activity in the separation to group and the nearest previously scheduled activity in the separation from group (scheduled to the same resource) exceeds the maximum separation. If there is no such activity then this is valid. If an activity in the separation from group is followed by multiple activities in the separation to group, then only the first of these must obey the maximum separation constraint.
For a soft separation constraint the incentive is applied if the gap between an activity in the separation to group and the nearest previously scheduled activity in the separation from group (scheduled to the same resource) is within both the minimum and maximum separations. If an activity in the separation from group is followed by multiple activities in the separation to group, then the incentive will only be applied to the first of these.
Warning
The use of Separation Models should be as limited as possible. Alternative time-based constraints should be evaluated before using Separation Models. IFS PSO Product Development must be consulted before using Separation Models. Separation models can only be used to constrain to a single time range, they cannot be used to provide a series of separations each with a different incentive.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Specifies a unique identifier for the separation model. | PK | M |
| description | String(2000) | Provides a description for this separation model. | O |
Entity: RAM_Separation_Model_Item (Data)¶
Defines the items that make up a separation model. See `Separation Model' for details.
Warning
The use of Separation Models should be as limited as possible. Alternative time-based constraints should be evaluated before using Separation Models. IFS PSO Product Development must be consulted before using Separation Models. Separation models can only be used to constrain to a single time range, they cannot be used to provide a series of separations each with a different incentive.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| incentive | Double | Specifies the incentive value. Notes: The default value of -1 implies a hard constraint. | PK | M(-1) |
| separation_group_id_from | String(32) | Defines the group of activities which the separation start applies from. Foreign Key: RAM_Separation_Group | PK | M |
| separation_group_id_to | String(32) | Defines the group of activities to which the separation applies. Foreign Key: RAM_Separation_Group | PK | M |
| separation_model_id | String(32) | Specifies the id of the separation model this relates to. Foreign Key: RAM_Separation_Model | PK | M |
| shift_separation | Boolean | Determines whether there should be a shift separating the two separation groups. Notes: Either this needs to be set to true or a minimum or maximum separation must be defined | M(false) | |
| duration_overhead | Time Span | Specifies an amount of time to be added to the 'to' activity's duration. Notes: This will only apply based on the most recent relevant activity (not based on time between the activities). | O | |
| maximum_separation | Time Span | Defines the maximum separation allowed. Notes: This may be omitted if there is no maximum. | O | |
| minimum_separation | Time Span | Defines the minimum separation allowed. Notes: This may be omitted if there is no minimum. | O |
Entity: RAM_Shift_Category (Data)¶
Defines a category for a shift, which rules can be created against (e.g. unsociable hours, hazardous).
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| productive | Boolean | Determines whether shifts of this category contribute towards requirements. | M(true) | |
| colour | String(9) | The colour to use when displaying shifts of this category | O | |
| description | String(2000) | A description for this category. | O |
Entity: RAM_Shift_Template (Data)¶
A template for creating rota items.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| duration | Time Span | The default duration to use for rota items. | M | |
| precedence | Double | The order of precedence of this template. Notes: This is used in automatic rota generation. Higher precedence template are more valuable so more likely to be used. | M(1) | |
| ram_shift_category_id | String(32) | The shift category. Foreign Key: RAM_Shift_Category | M | |
| recurrence_days | Integer | The number of days over which the pattern will repeat. | M | |
| repeat_preference | Double | Indicates a preference for using this template repeatedly for a resource. Notes: This is used in automatic rota generation. | M(1) | |
| split_allowed | Boolean | Whether splittable activities can be split across this shift. | M(true) | |
| cost_km | Double | The default distance cost to use with this shift template. Notes: This will override the distance cost set against the resource. | O | |
| cost_ph | Double | The default hourly cost to use for this shift template. Notes: This will override the hourly cost set against the resource. | O | |
| cost_phot | Double | The default overtime cost to use for this shift template. Notes: This will override the overtime cost set against the resource. | O | |
| description | String(2000) | A description for this pattern | O | |
| early_end_leeway | Time Span | If the resource logs on early it is assumed they also finish early up to this amount. | O | |
| late_end_leeway | Time Span | If the resource logs on late it is assumed they also finish late up to this amount. | O | |
| manual_scheduling_only | Boolean | Specifies that this shift should not have activities automatically scheduled into it by the DSE. Notes: If unspecified, then default behaviour applies, which is that activities may be automatically scheduled in all shifts, unless a manual scheduling period is specified in the Input Reference. Setting this to false allows the DSE to schedule activities in a shift, even if that shift is (at least partially) before the Input Reference manual scheduling end time. | O | |
| max_travel | Time Span | The default maximum travel time allowed for this shift template. Notes: This will override the maximum travel time allowed set against the resource. | O | |
| overtime_period | Time Span | The default overtime period to use for rota items. | O | |
| ram_location_id_end | String(32) | The default end location. Foreign Key: RAM_Location | O | |
| ram_location_id_start | String(32) | The default start location. Foreign Key: RAM_Location | O | |
| ram_rule_collection_id | String(32) | ID of the rule collection to apply for this shift template. Foreign Key: RAM_Rule_Collection Notes: This may override the rule collection ID set against the resource, if certain criterias are met. | O | |
| ram_travel_cost_model_id | String(32) | The default travel cost model to use for this shift template. Foreign Key: RAM_Travel_Cost_Model Notes: This will override the travel cost model set against the resource. | O | |
| ram_utilisation_template_id | String(32) | The utilisation template to use to determine utilisation. Foreign Key: RAM_Utilisation_Template | O | |
| shift_cost | Double | The cost of scheduling any activities in the shift. | O | |
| shift_cut_off | Time Span | When the current schedule time exceeds the cut off period activities can no longer be scheduled to the shift. Notes: The shift cut off is added to the shift start time and can be negative. | O | |
| shift_visit_cost | Double | The cost applied to every CALL class activity scheduled in the resource's route | O | |
| snap_time | Time Span | The default snap time to use for rota items. | O | |
| split_priority | Integer | The priority required to allow activities to be split into this shift. | O | |
| start_day | Integer | The day of the week this pattern must start on | O | |
| travel_from | Time Span | The default travel allowed beyond the end of shift template. Notes: This will override the travel allowed beyond the end of shift set against the resource. | O | |
| travel_to | Time Span | The default travel allowed before the start of shift template. Notes: This will override the travel allowed before the start of shift set against the resource. | O | |
| utilisation | Integer | The maximum utilisation allowed for rota items. | O |
Entity: RAM_Shift_Template_Item (Data)¶
A template for creating an individual rota item.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_shift_template_id | String(32) | The shift template that this item belongs to. Foreign Key: RAM_Shift_Template | PK | M |
| sequence | Integer | Order of item within template. | PK | M |
| day_increment | Integer | Number of days form start date when this shift starts. | M | |
| time_increment | Time Span | Time from start date when this shift starts. | M | |
| cost_km | Double | The default distance cost to use with this shift template. Notes: This will override the distance cost set against the resource. | O | |
| cost_ph | Double | The default hourly cost to use for this shift template item. Notes: This will override the hourly cost set against the resource. | O | |
| cost_phot | Double | The default overtime cost to use for this shift template item. Notes: This will override the overtime cost set against the resource. | O | |
| description | String(2000) | A description for this shift template item. | O | |
| duration | Time Span | The duration of the shift. Value taken from RAM_Shift_Template if not defined. | O | |
| early_end_leeway | Time Span | If the resource logs on early it is assumed they also finish early up to this amount | O | |
| late_end_leeway | Time Span | If the resource logs on late it is assumed they also finish late up to this amount | O | |
| manual_scheduling_only | Boolean | Specifies that this shift should not have activities automatically scheduled into it by the DSE. Notes: If unspecified, then default behaviour applies, which is that activities may be automatically scheduled in all shifts, unless a manual scheduling period is specified in the Input Reference. Setting this to false allows the DSE to schedule activities in a shift, even if that shift is (at least partially) before the Input Reference manual scheduling end time. | O | |
| max_travel | Time Span | The default maximum travel time allowed for this shift template item. Notes: This will override the maximum travel time allowed set against the resource. | O | |
| overtime_period | Time Span | The overtime period of the shift. Value taken from RAM_Shift_Template if not defined. | O | |
| ram_location_id_end | String(32) | The end location of the shift template item. Foreign Key: RAM_Location | O | |
| ram_location_id_start | String(32) | The start location of the shift template item. Foreign Key: RAM_Location | O | |
| ram_rule_collection_id | String(32) | ID of the rule collection to apply for this shift template item. Foreign Key: RAM_Rule_Collection Notes: This may override the rule collection ID set against the resource, if certain criterias are met. | O | |
| ram_shift_category_id | String(32) | The shift category. Value taken from RAM_Shift_Template if not defined. Foreign Key: RAM_Shift_Category | O | |
| ram_travel_cost_model_id | String(32) | The default travel cost model to use for this shift template item. Foreign Key: RAM_Travel_Cost_Model Notes: This will override the travel cost model set against the resource. | O | |
| shift_cost | Double | The default cost of scheduling any activities in the shift template item. Notes: This will override the cost of scheduling any activities set against the resource. | O | |
| shift_cut_off | Time Span | When the current schedule time exceeds the cut off period activities can no longer be scheduled to the shift. Notes: The shift cut off is added to the shift start time and can be negative. | O | |
| snap_time | Time Span | The snap time of the shift. Value taken from RAM_Shift_Template if not defined. | O | |
| split_allowed | Boolean | Whether shifts created from this template item will allow activities to split across them. | O | |
| split_priority | Integer | The split priority to use for shifts created from this template item. | O | |
| travel_from | Time Span | The default travel allowed beyond the end of shift template item. Notes: This will override the travel allowed beyond the end of shift set against the resource. | O | |
| travel_to | Time Span | The default travel allowed before the start of shift template item. Notes: This will override the travel allowed before the start of shift set against the resource. | O |
Entity: RAM_Shift_Template_Item_Break (Data)¶
A template for creating a break within a rota item.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| earliest_start | Time Span | The earliest time into the shift when the break can start. | M | |
| ram_shift_template_id | String(32) | The shift template this belongs to. Foreign Key: RAM_Shift_Template_Item | M | |
| sequence | Integer | The sequence of the item this applies to. Foreign Key: RAM_Shift_Template_Item | M | |
| duration | Time Span | The duration of the break. | O | |
| latest_start | Time Span | The latest time into the shift when the break can start. Notes: For implicit breaks, latest_start must be set. Otherwise, ram_activity_type_id must be set. | O | |
| ram_activity_type_id | String(32) | The activity type to use for the break. Foreign Key: RAM_Activity_Type Notes: For explicit breaks, ram_activity_type_id must be set. Otherwise, latest_start must be set. | O |
Entity: RAM_Shift_Template_Item_Pool (Data)¶
The resource pool that will be associated with rota items generated from this shift template.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | Primary Key | PK | M |
| ram_resource_pool_id | String(32) | The resource pool that resources will be members of for this shift. Foreign Key: RAM_Resource_Pool | M | |
| ram_shift_template_id | String(32) | The shift template that the resource pool membership applies to. Foreign Key: RAM_Shift_Template_Item | M | |
| sequence | Integer | Order of item within template. Foreign Key: RAM_Shift_Template_Item | M |
Entity: RAM_Shift_Template_Membership (Data)¶
This defines the membership categories to use at different times during a shift template.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_shift_template_id | String(32) | The id of the shift template this relates to. Foreign Key: RAM_Shift_Template | PK | M |
| sequence | Integer | Used for ordering purposes. | PK | M |
| day_increment | Integer | The number of days into the shift template from which this category applies. | M | |
| time_increment | Time Span | The time into the shift template from which this category applies. | M | |
| ram_membership_category_id | String(32) | The membership category the applies at this time. Foreign Key: RAM_Membership_Category | O |
Entity: RAM_Shift_Template_Set (Data)¶
A collection of shift templates, which can be linked to resources.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| description | String(2000) | A description for the set. | O |
Entity: RAM_Shift_Template_Set_Item (Data)¶
An item within a shift template set.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_shift_template_id | String(32) | The id of the item. Foreign Key: RAM_Shift_Template | PK | M |
| ram_shift_template_set_id | String(32) | The id of the set. Foreign Key: RAM_Shift_Template_Set | PK | M |
| preference | Double | A preference for or against using this template. Notes: This is used in auto generation to indicate which templates within a set a preferable to use. A preference of 0 means it will not be used in auto generation, while a preference of 1 means the auto generation will be forced to use this template (or another with preference 1). A value of 0.5 means no preference. | O |
Entity: RAM_Skill (Data)¶
A skill which can be linked to resources and activities.
Note
As an example of how skills work within teams, suppose an individual resource is planned into a team on the resource planner. Then each of the resource's skills will also be inherited by the team, provided that the skill is team inheritable.
Now suppose that the resource has a certain skill with proficiency 1, and that a second resource is also added to the team. This second resource possesses the same skill but with proficiency 0.8.
If no team proficiency multiplier is specified, or if the value is set to 0, then the team proficiency will equal that of the most proficient resource, which in this case would mean a proficiency of 1.
If the team proficiency multiplier is set to 1, then the team proficiency will be the sum of the individual resource proficiencies. In our example this would mean that the team proficiency would be 1.8.
Finally, any value between 0 and 1 can also be used. In this case the team proficiency would equal that of the most proficient resource, plus a proportion of the proficiencies of the other resources, as given by the multiplier. So in our example a value of 0.5 would mean that the team proficiency would be 1 + 0.5 * 0.8 = 1.4.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Skill.id | PK | M |
| team_inheritable | Boolean | If true then team resources will inherit this skill from any team member who possesses the skill. | M(true) | |
| description | String(2000) | A description of the skill. Mapping: Skill.description | O | |
| in_use_cost | Double | The cost to apply when the skill is available at the time and being used. Mapping: Skill.in_use_cost | O | |
| in_use_multiplier | Double | Specifies the multiplier on the value of the skill being available and in use. Mapping: Skill.in_use_multiplier | O | |
| max_unused_duration | Time Span | A period for which if the skill is not used the resource is no longer considered to have the skill. | O | |
| not_in_use_cost | Double | The cost to apply when the skill is available at the time but not being used. Mapping: Skill.not_in_use_cost | O | |
| not_in_use_multiplier | Double | Specifies the multiplier on the value of the skill being available and not in use. Mapping: Skill.not_in_use_multiplier | O | |
| ram_skill_type_id | String(32) | The skill type for this skill. Foreign Key: RAM_Skill_Type Mapping: Skill.skill_type_id | O | |
| team_proficiency_multiplier | Double | For team resources this specifies how the team proficiency should be affected if multiple resources in the same team possess the same skill. Allowed Values: Must be between 0 and 1 (inclusive). | O |
Entity: RAM_Skill_Hierarchy (Data)¶
Determines the hierarchy of skills, the parent skill being greater than the child.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_skill_id_child | String(32) | The id of the child skill. Foreign Key: RAM_Skill Mapping: Skill_Hierarchy.skill_id_child | PK | M |
| ram_skill_id_parent | String(32) | The id of the parent skill. Foreign Key: RAM_Skill Mapping: Skill_Hierarchy.skill_id_parent | PK | M |
Entity: RAM_Skill_Type (Data)¶
Defines a type of skill. Used for display purposes only.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | The id of this skill type Mapping: Skill_Type.id | PK | M |
| description | String(2000) | A description for this skill type Mapping: Skill_Type.description | O |
Entity: RAM_SLA_Mechanism_Type (Lookup)¶
The mechanism type used for this SLA - either POWER_BASED or GAUSSIAN.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| message_id | Integer | A description of this mechanism type. | M |
Entity: RAM_SLA_Template (Data)¶
A template for linking SLAs to activities.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| start_based | Boolean | Should the SLA be applied using the start time or end time of the scheduled activity? | M(true) | |
| description | String(2000) | A description for the template. | O |
Entity: RAM_SLA_Template_Item (Data)¶
An item within an SLA Template.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| deadline | Time Span | The period from the open time of the activity to the end of this SLA period. | PK | M |
| ram_sla_template_id | String(32) | The id of the template. Foreign Key: RAM_SLA_Template | PK | M |
| ram_sla_type_id | String(32) | The SLA Type to use for this period. Foreign Key: RAM_SLA_Type | O |
Entity: RAM_SLA_Type (Data)¶
An SLA Type - see Scheduling Schema for details.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | The id of this SLA Type. Mapping: SLA_Type.id | PK | M |
| activity_ageing_factor | Double | Scheduling Schema Mapping: SLA_Type.activity_ageing_factor | M(1) | |
| curve_shape | Double | Scheduling Schema Mapping: SLA_Type.curve_shape | M(1) | |
| end_proportion | Double | Scheduling Schema Mapping: SLA_Type.end_proportion | M | |
| generate_jeopardy_exceptions | Boolean | Scheduling Schema Mapping: SLA_Type.generate_jeopardy_exceptions | M(true) | |
| ram_sla_mechanism_type_id | String(32) | The mechanism type of this SLA. Foreign Key: RAM_SLA_Mechanism_Type | M(POWER_BASED) | |
| start_proportion | Double | Scheduling Schema Mapping: SLA_Type.start_proportion | M(1) | |
| description | String(2000) | Scheduling Schema Mapping: SLA_Type.description | O |
Entity: RAM_Slot_Usage_Rule (Data)¶
Limits the total amount of resource time that can be used during the slot available times, when making offers for an appointment request.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| minimum_start_offset | Time Span | The minimum offset from appointment_base_datetime to the slot start time at which this rule will apply. If appointment_base_datetime is not set, offset is applied from the current schedule time. Mapping: Slot_Based_Rule.minimum_start_offset | PK | M |
| ram_slot_usage_rule_set_id | String(32) | The id of the rule set that this rule relates to. Foreign Key: RAM_Slot_Usage_Rule_Set Mapping: Slot_Based_Rule.slot_usage_rule_set_id | PK | M |
| maximum_slot_utilisation | Double | The maximum utilisation permitted for offers made in this slot window. Mapping: Slot_Based_Rule.maximum_slot_utilisation | O | |
| maximum_utilisation | Double | The maximum utilisation permitted for offers made in this slot usage window. Mapping: Slot_Based_Rule.maximum_utilisation | O | |
| minimum_free_time | Time Span | The minimum amount of free time required in order for offers to be made in this slot usage window. Mapping: Slot_Based_Rule.minimum_free_time | O | |
| minimum_slot_free_time | Time Span | The minimum amount of free time required in order for offers to be made in this slot window. Mapping: Slot_Based_Rule.minimum_slot_free_time | O |
Entity: RAM_Slot_Usage_Rule_Set (Data)¶
Defines a set of rules used to reserve some resource time when appointment booking.
This consists of a set of Slot_Usage_Rule rows which specify limits based on how far into the future the slot being considered is. The minimum_start_offset on the rule determines which rule is used for any given slot.
Rules can specify either a maximum utilisation, or a minimum free time, or both. In either case this is applied only during the available times for the slot, and is applied across all resources able to carry out the activity, and within the distance threshold if specified.
Rules sets can then be linked to appointment templates for use when appointment booking.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique identifier for this rule set. Mapping: Slot_Based_Rule_Set.id | PK | M |
| filter_by_activity_type | Boolean | If true, only activities of the same type as the activity being requested will contribute to the utilised time. Mapping: Slot_Based_Rule_Set.filter_by_activity_type | M(false) | |
| filter_exclude_break_time | Boolean | If true, break time (implicit or explicit) will not contribute to the utilised time. Mapping: Slot_Based_Rule_Set.filter_exclude_break_time | M(false) | |
| filter_exclude_higher_priority | Boolean | If true, activities of a higher priority than the activity being requested will not contribute to the utilised time. Mapping: Slot_Based_Rule_Set.filter_exclude_higher_priority | M(false) | |
| filter_exclude_lower_priority | Boolean | If true, activities of a lower priority than the activity being requested will not contribute to the utilised time. Mapping: Slot_Based_Rule_Set.filter_exclude_lower_priority | M(false) | |
| filter_ignore_break_time | Boolean | If true, any shift time covered by a break (implicit or explicit) will be ignored from the utilisation calculation. Mapping: Slot_Based_Rule_Set.filter_ignore_break_time | M(false) | |
| filter_ignore_private_time | Boolean | If true, any shift time covered by a private activity will be ignored from the utilisation calculation. Mapping: Slot_Based_Rule_Set.filter_ignore_private_time | M(false) | |
| description | String(2000) | A description for this rule set. Mapping: Slot_Based_Rule_Set.description | O | |
| distance_threshold_km | Double | The maximum distance from a shift start location to the activity location in order for the shift to apply. Mapping: Slot_Based_Rule_Set.distance_threshold_km | O | |
| ram_resource_pool_set_id | String(32) | If specified, only resources belonging to at least one pool within the set will be considered. In addition, the slot usage check will be performed against all resources in the matching pool(s) of the resource being considered. Foreign Key: RAM_Resource_Pool_Set Mapping: Slot_Based_Rule_Set.resource_pool_set_id | O |
Entity: RAM_Special_Day (Data)¶
This defines a special day within a calendar where the usual calendar pattern does not apply.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_calendar_id | String(32) | The id of the calendar this relates to. Foreign Key: RAM_Calendar Mapping: Special_Day.calendar_id | PK | M |
| relative_day_number | Integer | The day this relates to, counting from 1st Jan 2000 = 1. Mapping: Special_Day.relative_day_number | PK | M |
| description | String(2000) | A description for this special day. Mapping: Special_Day.description | M | |
| is_working_day | Boolean | Whether this is a working day - i.e. a day where the SLA slope will change. Mapping: Special_Day.is_working_day | M(false) |
Entity: RAM_Special_Day_Item (Data)¶
Defines the active periods for a special day.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_calendar_id | String(32) | The id of the calendar this relates to. Foreign Key: RAM_Special_Day Mapping: Special_Day_Item.calendar_id | PK | M |
| relative_day_number | Integer | The relative day number, identifying the special day this relates to. Foreign Key: RAM_Special_Day Mapping: Special_Day_Item.relative_day_number | PK | M |
| start_time | Time Span | The start time of the active period. Mapping: Special_Day_Item.start_time | PK | M |
| end_time | Time Span | The end time of the active period. Mapping: Special_Day_Item.end_time | M |
Entity: RAM_Split_Model (Data)¶
Split models contain the settings which relate to splitting an activity.
Note
If a split model is specified on either an activity or its activity type, the split model settings will be used rather than any settings specified directly on the Activity or Activity_Type row (even if set to null).
Note
If a split model is specified for an activity, it is treated as having split_allowed set to true.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | The id for the split model. | PK | M |
| cost_of_split | Double | Defines the cost incurred each time an activity using this split model is split. | O | |
| delay_cost_ph | Double | Defines the cost per hour to be applied from the point at which an activity using this model is split until the next visit begins. Notes: If a preferred_handover_time has been set, the cost will apply from the time at which the preferred handover should begin, rather than the time of the split. | O | |
| description | String(2000) | A description for the split model. | O | |
| extra_resource_cost | Double | Defines the cost applied for each extra resource used (beyond the initial resource) for an activity using this model. | O | |
| maximum_delay | Time Span | Defines the maximum amount of time that may pass between the end of one visit to an activity using this model, and the start of the next visit. | O | |
| maximum_resources | Integer | Defines the maximum number of resources that may be used in total, across all visits to an activity using this model. Notes: If unspecified, the maximum number of resources will be 1, meaning that all visits will be carried out by the same resource. | O | |
| minimum_handover_time | Time Span | Defines a minimum amount of overlap that must be scheduled between two visits for an activity using this model, when switching from one resource to another. Notes: Handover time is not included as part of the activity's duration. | O | |
| minimum_priority | Integer | Defines the minimum split priority required for an activity using this model to be split into a shift, and the minimum interrupt priority required for another activity to be able to interrupt an activity using this model. Notes: This is the equivalent of split_minimum_priority on an Activity or Activity_Type. | O | |
| minimum_visit_duration | Time Span | Defines the minimum on site duration for any visit to a split activity using this model. Notes: This is the equivalent of min_split on an Activity or Activity_Type. | O | |
| preferred_handover_time | Time Span | Defines the preferred amount of overlap to be scheduled between two visits for an activity using this model, when switching from one resource to another. Notes: It is permitted for the activity to begin with a handover time less than the preferred handover time. To make the handover time a required amount of time, only the minimum_handover_time need be used. Notes: Handover time is not included as part of the activity's duration. | O | |
| resource_switch_leeway | Time Span | Defines the amount of time between the start of resources' shifts for them to be considered when considering which resource to split to. Notes: For example, if the resource_switch_leeway is set to 30 minutes and there are three resources to choose between when splitting an activity, with shifts starting at 9:00, 9:30 and 10:00, only the first two resources will be considered. This is because the third resource starts their shift more that 30 minutes after the start of the first resource's shift. | O |
Entity: RAM_Team_Requirement (Data)¶
Defines the roles required to be filled within a team.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_requirement_id | String(32) | The id of the requirement. Foreign Key: RAM_Requirement | PK | M |
| ram_resource_id_team | String(32) | The id of the team resource. Foreign Key: RAM_Resource | PK | M |
Entity: RAM_Template_Operation_Usage (Data)¶
Defines the current usage of the specified class for this activity and operation.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_activity_template_id | String(32) | The identifier of the activity template. Foreign Key: RAM_Act_Template_Operation | PK | M |
| ram_operation_id | String(32) | The identifier of the operation. Foreign Key: RAM_Act_Template_Operation | PK | M |
| ram_usage_class_id | String(32) | The identifier for the class of usage. Foreign Key: RAM_Usage_Class | PK | M |
| last_recorded_usage | Double | The last recorded usage (at the start of the scheduling period). | M | |
| last_recorded_usage_datetime | Date Time | The time of the last recorded usage Notes: If not specified this is assumed to be the start of the scheduling period (i.e. the current usage). | O |
Entity: RAM_Time_Pattern (Data)¶
Defines a period or periods of time, possibly recurring.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| base_time | Date Time | The start time, or time from which the template should be applied. | M | |
| duration | Time Span | If a single period is required the duration can be specified here instead of using the template. | O | |
| ram_time_pattern_template_id | String(32) | The template to use to determine the pattern. Foreign Key: RAM_Time_Pattern_Template | O | |
| time_zone | String(64) | The time zone to use when applying this pattern. | O |
Entity: RAM_Time_Pattern_Template (Data)¶
Defines periods of time to be applied to a base time.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| recurrence_days | Integer | The number of days over which the pattern should occur. | O | |
| recurrence_months | Integer | The number of months over which the pattern should occur. | O | |
| recurrence_period | Time Span | The time period over which the pattern should recur. | O |
Entity: RAM_Time_Pattern_Template_Item (Data)¶
A single period of time within a time pattern template.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_time_pattern_template_id | String(32) | The template this period belongs to. Foreign Key: RAM_Time_Pattern_Template | PK | M |
| sequence | Integer | The sequence of this item within the template. | PK | M |
| day_increment | Integer | The day offset at which this item starts. | O | |
| day_pattern | String(7) | Used to specify that certain days are not valid for the period. | O | |
| duration | Time Span | The duration of this period. | O | |
| month_increment | Integer | The month offset at which this item starts. | O | |
| move_rule | Integer | How to move the period if it falls on an invalid day. 0= nearest valid day, 1 = forwards, 2 = backwards, 3 = Ignore. | O | |
| time_increment | Time Span | The time offset at which this period starts. | O |
Entity: RAM_Tool_Type (Data)¶
A type of tool that can be used by a resource to carry out an activity.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Skill.id | PK | M |
| description | String(100) | A description of the tool. Mapping: Skill.description | O | |
| ram_skill_id | String(32) | A skill required in order to use the tool. Foreign Key: RAM_Skill | O |
Entity: RAM_Transfer_Rule_Template (Data)¶
A template for creating a transfer rule.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| description | String(2000) | Description of the transfer rule template. | O | |
| time_zone | String(32) | The time zone to use when applying the transfer rule. If not supplied the local server time zone will be used. | O |
Entity: RAM_Transfer_Rule_Tmp_Item (Data)¶
Defines a rule for transferring a part from a parent depot to a child depot. Specifies a day pattern and expiry time, which together provide a deadline for when the rule stops being applicable. Also specifies a delay until the part will be available, using available_delay_days and available_time_of_day. For example, a rule may be applicable on Fridays, expiring at 15:00, with 3 delays days and an available time of 9:00. Provided it is a Friday before 15:00, the rule can be used, with the part arriving at 9:00 on Monday (3 days later).
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| day_pattern | String(7) | Specifies the days of the week the rule applies to. | PK | M |
| delivery_level | String(32) | The delivery level this rule belongs to. Foreign Key: RAM_Transfer_Rule_Tmp_Level | PK | M |
| expiry_time_of_day | Time Span | Specifies the time of day at which the rule expires. | PK | M |
| ram_transfer_rule_template_id | String(32) | Unique id for the transfer template the rule belongs to. Foreign Key: RAM_Transfer_Rule_Tmp_Level | PK | M |
| available_delay_days | Integer | The number of days after the current day when the part will arrive at the child depot. | M | |
| available_time_of_day | Time Span | The time of day at which the part will arrive at the child depot. | M |
Entity: RAM_Transfer_Rule_Tmp_Level (Data)¶
A delivery level for the rules within a transfer template. Each level has a unit cost, and one rule is chosen from the level at a given time. For example, a level may define separate rules for each day of the week, with only the applicable rule chosen depending on the current time.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| delivery_level | String(32) | ID for the delivery level (unique within transfer template). | PK | M |
| ram_transfer_rule_template_id | String(32) | Unique id of the transfer rule template this level belongs to. Foreign Key: RAM_Transfer_Rule_Template | PK | M |
| unit_cost | Integer | The unit cost for transferring a part with the rules at this level. | M(0) |
Entity: RAM_Travel_Cost_Model (Data)¶
Defines a travel cost model to be used when scheduling a resource. See Scheduling Schema for details.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique identifier. | PK | M |
| cost_km | Double | The default cost to apply for each kilometre travelled. | M(0.25) | |
| description | String(2000) | A description for this travel cost model. | O | |
| max_journey_distance_km | Double | Specifies the maximum distance of any single journey. | O | |
| max_shift_travel_distance_km | Double | Specifies the maximum total distance travelled allowed in a shift. | O | |
| maximum_journey_time | Time Span | The maximum allowed length of any single journey. | O | |
| maximum_shift_travel_time | Time Span | The maximum total travel allowed in a shift. | O | |
| maximum_travel_home_time | Time Span | The maximum distance from home that a resource is allowed to travel to. | O | |
| travel_from_charge_proportion | Double | The proportion of the usual travel cost that should be applied during the 'travel from' period. | O | |
| travel_to_charge_proportion | Double | The proportion of the usual travel cost that should be applied during the 'travel to' period. | O |
Entity: RAM_Travel_Penalty (Data)¶
The travel penalties that relate to a particular travel cost model. See 'Travel Cost Model' in the Scheduling Schema for details.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_travel_cost_model_id | String(32) | The id of the travel cost model this penalty relates to. Foreign Key: RAM_Travel_Cost_Model | PK | M |
| ram_travel_penalty_type_id | String(32) | The type of the travel penalty Foreign Key: RAM_Travel_Penalty_Type Allowed Values: JOURNEY_TIME, SHIFT_TRAVEL_TIME, TRAVEL_HOME_TIME | PK | M |
| threshold_value | Time Span | The threshold time from which the penalty is applied. | PK | M |
| additional_cost_km | Double | The additional cost per km to apply once the threshold value is exceeded. | O | |
| additional_journey_time | Time Span | Specifies the additional journey time to apply once the threshold value is exceeded. | O | |
| penalty | Double | A one off penalty to apply for exceeding the threshold value. | O |
Entity: RAM_Travel_Penalty_Type (Lookup)¶
Lists the different types of travel penalty that can be applied.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| message_id | Integer | The id of the message describing this penalty type. | O |
Entity: RAM_Unavailability (Data)¶
A period, or periods, of time where the resource is unavailable for work.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. Mapping: Activity.id | PK | M |
| ram_resource_id | String(32) | The id of the resource this applies to. Foreign Key: RAM_Resource | M | |
| ram_time_pattern_id | String(32) | The periods of time for which the resource is unavailable. Foreign Key: RAM_Time_Pattern | M | |
| ram_unavailability_category_id | String(32) | The category of unavailability. Foreign Key: RAM_Unavailability_Category | M | |
| description | String(2000) | A description of the unavailability. Mapping: Activity.description | O | |
| group_id | String(32) | Used to apply the same unavailability to multiple resources. | O | |
| ram_location_id | String(32) | The location where the resource will be when unavailable. Foreign Key: RAM_Location Mapping: Activity.location_id | O |
Entity: RAM_Unavailability_Category (Data)¶
Defines various categories for why a resource may be unavailable, e.g. holiday, sickness.
Note
When converting modelling data to scheduling data, unavailability categories will be converted to activity types, provided there is not an existing activity type with the same id. As such we advise that unavailability categories are given distinct ids to activity types.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| interrupt | Boolean | Determines if an unavailability in this category is allowed to interrupt a splittable activity. | M(false) | |
| require_location | Boolean | If a location is required for unavailability periods in this category. | M | |
| colour | String(9) | The colour to use when displaying unavailability of this category | O | |
| description | String(2000) | A description of this category. | O | |
| duration_granularity | Time Span | The blocks of time that this unavailability can be taken in (e.g. 1/2 day for holidays) | O | |
| minimum_duration | Time Span | The minimum amount of time an unavailability in this category may last for. | O |
Entity: RAM_Update (System)¶
Notes all changes to the RAM database.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | Int64 | A unique id, which is automatically generated in the database. | PK | M |
| dataset_id | String(32) | The dataset the change applies to. | M | |
| is_master_data | Boolean | For internal use. External updates should use the default value of 'true'. | M(true) | |
| organisation_id | Integer | The organisation the change applies to. | M | |
| ram_update_type_id | String(32) | The type of update made. Foreign Key: RAM_Update_Type | M | |
| description | String(2000) | A short description of the input data. If the Archive database is being used, this description is also used for the Audit row's description. | O | |
| enacting_app_instance_id | String(128) | The id of the application instance that processed the request. | O | |
| enacting_app_type_id | String(32) | The type of application that processed the request. | O | |
| external_id | String(32) | An external id provided by the system submitting the data. | O | |
| requesting_app_instance_id | String(128) | The id of the application instance from which the request originated. | O | |
| requesting_app_type_id | String(32) | The type of application from which the request originated. | O | |
| source | String(50) | Used to show where data originates from. | O | |
| update_datetime | Date Time | The time of the update, which is automatically generated. | O | |
| user_id | String(256) | The id of the user making the change. | O |
Entity: RAM_Update_Type (Lookup)¶
Defines the various possible type of update: [LOAD, CHANGE, DELETE]
A LOAD update will delete all existing data for the dataset and replace it with the new input data.
A CHANGE update will update the existing data for the dataset. See the RAM_Data_Update enitity for details of how to delete rows and change individual column values.
A DELETE update will delete the entire dataset.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | The id of the update type | PK | M |
| message_id | Integer | A description of the update type. | M |
Entity: RAM_Usage_Calculation_Type (Lookup)¶
The available usage calculation types that can be used when combining usages of multiple types.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | The identifier for this usage calculation type. | PK | M |
| message_id | Integer | A message id for the description of this usage calculation type. | M |
Entity: RAM_Usage_Class (Data)¶
Defines a class of usage, along with a default usage rate for this class of usage.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | An identifier for this class of usage. Mapping: Usage_Class.id | PK | M |
| default_usage_per_day | Double | The default usage rate per day. Mapping: Usage_Class.default_usage_per_day | M | |
| usage_applies_during_visits | Boolean | Specifies whether usage is accrued while a visit to the activity is in progress. Mapping: Usage_Class.usage_applies_during_visits | M(true) | |
| usage_applies_outside_visits | Boolean | Specifies whether usage is accrued while there are no visits to the activity in progress. Mapping: Usage_Class.usage_applies_outside_visits | M(true) | |
| description | String(2000) | A description for this usage class. Mapping: Usage_Class.description | O |
Entity: RAM_Usage_Model (Data)¶
This is used to define expected rates of usage for different types of usage that might apply to an operation. See 'Usage_Model' in the Scheduling Schema for details.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | An identifier for the model. Mapping: Usage_Model.id | PK | M |
| ram_usage_calculation_type_id | String(32) | The identifier of the calculation method to use when determining usage across different types. Foreign Key: RAM_Usage_Calculation_Type Mapping: Usage_Model.usage_calculation_method | M(MAXIMUM) | |
| description | String(2000) | A description for the model. Mapping: Usage_Model.description | O |
Entity: RAM_Usage_Model_Item (Data)¶
Sets usage limits for the specified class of usage within a usage model.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_usage_class_id | String(32) | The identifier for the class of usage. Foreign Key: RAM_Usage_Class Mapping: Usage_Model_Item.usage_class_id | PK | M |
| ram_usage_model_id | String(32) | The identifier for the usage model this relates to. Foreign Key: RAM_Usage_Model Mapping: Usage_Model_Item.usage_model_id | PK | M |
| leeway_always_applies | Boolean | Determines whether the leeway still applies if the operation is carried out before the leeway window. Mapping: Usage_Model_Item.leeway_always_applies | M(true) | |
| leeway_usage | Double | Defines a 'fixed interval' window during which the operation can be performed and the next required time will not be brought forward. Mapping: Usage_Model_Item.leeway_usage | M(0) | |
| maximum_usage | Double | The maximum usage allowed for this type of usage. Mapping: Usage_Model_Item.maximum_usage | M |
Entity: RAM_Usage_Model_SLA (Data)¶
Together these form a usage SLA model which is used to determine the proportion of the operation base value that will be achieved in a given visit, based on the visit times.
See 'Usage Model SLA' in the Scheduling Schema for details.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_usage_model_id | String(32) | The identifier of the usage model this relates to. Foreign Key: RAM_Usage_Model Mapping: Usage_Model_SLA.usage_model_id | PK | M |
| start_usage_proportion | Double | The usage proportion from which this SLA type applies. Mapping: Usage_Model_SLA.start_usage_proportion | PK | M |
| end_usage_proportion | Double | The usage proportion from which this SLA type applies. Mapping: Usage_Model_SLA.end_usage_proportion | M | |
| ram_sla_type_id | String(32) | The identifier of the SLA Type to use. Foreign Key: RAM_SLA_Type Mapping: Usage_Model_SLA.sla_type_id | M |
Entity: RAM_Utilisation_Template (Data)¶
A pattern for applying utilisations to shifts.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id. | PK | M |
| description | String(2000) | A description for this template. | O |
Entity: RAM_Utilisation_Template_Item (Data)¶
Defines a utilisation to apply to a set of shifts.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| applicable_from | Integer | The shift number (counting the first shift in the schedule as shift 1) from which this utilisation applies. | PK | M |
| ram_utilisation_template_id | String(32) | The template this item belongs to. Foreign Key: RAM_Utilisation_Template | PK | M |
| utilisation | Double | The utilisation to use. | O |
Entity: RAM_Vehicle (Data)¶
Defines a vehicle which may be used by a resource during a shift.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id for the vehicle. Mapping: Vehicle.id | PK | M |
| co2_emission_rate | Double | Carbon dioxide emission rate of the vehicle per km Mapping: Vehicle.co2_emission_rate | O | |
| description | String(2000) | Provides description of the vehicle Mapping: Vehicle.description | O | |
| efficiency_rate | Double | Efficiency rate of the vehicle Mapping: Vehicle.efficiency_rate | O | |
| manufacture_date | Date Time | Manufacture date of the vehicle Mapping: Vehicle.manufacture_date | O | |
| maximum_range_km | Double | Distance in Km a vehicle can travel on a full tank or on a single charge Mapping: Vehicle.maximum_range_km | O | |
| n2o_emission_rate | Double | Nitrous Oxide emission rate of the vehicle per km Mapping: Vehicle.n2o_emission_rate | O | |
| ram_vehicle_model_id | String(32) | Model id of the vehicle Foreign Key: RAM_Vehicle_Model Mapping: Vehicle.vehicle_model_id | O | |
| registration_code | String(64) | Code where vehicle was registered Mapping: Vehicle.registration_code | O |
Entity: RAM_Vehicle_Capacity (Data)¶
This links a capacity to a vehicle. It is possible for a vehicle to have more than one capacity, representing for example different compartments within a van.
Note
If a resource has resource capacity and also a vehicle with vehicle capacity, then the resource capacity will be filled first, followed by the vehicle capacity.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_capacity_id | String(32) | Defines the id of the capacity linked to this vehicle. Foreign Key: RAM_Capacity Mapping: Vehicle_Capacity.capacity_id | PK | M |
| ram_vehicle_id | String(32) | Defines the id of the vehicle to which this capacity belongs. Foreign Key: RAM_Vehicle Mapping: Vehicle_Capacity.vehicle_id | PK | M |
Entity: RAM_Vehicle_Class (Data)¶
Defines a class assigned to each vehicle.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id for the vehicle class Mapping: Vehicle_Class.id | PK | M |
| description | String(2000) | Description of the class assigned to each vehicle Mapping: Vehicle_Class.description | O |
Entity: RAM_Vehicle_Model (Data)¶
Defines a details of a vehicle model.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id for the vehicle model Mapping: Vehicle_Model.id | PK | M |
| axel_count | Integer | Count of axels in the vehicle Mapping: Vehicle_Model.axel_count | O | |
| co2_emission_rate | Double | Carbon dioxide emission rate of the vehicle per km Mapping: Vehicle_Model.co2_emission_rate | O | |
| description | String(2000) | Provides description of the vehicle model Mapping: Vehicle_Model.description | O | |
| efficiency_rate | Double | Efficiency rate of the vehicle Mapping: Vehicle_Model.efficiency_rate | O | |
| height_metres | Double | Height of the vehicle in meters Mapping: Vehicle_Model.height_meters | O | |
| length_metres | Double | Length of the vehicle in meters Mapping: Vehicle_Model.length_meters | O | |
| make | String(100) | Defines the brand of the vehicle Mapping: Vehicle_Model.make | O | |
| maximum_range_km | Double | Distance in Km a vehicle can travel on a full tank or on a single charge Mapping: Vehicle_Model.maximum_range_km | O | |
| model | String(100) | Defines the model of the vehicle Mapping: Vehicle_Model.model | O | |
| n2o_emission_rate | Double | Nitrous Oxide emission rate of the vehicle per km Mapping: Vehicle_Model.n2o_emission_rate | O | |
| ram_fuel_type_id | String(32) | Type of fuel used by the vehicle Foreign Key: RAM_Fuel_Type Mapping: Vehicle_Model.fuel_type_id | O | |
| ram_vehicle_class_id | String(32) | Defines category of the vehicle Foreign Key: RAM_Vehicle_Class Mapping: Vehicle_Model.vehicle_class_id | O | |
| ram_vehicle_ownership_type_id | String(32) | Type of vehicle ownership Foreign Key: RAM_Vehicle_Ownership_Type Mapping: Vehicle_Model.vehicle_ownership_type_id | O | |
| weight_kg | Double | Weight of the vehicle in kgs Mapping: Vehicle_Model.weight_kg | O | |
| wheel_count | Integer | Count of wheels in the vehicle Mapping: Vehicle_Model.wheel_count | O | |
| width_metres | Double | Width of the vehicle in meters Mapping: Vehicle_Model.width_meters | O |
Entity: RAM_Vehicle_Model_Capacity (Data)¶
This links a capacity to a vehicle model, which will be used by default for all vehicles of this model. It is possible for a vehicle model to have more than one capacity, representing for example different compartments within a van.
Note
If a vehicle has capacity defined directly against the vehicle, then any vehicle model capacity will be ignored.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_capacity_id | String(32) | Defines the id of the capacity linked to this vehicle model. Foreign Key: RAM_Capacity Mapping: Vehicle_Model_Capacity.capacity_id | PK | M |
| ram_vehicle_model_id | String(32) | Defines the id of the vehicle model to which this capacity is associated. Foreign Key: RAM_Vehicle_Model Mapping: Vehicle_Model_Capacity.vehicle_model_id | PK | M |
Entity: RAM_Vehicle_Model_Part_Usage (Data)¶
This specifies a part that will be used by a vehicle of this model while travelling. For example, this may represent battery usage in an electric vehicle. It is possible for a vehicle to use multiple parts.
Note
All parts should be vehicle parts, signified by the is_vehicle_part attribute on the Part row.
Note
A vehicle will use any parts specified against either the vehicle model or directly against the vehicle. Where the same part is specified for both, the usage_per_km will be taken from the Vehicle_Part_Usage.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_part_id | String(32) | The id of the part used by the vehicle. Foreign Key: RAM_Part Mapping: Vehicle_Model_Part_Usage.part_id | PK | M |
| ram_vehicle_model_id | String(32) | The id of the vehicle model using the part. Foreign Key: RAM_Vehicle_Model Mapping: Vehicle_Model_Part_Usage.vehicle_id | PK | M |
| usage_per_km | Double | Sets the usage per kilometre of this part by this vehicle when travelling. Mapping: Vehicle_Model_Part_Usage.usage_per_km | M |
Entity: RAM_Vehicle_Ownership_Type (Data)¶
Defines ownership type of the vehicle.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| id | String(32) | A unique id for the vehicle ownership type Mapping: Vehicle_Ownership_Type.id | PK | M |
| description | String(2000) | Description of ownership type of the vehicle Mapping: Vehicle_Ownership_Type.description | O |
Entity: RAM_Vehicle_Part_Usage (Data)¶
This specifies a part that will be used by a vehicle while travelling. For example, this may represent battery usage in an electric vehicle. It is possible for a vehicle to use multiple parts.
Note
All parts should be vehicle parts, signified by the is_vehicle_part attribute on the Part row.
Note
When calculating the part usage for a journey, the system will multiply the distance in km by the usage_per_km, and then round this up to the nearest whole number.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| ram_part_id | String(32) | The id of the part used by the vehicle. Foreign Key: RAM_Part Mapping: Vehicle_Part_Usage.part_id | PK | M |
| ram_vehicle_id | String(32) | The id of the vehicle using the part. Foreign Key: RAM_Vehicle Mapping: Vehicle_Part_Usage.vehicle_id | PK | M |
| usage_per_km | Double | Sets the usage per kilometre of this part by this vehicle when travelling. Mapping: Vehicle_Part_Usage.usage_per_km | M |
Entity: RAM_Version_History (System)¶
Software version history.
| Attribute Name | Data Type | Description | PK | M/O |
|---|---|---|---|---|
| version_id | String(32) | Version of the software. | PK | M |
| version_stamp | Date Time | System date of change. | PK | M |
| version_type | String(32) | Create or upgrade. | PK | M |
| version_user | String(128) | System user. | M |