| 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
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method OnOK () id:Method_DialogEditSanityCheckGroup_OnOK |  | { |  |   #keys: '[137862.0.662947537]' |  |   Body: |  |   [* |  |     // OnOk |  |     // Disabled button to prevent the possibility of multiple firing |  |     btnOk.Enabled( false, '' ) |  |      |  |     this.ApplyChanges(); |  |      |  |     isbatchedit := DataHolderSelections.Data().Size() > 1; |  |     if( isbatchedit ) |  |     { |  |       SanityCheckGroup::Update( DataHolderSelections.Data(), DataHolderDialogData.Data().View() ); |  |     } |  |     else |  |     { |  |       DataHolderDialogData.Data().Commit(); |  |     } |  |     this.Close(); |  |   *] |  | } | 
 |