To Show Random number in axapta you can try below code through job. Random is class name which has nextInt method to get next random number.
Random Random = new Random();
int RandomNo,RandomwithMod;
;
RandomNo=Random.nextInt();
RandomwithMod=Random.nextInt() MOD 1000;
info(Strfmt('%1%2',RandomNo,RandomwithMod));