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_InventorySpecification, Z_HasMaxLevel ).Name() )
|
{
|
this.HasMaxLevel( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_InventorySpecification, Z_HasMaxLevelInDays ).Name() )
|
{
|
this.HasMaxLevelInDays( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_InventorySpecification, Z_HasMinLevelInDays ).Name() )
|
{
|
this.HasMinLevelInDays( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_InventorySpecification, Z_IsCalculated ).Name() )
|
{
|
this.IsCalculated( child.GetValueAsBoolean() );
|
}
|
else if( child.Name() = attribute( DTO_InventorySpecification, Z_MaxLevelInDays ).Name() )
|
{
|
this.MaxLevelInDays( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_InventorySpecification, Z_MaxLevelInQuantity ).Name() )
|
{
|
this.MaxLevelInQuantity( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_InventorySpecification, Z_MinLevelInDays ).Name() )
|
{
|
this.MinLevelInDays( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_InventorySpecification, Z_MinLevelInQuantity ).Name() )
|
{
|
this.MinLevelInQuantity( child.GetValueAsReal() );
|
}
|
else if( child.Name() = attribute( DTO_InventorySpecification, Z_ProductID ).Name() )
|
{
|
this.ProductID( child.GetValueAsString() );
|
}
|
else if( child.Name() = attribute( DTO_InventorySpecification, Z_Start ).Name() )
|
{
|
this.Start( child.GetValueAsDate() );
|
}
|
else if( child.Name() = attribute( DTO_InventorySpecification, Z_StockingPointID ).Name() )
|
{
|
this.StockingPointID( child.GetValueAsString() );
|
}
|
}
|
*]
|
}
|