• Hit23
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies

Hello,

 

I have one picklist field on Account called 'Area'. Now there is also one object called quality in relatedlist of account.

In Quality object account name field as a look up field. Now i want to display a error message on Account, If Area = Colorado then that account can not create record for Quality object through new button on relatedlist.

 

I already insert lookup field(Account name) filter critearia on Quality. I can see message do not match critearia on Quality object.

But i want to see error message on account itself when user try to create a record for quality object through new button on related list.

 

Please advice me on that!

 

Thanks,

Hit 

 

 

 

  • May 25, 2011
  • Like
  • 0

Hello,

 

I have 3 triggers on different object as name following: UpdateCount, UpdateDPCfromAccount and UpdateAccountData.

I have also test class, which gives 100% code coverage to all three triggers.

 

Now when i deploy this 3 triggers & Test class in production, it is throwing me an errors on other classes/triggers line code which are already in production.

 

Error is: Too many SOQL queries: 101

 

How my Triggers invoked to other classes/triggers in production? If it is the case then what is the best solution?

I already review my code again and tried to reduce the query..but still same errors.

 

Please suggest me the best way.

 

Thanks,

Hit

 

  • May 09, 2011
  • Like
  • 0

Hello,

 

I have one picklist field on Account called 'Area'. Now there is also one object called quality in relatedlist of account.

In Quality object account name field as a look up field. Now i want to display a error message on Account, If Area = Colorado then that account can not create record for Quality object through new button on relatedlist.

 

I already insert lookup field(Account name) filter critearia on Quality. I can see message do not match critearia on Quality object.

But i want to see error message on account itself when user try to create a record for quality object through new button on related list.

 

Please advice me on that!

 

Thanks,

Hit 

 

 

 

  • May 25, 2011
  • Like
  • 0

Hello All,

 

I am trying to deploy a trigger from sand box to Production and I am getting "The changes you requested require salesforce.com to temporarily lock your organization's administration setup. However, the administration setup has already been locked by another change. Please wait for the previous action to finish, then try again later. (ALREADY_IN_PROCESS)"

 

I am getting this error from last friday, I am not sure this error is because of some admin changes in salesforce, or some problems in eclipse 3.5. After getting this error during trigger deployment I tried to deploy some classes the same error comes up.

 

I have also locked a case with salesforce on last friday but till now there is no reply, I tried to search for this on internet but I found nothing.

 

Please can any one help me in solving this issue.

 

Thanks & Regards

Vivek Manchanda