| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
 | | Quintiq file version 2.0 |  | #parent: MatrixEditorTransitionMatrix |  | Response OnUpdateValue ( |  |   TransitionType_MP cell, |  |   Duration value |  | ) id:Response_MatrixEditorTransitionMatrix_OnUpdateValue |  | { |  |   #keys: '[143600.0.1309781835]' |  |   CanBindMultiple: false |  |   DefinitionID: 'Responsedef_WebMatrixEditor_OnUpdateValue' |  |   GroupServerCalls: true |  |   QuillAction |  |   { |  |     Body: |  |     [* |  |       // Cell update |  |       feedback := ""; |  |       sanityfb := ""; |  |       isvalidinput := TransitionType_MP::ValidateInput( feedback, |  |                                                         sanityfb, |  |                                                         cell.Unit(), |  |                                                         cell.FromCampaignType(), |  |                                                         cell.ToCampaignType(), |  |                                                         0.0, 0.0, |  |                                                         value, // Pass cell value as min max as it will be checked below  |  |                                                         cell.DefaultMaxDuration(), // and show message box if violated min max |  |                                                         cell, |  |                                                         false, /*check unique*/ |  |                                                         GlobalParameters_MP::GetCampaignTransitionsTypeDuration(), |  |                                                         false, |  |                                                         cell.HasInputMaxDuration() /*default max duration will be defined*/ ); |  |       if( isvalidinput ) |  |       {  |  |         cell.Update( cell.Unit(), |  |                      0.0, 0.0, |  |                      value, |  |                      cell.DefaultMaxDuration(), |  |                      cell.FromCampaignType(), |  |                      cell.ToCampaignType(), |  |                      GlobalParameters_MP::GetCampaignTransitionsTypeDuration(), |  |                      false, |  |                      cell.HasInputMaxDuration(), // Default max duration will be defined |  |                      false ); |  |       } |  |       else |  |       { |  |         WebMessageBox::Warning( this, feedback, Translations::MessageBox_OK() ); |  |       } |  |     *] |  |   } |  | } | 
 |