Generate real order codes