• SunnyJ
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi All,
 
I have an urgent issue. Please give me ideas. Many thanks
 
-- one trigger on account
-- this trigger deployed into producton in a managed package. That means we can not do any modification on that. Even no way to edit "active" checkbox.
-- Code "Schema.getGlobalDescribe().get('Account');" in this trigger
-- when I use apex dataloader mass upload data, an error depressed me
 

caused by: System.Exception: Too many fields describes: 11

I think the Governors and Limits for describe call in trigger allows max no. is 10 as well.  Is that true?????????

-- This trigger calls apex class code. In the apex class code there is a Webservice method callout. In this apex class code, there is a "future" annotation as well. In the apex developer document, governors say

Total number of methods with the future annotation allowed  per Apex invocation7     :   10

Total number of Web service methods allowed :  10

I believe if mass update records number > 10 , those limits will reach and some error  will occur.

-- How can I turn off the trigger in Production which in managed package (released version).

 

Any idea appreciated!!! or Any clarification for that???