Getting a random value could be done with codestage: Random = CInt(Math.Floor((upperlimit - lowerlimit + 1) * Rnd())) + lowerlimit
with lower and upperlimit being input variables and Random being your output number variable.
Also your business object needs to import following namespace: Microsoft.VisualBasic