| 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
 | | Quintiq file version 2.0 |  | #root |  | #parent: #DomainModel |  | Type ScenarioActivity |  | { |  |   #keys: '5[110880.3.2086890926][110880.3.2086890924][0.0.0][110880.3.2086890925][110880.3.2086890927]' |  |   BaseType: Object |  |   Description: |  |   [* |  |     MP |  |     Activities of scenario |  |   *] |  |   OnCommit: |  |   [* |  |     //Assign the appropriate values to CreatedBy and CreatedOn if the assumption is new, and assign the appropriate values to ChangedBy and ChangedOn if the assumption is edited |  |     username := GlobalParameters_MP::GetUserName(); |  |     time := DateTime::Now(); |  |      |  |     if( isnew ) |  |     { |  |       this.CreatedBy( username ); |  |       this.CreatedOn( time ); |  |     } |  |     else |  |     { |  |       this.ChangedBy( username ); |  |       this.ChangedOn( time ); |  |     } |  |   *] |  |   StructuredName: 'ScenarioActivitys' |  | } | 
 |