You need to sign in to do that
Don't have an account?
How to create a field to calculate hash value based on multiple picklist field value on same object
My requirement is to create a new field on Account object which will calculate hash value based on a multiple picklist field "Products" on account object and store
I have one field called "Products" in account object which is a multi select picklist field with value: Baha,Vistafix,Codacs,Hybrid,Nucleus,CI ,Acoustic
Kindly help me how to achieve the same. I have no idea about hash and dont know how to proceed.
Any help would be greatly appreciated!
Thanks
I have one field called "Products" in account object which is a multi select picklist field with value: Baha,Vistafix,Codacs,Hybrid,Nucleus,CI ,Acoustic
Kindly help me how to achieve the same. I have no idea about hash and dont know how to proceed.
Any help would be greatly appreciated!
Thanks
Please find the suggested workaround as suggested in stack exchange community.
Apex codding is required for it. Create Account trigger, on its before insert/update action populate newly created field ProductsHash__c (Number type), that stores hashcode of Products field. Use System.hashCode method. Then get the value of Products field and calculate hashcode with this method. Pseudo code will look like:
Service Class:
Hope this helps.
Thanks,
Nagendra