You need to sign in to do that
Don't have an account?
arunatasc
Clone to be called from Trigger.
Hi guys,
here we have a requirement,
we have four record types,
after saving a record with any record type, we need to get clone from the saved record and this cloned record should be put/assigned with a particular RecordType Id
in short, any record saved should be cloned and the cloned one to be assigned with a specific record type.
How to do this!
Lets say I need to clone the Account here is the sample code :
In above sample I have cloned account and just changed the name. Like this you can change the record type.
Thanks
Ankit Arora
Blog | Facebook | Blog Page