Quintiq file version 2.0
#parent: MatrixEditorTransportCapacities
Response OnCheckEditability (
  UnitPeriodTransportQuantity cell,
  String value
) id:Response_MatrixEditorTransportCapacities_OnCheckEditability_318
{
  #keys: '[139394.1.374148484]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMatrixEditor_OnCheckEditability'
  QuillAction
  {
    Body:
    [*
      // Precon to prevent edit on non-planning periods
      feedback := '';
      unitperiods := construct( UnitPeriods );
      unitperiods.Add( cell );
      canedit := UnitPeriod::CanEdit( unitperiods, feedback )
                 and cell.CanEditAttribute( feedback, focusedattribute );
      editinfo.CanEdit( canedit );
      editinfo.UserHint( feedback );
    *]
    GroupServerCalls: false
  }
}
