Quintiq file version 2.0 #parent: #root Method New ( internal[GUIComponent] parent, Operation owner ) as OperationInputSet id:Method_DialogCreateEditOperationInputSet_New { #keys: '[113694.2.228567638]' Body: [* // New input product set data := owner.OperationInputSet( relshadow, OperationID := owner.ID(), Name := "" );// Temporary set Name to empty, will be filled in by user Dialog.Data( data ); Dialog.SetUOMLabel(); result := Dialog.DoModal( parent ); newobj := null( OperationInputSet ); if( result > 0 ) { newobj := OperationInputSet::Create( owner, EditorName.Text(), ApplicationLibMacroPlanner.FormatStringToReal( EditorMinQuantity.Text(), 0.0 ), ApplicationLibMacroPlanner.FormatStringToReal( EditorMaxQuantity.Text(), 0.0 ), false /*isfromdb*/ ); } return newobj; *] }