| Quintiq file version 2.0 | 
| #parent: #root | 
| StaticMethod CreateSanityCheckGroups ( | 
|   MacroPlan macroplan | 
| ) | 
| { | 
|   Description: 'Create sanity check group for all the object types that uses the sanity check' | 
|   TextBody: | 
|   [* | 
|     // desmondt Oct-3-2014 (created) | 
|     // Extend sanity check here | 
|     /* ------ Reminder ----- | 
|     DT: When new sanity check added, these following methods needs to be updated. | 
|     SanityCheckGroupData:: | 
|     1. CalcKPI | 
|     2. DoSanityCheck | 
|     3. CreateSanityCheckGroups | 
|     4. Update SanityCheckMessage.CalcIsValid | 
|     */ | 
|      | 
|     // Account | 
|     SanityCheckGroupData::Create( macroplan, Account_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetAccountView(), SanityCheckGroup::GetWebAccountView() ); | 
|      | 
|     // ActualsUnitPeriod | 
|     SanityCheckGroupData::Create( macroplan, ActualUnitPeriod::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetCapacitiesAndUtilizationView(), SanityCheckGroup::GetWebSupplyChainPlanningView() ); | 
|      | 
|     // ActualsPISPIP | 
|     SanityCheckGroupData::Create( macroplan, ActualProductInStockingPointInPeriod::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetEndingInventoriesView(), SanityCheckGroup::GetWebActualInventoryView() ); | 
|      | 
|     // Campaign_MP | 
|     SanityCheckGroupData::Create( macroplan, Campaign_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetCampaignPlanningView(), SanityCheckGroup::GetWebCampaignPlanningView() ); | 
|      | 
|     // CampaignType_MP | 
|     SanityCheckGroupData::Create( macroplan, CampaignType_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetCampaignTypesView(), SanityCheckGroup::GetWebCampaignTypeAndTransitionTypeView() ); | 
|      | 
|     // Campaign TransitionType_MP | 
|     SanityCheckGroupData::Create( macroplan, TransitionType_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetCampaignTypesView(), SanityCheckGroup::GetWebCampaignTypeAndTransitionTypeView() ); | 
|      | 
|     // ConversionFactor | 
|     SanityCheckGroupData::Create( macroplan, ConversionFactor::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitsOfMeasurementView(), SanityCheckGroup::GetWebUnitOfMeasurementsView() ); | 
|      | 
|     // Currency_MP | 
|     SanityCheckGroupData::Create( macroplan, Currency_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetCurrenciesView(), SanityCheckGroup::GetWebCurrencyView() ); | 
|      | 
|     // CurrencyRate_MP | 
|     SanityCheckGroupData::Create( macroplan, CurrencyRate_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetCurrenciesView(), SanityCheckGroup::GetWebCurrencyView() ); | 
|      | 
|     // Demand | 
|     SanityCheckGroupData::Create( macroplan, Demand_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetPeggingView(), SanityCheckGroup::GetWebPeggingView() ); | 
|      | 
|     // DependentDemand | 
|     SanityCheckGroupData::Create( macroplan, DependentDemand::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSupplyChainPlanningView(), SanityCheckGroup::GetWebSupplyChainPlanningView() ); | 
|      | 
|     // Fulfillment | 
|     SanityCheckGroupData::Create( macroplan, Fulfillment::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetPeggingView(), SanityCheckGroup::GetWebPeggingView() ); | 
|      | 
|     // FulfillmentRestriction | 
|     SanityCheckGroupData::Create( macroplan, FulfillmentRestriction::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetFulfillmentRestrictionsView(), SanityCheckGroup::GetWebFulfillmentRestrictionView() ); | 
|      | 
|     // FeedbackPeriodTaskOperation | 
|     SanityCheckGroupData::Create( macroplan, FeedbackPeriodTaskOperation::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSupplyChainPlanningView(), SanityCheckGroup::GetWebFeedbacksView() ); | 
|      | 
|     // FeedbackProductInTrip | 
|     SanityCheckGroupData::Create( macroplan, FeedbackProductInTrip::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSupplyChainPlanningView(), SanityCheckGroup::GetWebFeedbacksView() ); | 
|      | 
|     // GlobalParameters_MP , need not set for webclient | 
|     SanityCheckGroupData::Create( macroplan, GlobalParameters_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetEmptyView() ); | 
|      | 
|     // Group, not supported in webclient yet | 
|     SanityCheckGroupData::Create( macroplan, Group::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetGroupsView() ); | 
|      | 
|     // Ingredient | 
|     SanityCheckGroupData::Create( macroplan, Ingredient::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRecipesView(), SanityCheckGroup::GetWebRecipesView() ); | 
|      | 
|     // InventoryValueAndHoldingCost | 
|     SanityCheckGroupData::Create( macroplan, InventoryValueAndCost::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetInventoryValueView(), SanityCheckGroup::GetWebInventoryValueView() ); | 
|      | 
|     // InventorySpecification | 
|     SanityCheckGroupData::Create( macroplan, InventorySpecification::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetInventoryTargetsView(), SanityCheckGroup::GetWebInventoryTargetView() ); | 
|      | 
|     // InventorySupply | 
|     SanityCheckGroupData::Create( macroplan, InventorySupply::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetInventorySuppliesView(), SanityCheckGroup::GetWebInventorySuppliesView() ); | 
|      | 
|     // InventorySupplyCost | 
|     SanityCheckGroupData::Create( macroplan, InventorySupplyCost::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetInventorySuppliesView(), SanityCheckGroup::GetWebInventorySupplyCostView() ); | 
|      | 
|     // Lane | 
|     SanityCheckGroupData::Create( macroplan, Lane::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetLaneView(), SanityCheckGroup::GetWebLanesView() ); | 
|      | 
|     // LaneCost | 
|     SanityCheckGroupData::Create( macroplan, LaneCost::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetLaneView(), SanityCheckGroup::GetWebTransportationCostView() ); | 
|      | 
|     // LaneLeg | 
|     SanityCheckGroupData::Create( macroplan, LaneLeg::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetLaneView(), SanityCheckGroup::GetWebLanesView() ); | 
|      | 
|     // LaneLegCost | 
|     SanityCheckGroupData::Create( macroplan, LaneLegCost::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetLaneView(), SanityCheckGroup::GetWebTransportationCostView() ); | 
|      | 
|     // MacroPlan | 
|     SanityCheckGroupData::Create( macroplan, macroplan.DefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetEmptyView() ); | 
|      | 
|     // Operation | 
|     SanityCheckGroupData::Create( macroplan, Operation::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRoutingsView(), SanityCheckGroup::GetWebRoutingsView() ); | 
|      | 
|     // Operation Link | 
|     SanityCheckGroupData::Create( macroplan, OperationLink::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRoutingsView(), SanityCheckGroup::GetWebRoutingsView() ); | 
|      | 
|     // OperationCost | 
|     SanityCheckGroupData::Create( macroplan, OperationCost::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRoutingsView(), SanityCheckGroup::GetWebOperationCostView() ); | 
|      | 
|     // OperationInCampaignType | 
|     SanityCheckGroupData::Create( macroplan, OperationInCampaignType::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetCampaignTypesView(), SanityCheckGroup::GetWebCampaignTypeAndTransitionTypeView() ); | 
|      | 
|     // OperationInput | 
|     SanityCheckGroupData::Create( macroplan, OperationInput::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRoutingsView(), SanityCheckGroup::GetWebRoutingsView() ); | 
|      | 
|     // OperationInputGroup | 
|     SanityCheckGroupData::Create( macroplan, OperationInputGroup::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRoutingsView(), SanityCheckGroup::GetWebRoutingsView() ); | 
|      | 
|     // OperationInputSet | 
|     SanityCheckGroupData::Create( macroplan, OperationInputSet::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRoutingsView(),SanityCheckGroup::GetWebRoutingsView() ); | 
|      | 
|     // OperationOutput | 
|     SanityCheckGroupData::Create( macroplan, OperationOutput::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRoutingsView(),SanityCheckGroup::GetWebRoutingsView() ); | 
|      | 
|      | 
|     // PeriodDefinition_MP | 
|     SanityCheckGroupData::Create( macroplan, PeriodSpecification_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetPeriodsView(), SanityCheckGroup::GetWebPeriodsView() ); | 
|      | 
|     // PeriodParameter_MP | 
|      | 
|      | 
|     // PeriodTaskLaneLeg | 
|     SanityCheckGroupData::Create( macroplan, PeriodTaskLaneLeg::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSupplyChainPlanningView(), SanityCheckGroup::GetWebSupplyChainPlanningView() ); | 
|      | 
|     // PeriodTaskOperation | 
|     SanityCheckGroupData::Create( macroplan, PeriodTaskOperation::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSupplyChainPlanningView(), SanityCheckGroup::GetWebSupplyChainPlanningView() ); | 
|      | 
|     // PISPAccount | 
|     SanityCheckGroupData::Create( macroplan, PISPAccount::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetProductsView(), SanityCheckGroup::GetWebInventoryValueView() ); | 
|      | 
|     // PISPSpecification | 
|     SanityCheckGroupData::Create( macroplan, PISPSpecification::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetProductsView(), SanityCheckGroup::GetWebProductsView() ); | 
|      | 
|     // PostponedSalesDemandCost | 
|     SanityCheckGroupData::Create( macroplan, PostponedSalesDemandCost::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetPostponedSalesDemandCostView(), SanityCheckGroup::GetWebPostponementSpecificationView() ); | 
|      | 
|     // PostponementSpecification | 
|     SanityCheckGroupData::Create( macroplan, PostponementSpecification::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSalesDemandView(), SanityCheckGroup::GetWebPostponementSpecificationView() ); | 
|      | 
|     // Priority | 
|     SanityCheckGroupData::Create( macroplan, Priority::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetPrioritiesView(), SanityCheckGroup::GetWebPrioritiesView() ); | 
|      | 
|     // Product_MP | 
|     SanityCheckGroupData::Create( macroplan, Product_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetProductsView(), SanityCheckGroup::GetWebProductsView() ); | 
|      | 
|     // ProductValueAndCost - not supported in web | 
|     SanityCheckGroupData::Create( macroplan, ProductValueAndCost::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetProductsView() ); | 
|      | 
|     // ProductInLane | 
|     SanityCheckGroupData::Create( macroplan, ProductInLane::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetLaneView(), SanityCheckGroup::GetWebLanesView() ); | 
|      | 
|     // ProductInStockingPoint_MP | 
|     SanityCheckGroupData::Create( macroplan, ProductInStockingPoint_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetProductsView(), SanityCheckGroup::GetWebProductsView() ); | 
|      | 
|     // ProductInStockingPointInPeriod | 
|     SanityCheckGroupData::Create( macroplan, ProductInStockingPointInPeriod::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetPeggingView(), SanityCheckGroup::GetWebPeggingView() ); | 
|      | 
|     // ProductInTrip | 
|     SanityCheckGroupData::Create( macroplan, ProductInTrip::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Planning(), SanityCheckGroup::GetSupplyChainPlanningView(), SanityCheckGroup::GetWebSupplyChainPlanningView() ); | 
|      | 
|     // ProductLevel_MP | 
|     SanityCheckGroupData::Create( macroplan, ProductLevel_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetProductsView(), SanityCheckGroup::GetWebProductsView() ); | 
|      | 
|     // Recipe | 
|     SanityCheckGroupData::Create( macroplan, Recipe::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRecipesView(), SanityCheckGroup::GetWebRecipesView() ); | 
|      | 
|     // RecipeIngredient | 
|     SanityCheckGroupData::Create( macroplan, RecipeIngredient::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRecipesView(), SanityCheckGroup::GetWebRecipesView() ); | 
|      | 
|      | 
|     // RecipeWithEffectiveDateInProduct | 
|     SanityCheckGroupData::Create( macroplan, RecipeWithEffectiveDate::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRecipesView(), SanityCheckGroup::GetWebRecipesView() ); | 
|      | 
|     // Routing | 
|     SanityCheckGroupData::Create( macroplan, Routing::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRoutingsView(), SanityCheckGroup::GetWebRoutingsView() ); | 
|      | 
|     // Routing step | 
|     SanityCheckGroupData::Create( macroplan, RoutingStep::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRoutingsView(), SanityCheckGroup::GetWebRoutingsView() ); | 
|      | 
|     // Safety stocks | 
|     SanityCheckGroupData::Create( macroplan, SafetyStock::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetInventoryTargetsView(), SanityCheckGroup::GetWebSafetyStocksView() ); | 
|      | 
|     // Forecast | 
|     SanityCheckGroupData::Create( macroplan, Forecast::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetWebForecastView(), SanityCheckGroup::GetWebForecastView() ); | 
|      | 
|     // Customer order | 
|     SanityCheckGroupData::Create( macroplan, CustomerOrder::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetCustomerOrderView(), SanityCheckGroup::GetWebCustomerOrderView() ); | 
|      | 
|     // SalesLevel_MP | 
|     SanityCheckGroupData::Create( macroplan, SalesLevel_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSalesHierarchyView(), SanityCheckGroup::GetWebSalesSegmentView() ); | 
|      | 
|     // SalesSegment_MP | 
|     SanityCheckGroupData::Create( macroplan, SalesSegment_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSalesHierarchyView(), SanityCheckGroup::GetWebSalesSegmentView() ); | 
|      | 
|     // ShiftDay | 
|     SanityCheckGroupData::Create( macroplan, ShiftDay::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitCapacitiesView(), SanityCheckGroup::GetWebUnitTimeCapacitiesView() ); | 
|      | 
|     // ShiftPattern | 
|     SanityCheckGroupData::Create( macroplan, ShiftPattern::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitCapacitiesView(), SanityCheckGroup::GetWebUnitTimeCapacitiesView() ); | 
|      | 
|     // StockingPoint_MP | 
|     SanityCheckGroupData::Create( macroplan, StockingPoint_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetStockingPointsView(), SanityCheckGroup::GetWebEntitiesView() ); | 
|      | 
|     // StockingPointInLane | 
|     SanityCheckGroupData::Create( macroplan, StockingPointInLane::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetLaneView(), SanityCheckGroup::GetWebLanesView() ); | 
|      | 
|     // StockingPointAccount | 
|     SanityCheckGroupData::Create( macroplan, StockingPointAccount::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetStockingPointsView(), SanityCheckGroup::GetWebStockingPointCostsView() ); | 
|      | 
|     // StockingPointCapacity | 
|     SanityCheckGroupData::Create( macroplan, StockingPointCapacity::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetStockingPointCapacitiesView(), SanityCheckGroup::GetWebStockingPointCapacitiesView() ); | 
|      | 
|     // StockingPointCost | 
|     SanityCheckGroupData::Create( macroplan, StockingPointCost::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetStockingPointsView(), SanityCheckGroup::GetWebStockingPointCostsView() ); | 
|      | 
|     // StockingPointInPeriod | 
|     SanityCheckGroupData::Create( macroplan, StockingPointInPeriod::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSupplyChainPlanningView() ); | 
|      | 
|     // StockingPointUnit | 
|     SanityCheckGroupData::Create( macroplan, StockingPointUnit::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetRoutingsView(), SanityCheckGroup::GetWebRoutingsView() ); | 
|      | 
|     //SubsetOptmizerpuzzle | 
|     SanityCheckGroupData::Create( macroplan, SubsetInOptimizerPuzzle::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), "", "" ); | 
|      | 
|     // SupplyTarget | 
|     SanityCheckGroupData::Create( macroplan, SupplySpecification::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitCapacitiesView(), SanityCheckGroup::GetWebSupplyTargetsView() ); | 
|      | 
|     // service level | 
|     SanityCheckGroupData::Create( macroplan, ServiceLevel::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSalesHierarchyView(), SanityCheckGroup::GetWebServiceLevelsView() ); | 
|      | 
|     // FulfillmentTarget | 
|     SanityCheckGroupData::Create( macroplan, FulfillmentTarget::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetSalesHierarchyView(), SanityCheckGroup::GetWebFulfillmentTargetsView() ); | 
|      | 
|     // Tranport Availability - not support in web | 
|     SanityCheckGroupData::Create( macroplan, TransportAvailability::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitCapacitiesView() ); | 
|      | 
|     // TransportCapacity | 
|     SanityCheckGroupData::Create( macroplan, TransportCapacity::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitCapacitiesView(), SanityCheckGroup::GetWebTransportCapacitiesView() ); | 
|      | 
|     // Trip - not support in web | 
|     SanityCheckGroupData::Create( macroplan, Trip::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Planning(), SanityCheckGroup::GetSupplyChainPlanningView() ); | 
|      | 
|     // Unit | 
|     SanityCheckGroupData::Create( macroplan, Unit::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitsView(), SanityCheckGroup::GetWebEntitiesView() ); | 
|      | 
|     // UnitAccount | 
|     SanityCheckGroupData::Create( macroplan, UnitAccount::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitsView(), SanityCheckGroup::GetWebUnitCostView() ); | 
|      | 
|     // UnitAvailability | 
|     SanityCheckGroupData::Create( macroplan, UnitAvailability::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitCapacitiesView(), SanityCheckGroup::GetWebUnitTimeCapacitiesView() ); | 
|      | 
|     // UnitCalendarElement | 
|     SanityCheckGroupData::Create( macroplan, UnitCalendarElement::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitCapacitiesView(), SanityCheckGroup::GetWebCalendarView() ); | 
|      | 
|     // UnitCapacity | 
|     SanityCheckGroupData::Create( macroplan, UnitCapacity::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitCapacitiesView(), SanityCheckGroup::GetWebUnitQuantityView()); | 
|      | 
|     // UnitCost | 
|     SanityCheckGroupData::Create( macroplan, UnitCost::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitsView(), SanityCheckGroup::GetWebUnitCostView() ); | 
|      | 
|     // UnitOfMeasure_MP | 
|     SanityCheckGroupData::Create( macroplan, UnitOfMeasure_MP::GetDefinitionName(), Translations::MP_SanityCheckGroupType_Data(), SanityCheckGroup::GetUnitsOfMeasurementView(), SanityCheckGroup::GetWebUnitOfMeasurementsView() ); | 
|   *] | 
| } |