Show an Error message when trying to add same Address Type by an employee
We are trying to implement the Autocomplete Rule so that users should not be allowed to 'Add' the same address type. For instance, if a user already has a 'Home' address, they should always update the existing record instead of creating a new one. We are trying to build the rule however it is not working as expected. It seems existing address type isn't getting fetched correctly.
Customer - DHL Supply Chain
Approved Use Case no. - 52
Rule type - Business Object Validation Rule
Code Snippet: Please find it attached.