1use strict;
2use warnings;
3
4our @ScripConditions = (
5    {  Name        => 'Require Starts set according to SLA', # loc
6       Description => 'Detect a situation when we should set Starts date' , # loc
7       ApplicableTransTypes => 'Create,Set',
8       ExecModule => 'SLA_RequireStartsSet',
9    },
10    {  Name        => 'Require Due set according to SLA', # loc
11       Description => 'Detect a situation when we should set Due date' , # loc
12       ApplicableTransTypes => 'Create,Correspond,Set,Status',
13       ExecModule => 'SLA_RequireDueSet',
14    },
15);
16
17our @ScripActions = (
18    {  Name        => 'Set starts date according to SLA', # loc
19       Description => 'Set the starts date according to an agreement' , # loc
20       ExecModule  => 'SLA_SetStarts',
21    },
22    {  Name        => 'Set due date according to SLA', # loc
23       Description => 'Set the due date according to an agreement' , # loc
24       ExecModule  => 'SLA_SetDue',
25    },
26);
27
28our @Scrips = (
29    {  Description       => "Set starts date if needed according to SLA",
30       ScripCondition    => 'Require starts set according to SLA',
31       ScripAction       => 'Set starts date according to SLA',
32       Template          => 'Blank' },
33    {  Description       => "Set due date if needed according to SLA",
34       ScripCondition    => 'Require due set according to SLA',
35       ScripAction       => 'Set due date according to SLA',
36       Template          => 'Blank' },
37);
38