Hi Vicky,
I am trying to create contract in SRM . i copied your above code and executed. Contract is created but the conditions are not created.
Could you please help me .... please let me know what i am missing or post the updated code which updates conditions too..