[SalesForce] How to change a field type in production instance using a change set

We need to change a field type (Number to Currency) in the production instance using a change set. And we can't change the field type directly, because there are references of those fields in triggers and classes. we can remove the references and change the field type, after that we can add all references again. Then we send that change set in to production those changes will be apply?

Best Answer

Firstly comment all your field references in sandbox and change the field type. Later un comment all the previously commented code. Then prepare a change set and deploy to production.

Related Topic