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

Update existing picklist value
Hi Friends
I have one issue facing a big challenge.i have two object Account and Object__c which have lookup relationship.i have one picklist in account object with value ABC and XYZ.my requirment is want two convert all existing picklist value XYZ to ABC in account object which have Object__c record .
Thanks
I have one issue facing a big challenge.i have two object Account and Object__c which have lookup relationship.i have one picklist in account object with value ABC and XYZ.my requirment is want two convert all existing picklist value XYZ to ABC in account object which have Object__c record .
Thanks
You can achieve this using batch apex(one time script).
Thanks,
Pankaj
Use below mentioned code:
Error: Compile Error: Invalid field purchase_order__r for SObject Account at line 17 column 15
Please use the correct relationship name in inner query. Try using objAccount.Purchase_Orders__r.isEmpty() instead.