| Quintiq file version 2.0 | 
| #parent: #root | 
| Method VerificationData ( | 
|   GlobalOTDTable globalOTDTable | 
| ) | 
| { | 
|   TextBody: | 
|   [* | 
|     info( "策略个数:", globalOTDTable.MatAttrSettingAndPlanStrategy( relsize ) ); | 
|     traverse ( globalOTDTable, MatAttrSettingAndPlanStrategy, masaps ) { | 
|       if ( masaps.PlanningStrategyCustom() <> "安全库存" and masaps.PlanningStrategyCustom() <> "JIT" and masaps.PlanningStrategyCustom() <> "M/A" and | 
|            masaps.PlanningStrategyCustom() <> "PO拉料" and masaps.PlanningStrategyCustom() <> "VMI" ) { | 
|         error( "手动设置策略错误:", masaps.MatCode() );      | 
|       } | 
|        | 
|       if ( ( masaps.PlanningStrategyAuto() <> ""   and masaps.PlanningStrategyAuto() = "JIT" )  or  | 
|            ( masaps.PlanningStrategyCustom() <> "" and masaps.PlanningStrategyCustom() = "JIT" )  | 
|           ) { | 
|         if ( masaps.MinimumNumberOfDaysInStock() > 0 or masaps.MaximumNumberOfDaysInInventory() > 0 ) { | 
|           error( "JIT策略存在最小和最大库存天数:", masaps.MatCode() ); | 
|         } | 
|       } | 
|     } | 
|   *] | 
| } |