• Doug Beltowski
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Salesforce Developer
  • Equity Trust Company


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
if I have 5 test methods and a test setup method in a test class and when we perform a test run on this class, in what sequence will the test methods execute during the testing?.
Hi,

I have a formula written in a formula field, and I'm pretty sure the layout is correct, but I can't get the syntax right! I believe there is a parenthesis or comma out of place, but I can't find it and it's driving me nuts. I've tried for over an hour and can't seem to get it. Any help would be greatly, greatly appreciated!

Formula:
IF(PricebookEntry.Product2.CXO_Service__c=True,
IF(
AND(
ISPICKVAL(Opportunity.New_Renew__c,"Renewal"),
NOT(Product_Family__c="Learning")
)
,

IF(Amount_for_Retention__c>CV_to_Renew__c,Annual_NCVI_Amount__c,
Probable_CV_Retained__c-CV_to_Renew__c)

,
Annual_NCVI_Amount__c))

,

IF(
AND(Opportunity.TA_Migration_Transaction__c=True,ISPICKVAL(PricebookEntry.Product2.Team_Access_Product__c,"Standard"),-1*CV_to_Renew__c)

,

IF(
AND(
ISPICKVAL(Opportunity.New_Renew__c,"Renewal"),
NOT(Product_Family__c="Learning")
)
,

IF(Amount_for_Retention__c>CV_to_Renew__c,Annual_NCVI_Amount__c,
Probable_CV_Retained__c-CV_to_Renew__c)

,
Annual_NCVI_Amount__c)