In the case of a drum-type washing machine, is it better to put the powder detergent into the inlet or the washing tub?

There is no problem with either method.