[Bps-public-commit] r9436 - RT-Extension-SLA/etc

ruz at bestpractical.com ruz at bestpractical.com
Wed Oct 24 17:16:38 EDT 2007


Author: ruz
Date: Wed Oct 24 17:16:38 2007
New Revision: 9436

Modified:
   RT-Extension-SLA/etc/initialdata

Log:
* update initial data

Modified: RT-Extension-SLA/etc/initialdata
==============================================================================
--- RT-Extension-SLA/etc/initialdata	(original)
+++ RT-Extension-SLA/etc/initialdata	Wed Oct 24 17:16:38 2007
@@ -5,11 +5,7 @@
         Type        => 'SelectSingle',
         Disabled    => 0,
         Description => 'Service Level Agreement',
-        Values      => [
-            { Name => 'Full service',               SortOrder => 1 },
-            { Name => 'Full service: out of hours', SortOrder => 2 },
-            { Name => 'Reduced service',            SortOrder => 3 },
-        ],
+        Values      => [ ],
     },
 );
 
@@ -21,9 +17,14 @@
     },
     {  Name        => '[SLA] Require Starts set', # loc
        Description => 'Detect a situation when we should set Starts date' , # loc
-       ApplicableTransTypes => 'Create',
+       ApplicableTransTypes => 'Create,CustomField',
        ExecModule => 'SLA_RequireStartsSet',
     },
+    {  Name        => '[SLA] Require Due set', # loc
+       Description => 'Detect a situation when we should set Due date' , # loc
+       ApplicableTransTypes => 'Create,CustomField',
+       ExecModule => 'SLA_RequireDueSet',
+    },
 );
 
 @ScripActions = (
@@ -35,6 +36,10 @@
        Description => 'Set the starts date according to an agreement' , # loc
        ExecModule  => 'SLA_SetStarts',
     },
+    {  Name        => '[SLA] Set due date', # loc
+       Description => 'Set the due date according to an agreement' , # loc
+       ExecModule  => 'SLA_SetDue',
+    },
 );
 
 @Scrips = (
@@ -46,5 +51,9 @@
        ScripCondition    => '[SLA] Require starts set',
        ScripAction       => '[SLA] Set starts date',
        Template          => 'Blank' },
+    {  Description       => "[SLA] Set due date if needed",
+       ScripCondition    => '[SLA] Require due set',
+       ScripAction       => '[SLA] Set due date',
+       Template          => 'Blank' },
 );
 



More information about the Bps-public-commit mailing list