You need to sign in to do that
Don't have an account?
Trigger Help
I'm trying to create a trigger that updates all my accounts with this field C_digo_do_Cliente__c
trigger aiu_IfaceLimiteCreditoDiario on IfaceLimiteCreditoDiario__c (after insert, after update) { List<Account> acc = new List<Account>(); List<C_digo_do_Cliente__c> cod = new List<C_digo_do_Cliente__c>(); for(IfaceLimiteCreditoDiario__c iface : Trigger.new){ cod.add(iface.Account); } Account = [Select a.TipoLimite__c, a.LimiteCredito__c, a.C_digo_do_Cliente__c From Account a] for(Account inter: Account.LimiteCredito__c ){ for(IfaceLimiteCreditoDiario__c inter : Account.C_digo_do_Cliente__c) } }someone could help me to solve this?
Can you describe your workflow - Click update on account, update value on C_digo_do_cliente__c or something like that?
Right now, this trigger is nonsensible.