Quintiq file version 2.0 #parent: ListRecipe Response OnClick () id:Response_ListRecipe_MenuNewRecipe_OnClick { #keys: '[110994.0.979652836]' Body: [* // New recipe dlg := construct( DialogCreateEditRecipe ); rcp := dlg.NewRecipe( this ); if ( not isnull( rcp ) ) { ListRecipe.SelectByKey( rcp.Key() ); } *] DefinitionID => /ListRecipe/Responsedef_ListRecipe_Menu_OnClick Initiator: 'MenuNewRecipe' Precondition: [* return MacroPlan::HasMacroPlan( MacroPlan, feedback ); *] }