You need to sign in to do that
Don't have an account?
EvertonSzekeres
Update Account field based on insert Asset
I'm trying to update a field in "Account" if insert one "Asset" called AR.
I tried to create the trigger in "Asset", but it doesn't work.
Any help?
You are using the wrong ID. Swap the asset ID with the account id. See the code below:
All Answers
Please post your code and the behavior your are experiencing.
"No such column 'Assetid' on entity 'Account'"
It's because doesn't have this field (assetid) in account.
But the trigger is pretty simple and I'm just posting here for you understand what I'm trying to do.
You are using the wrong ID. Swap the asset ID with the account id. See the code below: