You need to sign in to do that
Don't have an account?

0_o
I dont understand one thing..
its possible SF gives me an error in a list ? this error in a trigger -> Failure Message: "System.Exception: Too many SOQL queries: 101", Failure Stack Trace: "Trigger.preencherResumoPricing: line 4, column 43"
line 4 its a list
List<Pricing_Produto_Final__c> ppfCNCPC = [select produto__c, preco_de_compra__c,valido_de__c, valido_ate__c,
Centro_de_Carga2__c from Pricing_Produto_Final__c
where Tr_background__c = 'Pricing PC Prod Final'];
I think your query is inside a for loop due to this you will be getting this error.
Please look at the governor limits to understand the reason for this error
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm
nop it isn't..
i create all the lists that i need to work and bulk my trigger.