Quintiq file version 2.0 
 | 
#parent: GanttChartDemandSupplyGroup 
 | 
Response OnClick ( 
 | 
  structured[ProductInStockingPoint_MP] row 
 | 
) id:Response_GanttChartDemandSupplyGroup_MenuToggleIsNegativeInventoryAllowed_OnClick 
 | 
{ 
 | 
  #keys: '[124808.2.617253756]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Toggle IsNegativeInventoryAllowed user setting on PISP 
 | 
     
 | 
    PISPSpecification::ToggleIsNegativeInventoryAllowed( row ); 
 | 
  *] 
 | 
  CanBindMultiple: false 
 | 
  DefinitionID => /GanttChartDemandSupplyGroup/Responsedef_GanttChartDemandSupplyGroup_Menu_OnClick 
 | 
  Initiator: 'MenuToggleIsNegativeInventoryAllowed' 
 | 
  Precondition: 
 | 
  [* 
 | 
    MenuToggleIsNegativeInventoryAllowed.Checked( row.Element( 0 ).IsNegativeInventoryAllowed() ); 
 | 
     
 | 
    return true; 
 | 
  *] 
 | 
} 
 |