Quintiq file version 2.0 
 | 
#parent: MatrixEditorSupplyPlanning 
 | 
Response OnCheckEditability ( 
 | 
  shadow[PlanningCell] cell, 
 | 
  Real value 
 | 
) id:Response_MatrixEditorSupplyPlanning_OnCheckEditability 
 | 
{ 
 | 
  #keys: '[137862.1.408040897]' 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID: 'Responsedef_WebMatrixEditor_OnCheckEditability' 
 | 
  QuillAction 
 | 
  { 
 | 
    Body: 
 | 
    [* 
 | 
      // Precon to prevent edit on non-planning PISPIPs 
 | 
      canedit := not isnull( cell.ProductInStockingPointInPeriodPlanning() ); 
 | 
       
 | 
      editinfo.CanEdit( canedit ); 
 | 
      editinfo.UserHint( Translations::MP_MacroPlan_ActionOnlyAllowedOnPlanningPeriod() ); 
 | 
    *] 
 | 
    GroupServerCalls: false 
 | 
  } 
 | 
} 
 |