Quintiq file version 2.0
|
#parent: #root
|
MethodOverride UpdateWithPartialNVT (
|
NamedValueTree partialnvt
|
)
|
{
|
TextBody:
|
[*
|
// WARNING: DO NOT MODIFY THIS METHOD DIRECTLY AS IT WILL BE OVERWRITTEN.
|
|
typenode := partialnvt.Root();
|
|
traverse( typenode.Children(), Elements, child )
|
{
|
if( child.Name() = attribute( DTO_GlobalParameters, Z_AbsoluteLowerLimit ).Name() )
|
{
|
this.AbsoluteLowerLimit( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_AbsoluteUpperLimit ).Name() )
|
{
|
this.AbsoluteUpperLimit( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_AutoScalingFrequency ).Name() )
|
{
|
this.AutoScalingFrequency( child.GetValueAsDuration() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_BalanceTolerance ).Name() )
|
{
|
this.BalanceTolerance( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_BiasTolerance ).Name() )
|
{
|
this.BiasTolerance( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_BottleneckTolerance ).Name() )
|
{
|
this.BottleneckTolerance( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_BottleneckWindowEnd ).Name() )
|
{
|
this.BottleneckWindowEnd( child.GetValueAsDuration() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_BottleneckWindowStart ).Name() )
|
{
|
this.BottleneckWindowStart( child.GetValueAsDuration() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_CO2ProcessUOM ).Name() )
|
{
|
this.CO2ProcessUOM( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_CO2UOM ).Name() )
|
{
|
this.CO2UOM( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_ChangeOverTime ).Name() )
|
{
|
this.ChangeOverTime( child.GetValueAsDuration() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultAbsoluteValueForInventoryHolding ).Name() )
|
{
|
this.DefaultAbsoluteValueForInventoryHolding( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultAccountForInventoryHolding ).Name() )
|
{
|
this.DefaultAccountForInventoryHolding( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultAllocation ).Name() )
|
{
|
this.DefaultAllocation( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultAnnualInterestRateForInventoryHolding ).Name() )
|
{
|
this.DefaultAnnualInterestRateForInventoryHolding( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultDemandUncertainty ).Name() )
|
{
|
this.DefaultDemandUncertainty( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultEfficiency ).Name() )
|
{
|
this.DefaultEfficiency( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultMaxCapacityForStockingPoint ).Name() )
|
{
|
this.DefaultMaxCapacityForStockingPoint( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultMaxCapacityPerDayForUnit ).Name() )
|
{
|
this.DefaultMaxCapacityPerDayForUnit( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultMaxLoadPercentage ).Name() )
|
{
|
this.DefaultMaxLoadPercentage( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultMinCapacityPerDayForUnit ).Name() )
|
{
|
this.DefaultMinCapacityPerDayForUnit( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultNumberOfPeriodsForAvgDemand ).Name() )
|
{
|
this.DefaultNumberOfPeriodsForAvgDemand( child.GetValueAsNumber() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultNumberOfUnits ).Name() )
|
{
|
this.DefaultNumberOfUnits( child.GetValueAsNumber() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultOperationInputOutputQuantity ).Name() )
|
{
|
this.DefaultOperationInputOutputQuantity( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultServiceLevel ).Name() )
|
{
|
this.DefaultServiceLevel( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultShiftPatternName ).Name() )
|
{
|
this.DefaultShiftPatternName( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DefaultSmartPlanStrategy ).Name() )
|
{
|
this.DefaultSmartPlanStrategy( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DifferenceFactor1e3 ).Name() )
|
{
|
this.DifferenceFactor1e3( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DifferenceFactor1e6 ).Name() )
|
{
|
this.DifferenceFactor1e6( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DisaggregationRatio ).Name() )
|
{
|
this.DisaggregationRatio( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DurationInventoryMixBalancingCheck ).Name() )
|
{
|
this.DurationInventoryMixBalancingCheck( child.GetValueAsDuration() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_DurationLotsizeHorizon ).Name() )
|
{
|
this.DurationLotsizeHorizon( child.GetValueAsDuration() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_EnableCampaignSequencingOptimization ).Name() )
|
{
|
this.EnableCampaignSequencingOptimization( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_EndOfKPIHorizon ).Name() )
|
{
|
this.EndOfKPIHorizon( child.GetValueAsDate() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_EndOfKPIHorizonForMetaRollback ).Name() )
|
{
|
this.EndOfKPIHorizonForMetaRollback( child.GetValueAsDate() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_ExportHorizon ).Name() )
|
{
|
this.ExportHorizon( child.GetValueAsDuration() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_ForecastNettingRule ).Name() )
|
{
|
this.ForecastNettingRule( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_HasAbsoluteValueForInventoryHolding ).Name() )
|
{
|
this.HasAbsoluteValueForInventoryHolding( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_HasDefaultInventoryHoldingCost ).Name() )
|
{
|
this.HasDefaultInventoryHoldingCost( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_IsPeggingRunAfterOptimization ).Name() )
|
{
|
this.IsPeggingRunAfterOptimization( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_IsRunOptimizerSynchronously ).Name() )
|
{
|
this.IsRunOptimizerSynchronously( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_IsUsableIfExpiredWithinPeriod ).Name() )
|
{
|
this.IsUsableIfExpiredWithinPeriod( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_IsUsableIfMatureWithinPeriod ).Name() )
|
{
|
this.IsUsableIfMatureWithinPeriod( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_LaneLeadTimeLogic ).Name() )
|
{
|
this.LaneLeadTimeLogic( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_LotSizeTolerance ).Name() )
|
{
|
this.LotSizeTolerance( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_MinToKeepTripInUsedPercentage ).Name() )
|
{
|
this.MinToKeepTripInUsedPercentage( child.GetValueAsNumber() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_MinimumSalesDemandQtyThreshold ).Name() )
|
{
|
this.MinimumSalesDemandQtyThreshold( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_NoiseThresholdOptimizerOutput ).Name() )
|
{
|
this.NoiseThresholdOptimizerOutput( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_NumberOfDecimals ).Name() )
|
{
|
this.NumberOfDecimals( child.GetValueAsNumber() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_NumberOfPeriodsInWindow ).Name() )
|
{
|
this.NumberOfPeriodsInWindow( child.GetValueAsNumber() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_NumberOfPeriodsPerSlide ).Name() )
|
{
|
this.NumberOfPeriodsPerSlide( child.GetValueAsNumber() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_NumberOfPeriodsSmartPlan ).Name() )
|
{
|
this.NumberOfPeriodsSmartPlan( child.GetValueAsNumber() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_OperationLeadTimeLogic ).Name() )
|
{
|
this.OperationLeadTimeLogic( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_OutlierTolerance ).Name() )
|
{
|
this.OutlierTolerance( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_PeriodSpecificationForUnitActual ).Name() )
|
{
|
this.PeriodSpecificationForUnitActual( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_PeriodTaskValidity ).Name() )
|
{
|
this.PeriodTaskValidity( child.GetValueAsDuration() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_RunSmartPlanSynchronously ).Name() )
|
{
|
this.RunSmartPlanSynchronously( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_SanityCheckLimit ).Name() )
|
{
|
this.SanityCheckLimit( child.GetValueAsNumber() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_StartOfKPIHorizon ).Name() )
|
{
|
this.StartOfKPIHorizon( child.GetValueAsDate() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_StockingPointBottleneckThreshold ).Name() )
|
{
|
this.StockingPointBottleneckThreshold( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_UnitLowerBottleneckThreshold ).Name() )
|
{
|
this.UnitLowerBottleneckThreshold( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_UnitUpperBottleneckThreshold ).Name() )
|
{
|
this.UnitUpperBottleneckThreshold( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_UpdateKPIHorizonAtPeriodRoll ).Name() )
|
{
|
this.UpdateKPIHorizonAtPeriodRoll( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_UseAuditTrail ).Name() )
|
{
|
this.UseAuditTrail( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_UseDefaultDisplayIndex ).Name() )
|
{
|
this.UseDefaultDisplayIndex( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_UseSingleEchelon ).Name() )
|
{
|
this.UseSingleEchelon( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_GlobalParameters, Z_UseSlidingWindowsApproach ).Name() )
|
{
|
this.UseSlidingWindowsApproach( child.GetValueAsBoolean() );
|
}
|
}
|
*]
|
}
|