You need to sign in to do that
Don't have an account?
kali charan
Finding least value in list
Hi everyone,
I have written the trigger .In that i have a list of contacts and in that i have number field amount.I have multiple amounts and ia want to find the least amount value and it a check box should be populated on tha account aobject.please suggest me in this scenario.
Thanks.
I have written the trigger .In that i have a list of contacts and in that i have number field amount.I have multiple amounts and ia want to find the least amount value and it a check box should be populated on tha account aobject.please suggest me in this scenario.
Thanks.
Use order by in SOQL query. The first element in the list have least amount value.
Thanks.