The invention relates to derivatives of heteroarylpiperidines and piperazines of formula (I) in which the symbols A, X, Y, L, L, G, Q, p, R, R and R have the meanings given in the description, and salts, complexes with metals and N -oxides of compounds of formula (I), as well as to their use for the control of phytopathogenic harmful fungi and to methods for producing compounds of formula (I).Изобретение относится к производным гетероарилпиперидинов и -пиперазинов формулы (I)в которой символы А, X, Y, L1, L2, G, Q, p, R1, R2 и R10 имеют значения, приведенные в описании, и к солям, комплексам с металлами и N-оксидам соединений формулы (I), а также к их применению для контроля фитопатогенных вредных грибов и к способам получения соединений формулы (I).