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
| Quintiq file version 2.0
| #parent: MatrixEditor951
| Response OnUpdateValue (
| OfflinePlanRow row,
| OfflinePlanColumn column,
| OfflinePlanCell cell,
| String value,
| String oldvalue
| ) id:Response_MatrixEditor951_OnUpdateValue
| {
| #keys: '[413988.0.1362713696]'
| CanBindMultiple: false
| DefinitionID: 'Responsedef_WebMatrixEditor_OnUpdateValue'
| Precondition:
| [*
| return not isnull( MacroPlan );
| *]
| QuillAction
| {
| Body:
| [*
| if ( row.Type() = "1" and column.ColumnDate() >= MacroPlan.StartOfPlanning().Date() ) {
| cell.IsQuantityChange( true );
| cell.Value( value );
| cell.Quantity( [Real]value );
| }
| *]
| GroupServerCalls: false
| }
| }
|
|