You don't need to use Apex to move varieties to a JD system. Device setup as already mentioned will make the file(s) you need from SMS.