Quintiq file version 2.0
#parent: #root
Method NewGenericKpiMetaData (
  internal[GUIComponent] parent,
  KpiTracker owner
) as GenericKpiMetaData id:Method_Kpi_dlgKpiMetaData_NewGenericKpiMetaData
{
  #keys: '[136398.1.474842067]'
  Body:
  [*
    data := owner.MetaData( relshadow, GenericKpiMetaData );
    
    Dialog.Data( data );
    
    if ( Dialog.DoModal( parent ) > 0 )
    {
      data.Commit();
    }
    
    return data.WrappedInstance();
  *]
}
