Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[414702.0.131771253]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      Form.ApplyChanges();
      
      data := DataHolderDialogData.Data();
      if ( data.PlanningStrategyCustom() = "JIT" ) {
        data.MinimumNumberOfDaysInStock( 0 );
        data.MaximumNumberOfDaysInInventory( 0 );
      }
      
      Form.Close();
    *]
    GroupServerCalls: false
  }
}
