Defaulting the createdOn value if has not been passed to avoid nullpointer exception.
Authored by: saravanan1181 2015-01-09
Parent: [r8019]
Child: [r8021]