You need to sign in to do that
Don't have an account?
Arun Adepu
change user to one object from another object based on records
hi every one,
i have requirement like this two objects are custom objects one is customer another one is payment. i created look up relationship in payment object i.e customer. then i created 10 records for payment with two different users. X user has 6 records in payment with xxx customer and Y user has 4 records with xxx customer. whenever i deactivate the owner of customer record then in payment who has more records of user should be the owner of that customer record... i am phasing this issue since last one week please resolve this...
i have requirement like this two objects are custom objects one is customer another one is payment. i created look up relationship in payment object i.e customer. then i created 10 records for payment with two different users. X user has 6 records in payment with xxx customer and Y user has 4 records with xxx customer. whenever i deactivate the owner of customer record then in payment who has more records of user should be the owner of that customer record... i am phasing this issue since last one week please resolve this...
Example query
The below query will return owner Id who owns more contact record in your org For your example try the below query, you may have to update the proper API name of an object to return the result.