You need to sign in to do that
Don't have an account?

Apex script to change the ID of employee ID
HI
Iam looking for the apex script to change
Example: Smith employee id=100;
Kevin Employee ID= 200 from employee custom table
Is there any apex script available to change Smith employee id=200 and Kevin Employee ID= 100
Thanks,
Abhi
yes,
I need to swap the values
Thanks,
Abhi
I have written code for you which swaps the value of field1 and field2 of account object.
Change the object and field API names and run it in developer console.
Enjoy, Let me know if you need any more help.