You need to sign in to do that
Don't have an account?
Arun Adepu
my requirement please resolve this immediately
requirement:
first take two custom objects like customer and payment.
you should create one record in customer object with sam name.
you have to create look up relationship of customer object in payment object
after that you need to create 10 records in payment but with different users
one user has 6 records and another user has 4 records.
these two users connect with only customer who's name is sam.
condition:
if:
when ever sam's record is deactivate in customer object automatically
who has more records in payment that person should be owner of that particular sam's record
using only map <id, list<user>>
please resolve this immediately
thanks
arun
first take two custom objects like customer and payment.
you should create one record in customer object with sam name.
you have to create look up relationship of customer object in payment object
after that you need to create 10 records in payment but with different users
one user has 6 records and another user has 4 records.
these two users connect with only customer who's name is sam.
condition:
if:
when ever sam's record is deactivate in customer object automatically
who has more records in payment that person should be owner of that particular sam's record
using only map <id, list<user>>
please resolve this immediately
thanks
arun
Please use below mentioned code: