| Quintiq file version 2.0 | 
| #parent: MatrixEditorStockingPointsCapacities | 
| Response OnCheckEditability ( | 
|   StockingPointInPeriod cell, | 
|   Real value | 
| ) id:Response_MatrixEditorStockingPointsCapacities_OnCheckEditability | 
| { | 
|   #keys: '[139394.1.785461832]' | 
|   CanBindMultiple: false | 
|   DefinitionID: 'Responsedef_WebMatrixEditor_OnCheckEditability' | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       // Precon to prevent edit on non-planning periods | 
|       feedback := ''; | 
|       spinperiods := construct( StockingPointInPeriods ); | 
|       spinperiods := spinperiods.Merge( cell ); | 
|       canedit := StockingPointInPeriod::CanEdit( spinperiods, feedback ); | 
|       editinfo.MinValue( 0.0 ); | 
|       editinfo.CanEdit( canedit ); | 
|       editinfo.UserHint( feedback ); | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |