Trading from two different gens (ORAS to S/M)

First of all, sorry for this noob question. Okay, so I’m having a trouble trading from Alpha Sapphire to Sun. I have watched a tutorial on trading locally but with the same game. I’ve tried it on AS and I was successful. But now, I have AS to run on canary and Sun on nightly. Both builds are connected in the same room. But when I tried trading, I can’t seem to find the other account on either games.

ORAS is Generation VI and S/M is Generation VII. You can’t trade between generations.

use PKHEX to transfer