Quintiq file version 2.0
#parent: #root
Method EditUnits (
  internal[GUIComponent] parent,
  structured[Unit] units
) id:Method_DialogEditVisualization_EditUnits
{
  #keys: '[124808.1.871282413]'
  Body:
  [*
    // Edit unit node
    unitnodes := selectset( units, Elements.UnitNode, un, un.SupplyChainView() = DataHolderView.Data() );
    
    if( not isnull( unitnodes ) )
    {
      Dialog.Edit( parent, unitnodes );
    }
  *]
}
