• WPCMS
  • NEWBIE
  • 130 Points
  • Member since 2009

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

I am having difficulty developing a validation.  We have a formula field that calculated contract value. The problem is you can not track history/changes to formula fields. As a work around, I was asked to create a field "Verify Contract Value" that will require users to verify the amount of the contract value by entering it in this newly created custom currency field...which I can track the changes.

 

I am attempting to right a validation formula that says Verify Contract Value must = contract value and if it doesn't then he user should not be allowed to save the record.  Please help...I'm really new to validations.  I sincerely appreciate it.

 

Kind regards,
Simone Smtih

We are very new to Visual Workflow and are wondering if the following can be done.

We have an object related off of the Opportunity called ObjectA. When the user goes to the Opportunity there are multiple ObjectA records and they need to create a case off of each ObjectA (which is the child record). So we want to create a visual workflow button where a case is  automatically created (with all required field filled in) on all related ObjectA records of that Opportunity.

Is this possible?
  • October 22, 2014
  • Like
  • 0

I am currently in the Eastern time zone of the United States.

 

My current time is 9:50 a.m.

 

When I use the NOW() funtion it shows the correct date but not the correct time. It shows 13:50 (1:50 p.m.).

 

I checked the Company default Time Zone and it says

(GMT-4:00) Easter Daylight Time (America/New_York).

 

Why is it off?

 

Thank you in advnace.

  • April 26, 2012
  • Like
  • 0

In our organization we want our contracts to have the current contract end date for continuous contracts.

 

Todays Date:  03/20/2012

Initial Effective Date:  1/1/2005 (date field)

Initial Terms (months):  24  (number field)

Initial Terms End Date:  12/31/2006 (formula date field)

Roll Over Terms (months):  12 (number field)

Current Contract End Date:  12/31/2012 (this is the formula date field I am trying to create)

 

Thank you in advance

 

 

  • March 20, 2012
  • Like
  • 0

I need to be able to send an email to users when a task picklist field equals a certain value. I only need it to happen on create.

 

When I select the workflow action it does not allow New email. What should I do?

  • March 08, 2012
  • Like
  • 0

I get the following error when I compile my apex classes:

 

line -1, column -1: Method 'CodeCoverage' exceeds the maximum number of allowed op codes. Please break this method into multiple, smaller methods.
line -1, column -1: Previous load of class failed: CodeCoverageTest: line -1, column -1: Method 'CodeCoverage' exceeds the maximum number of allowed op codes. Please break this method into multiple, smaller methods.

repeats...

repeats...

repeats...

 

I had never received this error before in my sandbox. I have not changed anything in the apex since I last ran the compliation.

 

Any suggestions as to what has caused this?

  • February 17, 2012
  • Like
  • 0

We currently use Cases for many types of requests. I want to split IT requests away from Account cases. I created a new object and have Googles Docs,Notes and Attachments with the new object.

 

I want to take all of the previous cases and move them to the new custom object. I need a note function and want to use Google notes. Is there anyway to enter all of the cases comments in Google notes? I use the Salesforce.com data loader but I do not see an option to upload under the Google.

 

Any way around this?

 

Thank you in advance.

  • February 06, 2012
  • Like
  • 0

I am an administrator that is working on someone elses code. I know the basics about Java programing and even less on apex.  My goal is the get the test coverage above 75%.

 

Most of my errors are

 

"System.QueryException: List has no rows for assignment to SObject".

 

From what I am reading on other boards I have a basic idea of what I need to change. But once I change it, something else down the code gives me an errors.

Here is the original code

 public static testMethod void testManageVendorBillDetails(){  
        Invoice_and_Billing_Detail__c invoiceDetails = [Select Id,Adjustment_amount__c,Amount__c, Vendor_Bill__c
        from Invoice_and_Billing_Detail__c  limit 1 for Update];  
      

 Then I changed it to a List<>

 public static testMethod void testManageVendorBillDetails(){  
        List <Invoice_and_Billing_Detail__c> invoiceDetails = [Select Id,Adjustment_amount__c,Amount__c, Vendor_Bill__c
        from Invoice_and_Billing_Detail__c  limit 1 for Update];  
          

 But now I get an error further down the method. Here is the whole method and I will note what line (towards the bottom) that is giving me the error.

 public static testMethod void testManageVendorBillDetails(){  
        List <Invoice_and_Billing_Detail__c> invoiceDetails = [Select Id,Adjustment_amount__c,Amount__c, Vendor_Bill__c
        from Invoice_and_Billing_Detail__c  limit 1 for Update];  
          
        Vendor_Bills__c vendorBillRecord = new Vendor_Bills__c();
        vendorBillRecord.Bill_Date__c = System.today();
        vendorBillRecord.Due_Date_On_Bill__c = System.today().addDays(10);
        vendorBillRecord.Vendor_Invoice_Number__c = 'Test Bill Record';

        Account vend = new Account(Name = 'Test Vendor', 
                       Phone = '(508) 555-1212',
                       Fax = '(508) 555-1213',
                       Type = 'Vendor',
                       Address1__c = 'asfasd',
                       City__c = 'myTstVen',
                       State__c = 'MA',
                       Zip_Code__c = '2090',
                       Company_Name__c = 'Test Vendor',
                       QB_Account__c = 'QB Account Name',
                       Account_QB_Account_Name__c = 'QB Account Name Ven',
                       Account_Code__c = 'testven1');
        insert vend;
        vend = [select ID from Account where Name Like '%myTstVen%' Limit 1];
        
        User userNAM = [select Id from User limit 1];
        
        Account acct = new Account(Name = 'Test Account Name', 
                   Phone = '(508) 555-1212',
                   Fax = '(508) 555-1213',
                   Type = 'Client',
                   Address1__c = '2234234',
                   City__c = 'ShortPayTstClnt',
                   State__c = 'MA',
                   Zip_Code__c = '2090',
                   QB_Account__c = 'QB Account Name',
                   Account_QB_Account_Name__c = 'QB Account Name',
                   Account_Code__c = 'aewrew',
                   NAM_User__c = userNAM.Id,
                   Generate_Tree_Report_Data__c = false,
                   Generate_Tree_Report_As_Of__c = date.today());
        
    	insert acct;
    	
        Contact tstContact = new Contact(LastName = 'test',
						AccountId = acct.Id,
						Contact_Type__c = 'Client',
						Phone = '(555) 555-5555',
						Contact_Region__c = 'test');
    	insert tstContact;
    
        Location__c loc = new Location__c(Name = 'myTst Location', 
                                    Account__c = acct.Id, 
                                    Address__c = '12543',
                                    City__c = '233',
                                    State__c = 'ID',
                                    Zip_Code__c = '2090',
                                    Location_County__c = 'asfsd',
                                    Active_Date__c = date.today(),  //.parse('1/1/2009'),
                                    //Location_Billing__c = 'TestLoc2',
                                    Non_Active_Date__c = date.today(),
                        			Non_Active_Reason_Code__c='asfsd',
                       			    Close_Date__c =date.today(),
                                    Billing_Address_1__c = '23q234',
                                    Billing_City__c = 'Westwood',
                                    Billing_Zip__c = '2090',
                                    Billing_State__c = 'MA',
                                    Quickbooks_Account_Name__c = 'QB Account Name',
                                    Market_Type__c='Open Market',
                                    Contact2__c = tstContact.Id);
                                   
        insert loc; 
            
        loc =  [select ID, Name, Account__c, Account__r.Name from Location__c where Name = 'myTst Location' Limit 1];
        Vendor_Location__c vendLoc = new Vendor_Location__c(Name = 'mytestven1 (sgfsdf)',
                                        RecordTypeId = '01280000000BTSPAA4',
                                        Locationnew__c = loc.ID,
                                        Vendor__c = vend.ID,
                                        PO_Number__c = 'sgdfds',
                                        Commencement_Date__c = date.today(),  //.parse('1/1/2009'),
                                        Vendor_Account_Number__c = 'sgfsdf',
                                        Quickbooks_Account_Name__c = 'QB Account Name',
                          				           
                                        Billing_Vendor__c = vend.ID);
        insert vendLoc; 
        vendLoc = [select ID, Locationnew__c from Vendor_Location__c where Locationnew__c = :loc.ID Limit 1];
        System.debug('vendloc = ' + vendLoc + '   Loc.ID = ' + loc.ID);
        vendorBillRecord.Vendor_Location__c = vendLoc.ID;
        
        insert vendorBillRecord;
        
        invoiceDetails.Vendor_Bill__c  = vendorBillRecord.Id;/*Save Error: Initial term of field expression must be a concrete SObject List<Invoice_and_Billing_Detail__c>*/
        update invoiceDetails;
        
        delete invoiceDetails; 
    }

Any help would be great!

 

Thank you in advance.

  • February 03, 2012
  • Like
  • 0

We have a Force.com organization and have been using it as a development tutorial environment. Is there anyway to reset the Force.com organization back to default?

  • November 18, 2011
  • Like
  • 0

I currently set up our custom buttons with

 

https://na8.salesforce.com/a0C/e? 

 

When I go into the sandbox I have to modify the intance number. Someone told me you can exclude the instance so you don't have to modify sandbox custom buttons.

 

What is the short cut?

  • October 21, 2011
  • Like
  • 0

We have validations through the system that should not affect other users.

 

How can I add a formula to existing validations to say that if the person is under this role, ignore?

 

 

  • October 21, 2011
  • Like
  • 0

We have a dilemma where we have two sandboxes. One is a temporay sandbox and the other is good for a year. We did some major development in a full sandbox that we are not ready to move to the live instance yet. The problem is that development ended up on the temporary sandbox which will expire in a few weeks. Is there a way to move our changes from a full sandbox to another full sandbox?

 

If there is please direct me to the reference on how to do this.

 

Thank you in advance.

  • September 09, 2011
  • Like
  • 0

I am trying to update a field when the Meeting Date is entered. I have my workflow criteria to

 

isblank(Meeting_Date__c) = False

 

And I tried

 

isnull(Meeting_Date__c) = False

 

My workflow will not trigger.

 

Any ideas?

  • June 22, 2011
  • Like
  • 0

I have fields that add up the number of days. I want the formula to pick the mininum number out of the Days it has counted. What it is doing is if the number of days is zero it chooses that as its min. How do I get it to ignore zero?

 

Example:

 

NoDaysOne = 0

NoDaysTwo = 52

NoDaysThree = 60

 

Out of these three number of Days I want to return 52 (the real min)  not 0.

 

Current formula:

 

 

Min( NoDaysOne__c , NoDaysTwo__c , NoDaysThre__c)

 

Any ideas?

 

  • May 13, 2011
  • Like
  • 0

We currently have a formula that does not allow the user to enter a start date less than the current period. The problem is, this formula below works with the ISNEW. Users are figuring out that if they save the new record, the next time they edit they can put in any date they want. How can I get this formula to work evertime the record is edited?

 

 

And(If (year(Start_Date__c)*100+month(Start_Date__c)<year(today())*100+month(today()),True, False),isnew())

 

Thank you in advance!

 

  • May 12, 2011
  • Like
  • 0

I have the formula below but I know I am not executing this correctly. The formula only works correctly on the Subtotal__c.

 

What am I missing?

 

 

 

Accounting_Period_Status__c ="Closed"&& 
ISCHANGED( Subtotal__c ) 
||ISCHANGED( Ready_to_Post_to_QuickBooks__c ) 
||ISCHANGED( Posting_Period__c ) 
||ISCHANGED( Period_Date__c ) 
||ISCHANGED( Date__c ) 
||ISCHANGED( Period__c ) 
||ISCHANGED( Do_Not_Post_to_QuickBooks__c ) 
||ISCHANGED( Do_Not_Print_Invoice__c ) 
||ISCHANGED( Sales_Tax_Amount__c ) 
||ISCHANGED( Sales_Tax_Percent__c ) 
||ISCHANGED( QB_Account__c ) 
||ISCHANGED( RequestQueue__c ) 
||ISCHANGED( QB_Invoice_Txn_ID__c ) 
||ISCHANGED( Master_Account__c ) 
||ISCHANGED( Vendor_Location__c ) 
||ISCHANGED( Transactionid__c ) 
||ISCHANGED( Change_QB_Date2__c ) 
||ISCHANGED( Custom_Description__c ) 
||ISCHANGED( Name ) 
||ISCHANGED( Invoice_Client_Note__c )

 

Thank you in advance.

 

  • April 26, 2011
  • Like
  • 0

I have a check box on the cases that lets A/R know to process the account via email alert. The workflow alert is triggered when the check box is true. This has worked until we found out that if anyone created a related note and copied the parent details it kept the checkbox true. So I thought to fix this I would create a workflow (separate from the email alert) to uncheck the box if the record is new.

What happened next is that the email is sent out and then the check box is unchecked.

How do I fix this? Is there a workflow order issue or do I need to somehow combine the two workflows?

 

Thank you in advance.

  • April 11, 2011
  • Like
  • 0

I am trying to create a report to use on a dashboard to show us the count of how many states we have opportunities in.

 

I have tried grouping by state but it still shows the record count. I don't want that. I want to end up with a gauge that shows the number 23 out of the 51 (states and territories).

 

How do I go about doing this?

 

Thank you in advance.

  • February 28, 2011
  • Like
  • 0

 

&tsk2_lkid={!Lead_Contact__c.LeadId__c}
&tsk2={!Lead_Contact__c.Lead__c}
&name="Lead"
&00NM0000000Fjsy={!Lead_Contact__c.Name}
&00NM0000000Fjt3={!Lead_Contact__c.Contact_Alert__c}

 

 

How do I get this activity to return to the record where it was created? Everytime the user saves the activity it goes to thier home page.

 

Thanks,

  • February 04, 2011
  • Like
  • 0
Status__c ="Active"&&Text(Service_Frequency__c)="1"&& Serv_Freq_Count__c<>0&&
Status__c ="Active"&&Text(Service_Frequency__c)="1"&& Serv_Freq_Count__c<>1 ||
Status__c ="Active"&&Text(Service_Frequency__c)="2"&& Serv_Freq_Count__c<>0 &&
Status__c ="Active"&&Text(Service_Frequency__c)="2"&& Serv_Freq_Count__c<>2 ||
Status__c ="Active"&&Text(Service_Frequency__c)="3"&& Serv_Freq_Count__c<>0 &&
Status__c ="Active"&&Text(Service_Frequency__c)="3"&& Serv_Freq_Count__c<>3 ||
Status__c ="Active"&&Text(Service_Frequency__c)="4"&& Serv_Freq_Count__c<>0 &&
Status__c ="Active"&&Text(Service_Frequency__c)="4"&& Serv_Freq_Count__c<>4 ||
Status__c ="Active"&&Text(Service_Frequency__c)="5"&& Serv_Freq_Count__c<>0 &&
Status__c ="Active"&&Text(Service_Frequency__c)="5"&& Serv_Freq_Count__c<>5 ||
Status__c ="Active"&&Text(Service_Frequency__c)="6"&& Serv_Freq_Count__c<>0 &&
Status__c ="Active"&&Text(Service_Frequency__c)="6"&& Serv_Freq_Count__c<>6 ||
Status__c ="Active"&&Text(Service_Frequency__c)="7"&& Serv_Freq_Count__c<>0 &&
Status__c ="Active"&&Text(Service_Frequency__c)="7"&& Serv_Freq_Count__c<>7

 

We currently have a formula that lets us know if the days of the week checked match the number of times it is picked up a week

 

So if the service frequency is 3 and Mon, Wed, Fri (three days) is checked, the user can save the record.

 

If the service frequency is 3 and Mon and Wed (two days) are checked, the user can not save the record.

 

Also this validation allows no service days to be checked

 

Now I need to exclude profiles from being affected by this validation. How do I add several profiles to the validation above?

 

 

 

  • February 04, 2011
  • Like
  • 0

I am trying to exclude profiles from validations.

 

When I exclude System Administrator it works

 

Start_Date__c >=  Vendor_Location__r.Cancellation_Date__c&& $Profile.Name <> "System Administrator"

 

But when I add on Accounts Receivabled it doesn't work even though I spelled it the same and copied and pasted it

 

Start_Date__c >=  Vendor_Location__r.Cancellation_Date__c&&  $Profile.Name <> "Accounts Receivable"

 

What am I missing here!

 

Thank you in advance

  • February 01, 2011
  • Like
  • 0

I have an IF statement that needs to read

 

"New monthly rate going forward is $1,000.00"

 

My formula is

 

IF(ISBLANK( Custom_Description__c ),
"" ,
"New monthly rate going forward is" &""& Opportunity__r.Current_Monthly_Revenue__c)

 

but the Opportunity__r field is a currency field and the formula Error says "Incorrect parameter for function &(). Expected Text, received Number

 

Thank you in advance

  • July 12, 2010
  • Like
  • 2

I am currently in the Eastern time zone of the United States.

 

My current time is 9:50 a.m.

 

When I use the NOW() funtion it shows the correct date but not the correct time. It shows 13:50 (1:50 p.m.).

 

I checked the Company default Time Zone and it says

(GMT-4:00) Easter Daylight Time (America/New_York).

 

Why is it off?

 

Thank you in advnace.

  • April 26, 2012
  • Like
  • 0

In our organization we want our contracts to have the current contract end date for continuous contracts.

 

Todays Date:  03/20/2012

Initial Effective Date:  1/1/2005 (date field)

Initial Terms (months):  24  (number field)

Initial Terms End Date:  12/31/2006 (formula date field)

Roll Over Terms (months):  12 (number field)

Current Contract End Date:  12/31/2012 (this is the formula date field I am trying to create)

 

Thank you in advance

 

 

  • March 20, 2012
  • Like
  • 0

I need to be able to send an email to users when a task picklist field equals a certain value. I only need it to happen on create.

 

When I select the workflow action it does not allow New email. What should I do?

  • March 08, 2012
  • Like
  • 0

I get the following error when I compile my apex classes:

 

line -1, column -1: Method 'CodeCoverage' exceeds the maximum number of allowed op codes. Please break this method into multiple, smaller methods.
line -1, column -1: Previous load of class failed: CodeCoverageTest: line -1, column -1: Method 'CodeCoverage' exceeds the maximum number of allowed op codes. Please break this method into multiple, smaller methods.

repeats...

repeats...

repeats...

 

I had never received this error before in my sandbox. I have not changed anything in the apex since I last ran the compliation.

 

Any suggestions as to what has caused this?

  • February 17, 2012
  • Like
  • 0

Has anyone noticed that the "Recent Items" in sidebar started acting weird after the Spring '12 release if you're using Chrome?  When you click a link in the recent items it collapses and most of the time doesn't direct you to the new page.  I noticed it in the sandboxes that were upgraded to Spring '12 over the last few weeks but figure that it was such a glaring issue that it wouldn't find it's way to production orgs; this morning, I'm seeing that the issue is in production.  Is there a setting in Chrome that causes this or an oversight by SFDC's QA?

  • February 06, 2012
  • Like
  • 0

I am an administrator that is working on someone elses code. I know the basics about Java programing and even less on apex.  My goal is the get the test coverage above 75%.

 

Most of my errors are

 

"System.QueryException: List has no rows for assignment to SObject".

 

From what I am reading on other boards I have a basic idea of what I need to change. But once I change it, something else down the code gives me an errors.

Here is the original code

 public static testMethod void testManageVendorBillDetails(){  
        Invoice_and_Billing_Detail__c invoiceDetails = [Select Id,Adjustment_amount__c,Amount__c, Vendor_Bill__c
        from Invoice_and_Billing_Detail__c  limit 1 for Update];  
      

 Then I changed it to a List<>

 public static testMethod void testManageVendorBillDetails(){  
        List <Invoice_and_Billing_Detail__c> invoiceDetails = [Select Id,Adjustment_amount__c,Amount__c, Vendor_Bill__c
        from Invoice_and_Billing_Detail__c  limit 1 for Update];  
          

 But now I get an error further down the method. Here is the whole method and I will note what line (towards the bottom) that is giving me the error.

 public static testMethod void testManageVendorBillDetails(){  
        List <Invoice_and_Billing_Detail__c> invoiceDetails = [Select Id,Adjustment_amount__c,Amount__c, Vendor_Bill__c
        from Invoice_and_Billing_Detail__c  limit 1 for Update];  
          
        Vendor_Bills__c vendorBillRecord = new Vendor_Bills__c();
        vendorBillRecord.Bill_Date__c = System.today();
        vendorBillRecord.Due_Date_On_Bill__c = System.today().addDays(10);
        vendorBillRecord.Vendor_Invoice_Number__c = 'Test Bill Record';

        Account vend = new Account(Name = 'Test Vendor', 
                       Phone = '(508) 555-1212',
                       Fax = '(508) 555-1213',
                       Type = 'Vendor',
                       Address1__c = 'asfasd',
                       City__c = 'myTstVen',
                       State__c = 'MA',
                       Zip_Code__c = '2090',
                       Company_Name__c = 'Test Vendor',
                       QB_Account__c = 'QB Account Name',
                       Account_QB_Account_Name__c = 'QB Account Name Ven',
                       Account_Code__c = 'testven1');
        insert vend;
        vend = [select ID from Account where Name Like '%myTstVen%' Limit 1];
        
        User userNAM = [select Id from User limit 1];
        
        Account acct = new Account(Name = 'Test Account Name', 
                   Phone = '(508) 555-1212',
                   Fax = '(508) 555-1213',
                   Type = 'Client',
                   Address1__c = '2234234',
                   City__c = 'ShortPayTstClnt',
                   State__c = 'MA',
                   Zip_Code__c = '2090',
                   QB_Account__c = 'QB Account Name',
                   Account_QB_Account_Name__c = 'QB Account Name',
                   Account_Code__c = 'aewrew',
                   NAM_User__c = userNAM.Id,
                   Generate_Tree_Report_Data__c = false,
                   Generate_Tree_Report_As_Of__c = date.today());
        
    	insert acct;
    	
        Contact tstContact = new Contact(LastName = 'test',
						AccountId = acct.Id,
						Contact_Type__c = 'Client',
						Phone = '(555) 555-5555',
						Contact_Region__c = 'test');
    	insert tstContact;
    
        Location__c loc = new Location__c(Name = 'myTst Location', 
                                    Account__c = acct.Id, 
                                    Address__c = '12543',
                                    City__c = '233',
                                    State__c = 'ID',
                                    Zip_Code__c = '2090',
                                    Location_County__c = 'asfsd',
                                    Active_Date__c = date.today(),  //.parse('1/1/2009'),
                                    //Location_Billing__c = 'TestLoc2',
                                    Non_Active_Date__c = date.today(),
                        			Non_Active_Reason_Code__c='asfsd',
                       			    Close_Date__c =date.today(),
                                    Billing_Address_1__c = '23q234',
                                    Billing_City__c = 'Westwood',
                                    Billing_Zip__c = '2090',
                                    Billing_State__c = 'MA',
                                    Quickbooks_Account_Name__c = 'QB Account Name',
                                    Market_Type__c='Open Market',
                                    Contact2__c = tstContact.Id);
                                   
        insert loc; 
            
        loc =  [select ID, Name, Account__c, Account__r.Name from Location__c where Name = 'myTst Location' Limit 1];
        Vendor_Location__c vendLoc = new Vendor_Location__c(Name = 'mytestven1 (sgfsdf)',
                                        RecordTypeId = '01280000000BTSPAA4',
                                        Locationnew__c = loc.ID,
                                        Vendor__c = vend.ID,
                                        PO_Number__c = 'sgdfds',
                                        Commencement_Date__c = date.today(),  //.parse('1/1/2009'),
                                        Vendor_Account_Number__c = 'sgfsdf',
                                        Quickbooks_Account_Name__c = 'QB Account Name',
                          				           
                                        Billing_Vendor__c = vend.ID);
        insert vendLoc; 
        vendLoc = [select ID, Locationnew__c from Vendor_Location__c where Locationnew__c = :loc.ID Limit 1];
        System.debug('vendloc = ' + vendLoc + '   Loc.ID = ' + loc.ID);
        vendorBillRecord.Vendor_Location__c = vendLoc.ID;
        
        insert vendorBillRecord;
        
        invoiceDetails.Vendor_Bill__c  = vendorBillRecord.Id;/*Save Error: Initial term of field expression must be a concrete SObject List<Invoice_and_Billing_Detail__c>*/
        update invoiceDetails;
        
        delete invoiceDetails; 
    }

Any help would be great!

 

Thank you in advance.

  • February 03, 2012
  • Like
  • 0

We have validations through the system that should not affect other users.

 

How can I add a formula to existing validations to say that if the person is under this role, ignore?

 

 

  • October 21, 2011
  • Like
  • 0

We have a dilemma where we have two sandboxes. One is a temporay sandbox and the other is good for a year. We did some major development in a full sandbox that we are not ready to move to the live instance yet. The problem is that development ended up on the temporary sandbox which will expire in a few weeks. Is there a way to move our changes from a full sandbox to another full sandbox?

 

If there is please direct me to the reference on how to do this.

 

Thank you in advance.

  • September 09, 2011
  • Like
  • 0

I have fields that add up the number of days. I want the formula to pick the mininum number out of the Days it has counted. What it is doing is if the number of days is zero it chooses that as its min. How do I get it to ignore zero?

 

Example:

 

NoDaysOne = 0

NoDaysTwo = 52

NoDaysThree = 60

 

Out of these three number of Days I want to return 52 (the real min)  not 0.

 

Current formula:

 

 

Min( NoDaysOne__c , NoDaysTwo__c , NoDaysThre__c)

 

Any ideas?

 

  • May 13, 2011
  • Like
  • 0

We currently have a formula that does not allow the user to enter a start date less than the current period. The problem is, this formula below works with the ISNEW. Users are figuring out that if they save the new record, the next time they edit they can put in any date they want. How can I get this formula to work evertime the record is edited?

 

 

And(If (year(Start_Date__c)*100+month(Start_Date__c)<year(today())*100+month(today()),True, False),isnew())

 

Thank you in advance!

 

  • May 12, 2011
  • Like
  • 0