Quintiq file version 2.0
#parent: pnlGeneral/ddslMaterialPlanningPolicyChanges
Response OnCreated () id:Response_pnlGeneral_ddslMaterialPlanningPolicyChanges_OnCreated
{
  #keys: '[414702.0.199501073]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnCreated'
  QuillAction
  {
    Body:
    [*
      data := DataHolderDialogData.Data();
      if ( data.PlanningStrategyCustom() <> "" and data.PlanningStrategyCustom() = "JIT" ) {
        efTheMinimumNumberOfDaysForAnItemToBeInventoried.Visible( false );
        efTheMaximumNumberOfDaysThatTheItemIsInStock.Visible( false );
      } else if ( data.PlanningStrategyAuto() <> "" and data.PlanningStrategyAuto() = "JIT" ) {
        efTheMinimumNumberOfDaysForAnItemToBeInventoried.Visible( false );
        efTheMaximumNumberOfDaysThatTheItemIsInStock.Visible( false );
      } else {
        efTheMinimumNumberOfDaysForAnItemToBeInventoried.Visible( true );
        efTheMaximumNumberOfDaysThatTheItemIsInStock.Visible( true );
      }
    *]
    GroupServerCalls: false
  }
}
