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

Hi My Requirement is
Hi All,
I have create a formula field in Quote object, formula is Product - Date - Quote no then Click on Save button it will reflect all the recored of this value.
My requirement only it should effect on New Record only.
how can i resolve this value
Thaks in advance.
I have create a formula field in Quote object, formula is Product - Date - Quote no then Click on Save button it will reflect all the recored of this value.
My requirement only it should effect on New Record only.
how can i resolve this value
Thaks in advance.
IF(DATEVALUE(CreatedDate) > = DATE(2014,06,25), Customer_Quote_Name__c, ' ' )
All Answers
You can use DATE(year,month,day) function in formula field to achieve this.
IF(CreatedDate> = DATE(year,month,day), 'your Value', ' ' );
i tried to acces your if code but no result, can u pls share some inputs of this issue. My forumla value is:
Product__r.Name & " - " & Text(DAY(Customer_Quote_date__c))+"/" +Text(MONTH(Customer_Quote_date__c))+"/" +Text(YEAR(Customer_Quote_date__c)) & " - " & Name
You can create two formula field.
Use First formula Like this:
Formula1 = Product__r.Name & " - " & Text(DAY(Customer_Quote_date__c))+"/" +Text(MONTH(Customer_Quote_date__c))+"/" +Text(YEAR(Customer_Quote_date__c)) & " - " & Name
And Second formula Like this:
formula2 = IF(CreatedDate> = DATE(2014,06,25), Formula1, ' ' );
Try this..
it's not working, pls give me any idea about this.
and what result are you getting in formulas.
create formula-2 field and execute
IF(CreatedDate> = DATE(2014,06,25), Product__r.Name & " - " & Text(DAY(Customer_Quote_date__c))+"/" +Text(MONTH(Customer_Quote_date__c))+"/" +Text(YEAR(Customer_Quote_date__c)) & " - " & Name, ' ' );
getting Error: Syntax error. Found '='
Second Error: Incorrect parameter type for operator '>='. Expected DateTime, received Date
with your formula Field Name Like: Formula__c
it will work
IF(DATE(CreatedDate) > = DATE(2014,06,25), Product__r.Name & " - " & Text(DAY(Customer_Quote_date__c))+"/" +Text(MONTH(Customer_Quote_date__c))+"/" +Text(YEAR(Customer_Quote_date__c)) & " - " & Name, ' ' );
Error: Incorrect parameter type for operator '>='. Expected DateTime, received Date
IF(DATE(CreatedDate) > = DATE(2014,06,25), Product__r.Name & " - " & Text(DAY(Customer_Quote_date__c))+"/" +Text(MONTH(Customer_Quote_date__c))+"/" +Text(YEAR(Customer_Quote_date__c)) & " - " & Name, ' ' );
use above formula getting this error Error: Incorrect number of parameters for function 'DATE()'. Expected 3, received 1
Second Formula Field name : Customer_Quote_Name1__c
using Formula --> Text field
IF(DATE(CreatedDate) > = DATE(2014,06,25), Customer_Quote_Name__c, ' ' );
This formula will display values for todays created records.
If records are created before today, it will not display any values in this.
This formula executed on Second Formula field right,
if right getting same error else pls tell me where this formula executed
Use this in second formula:
IF(DATEVALUE(CreatedDate) > = DATE(2014,06,25), Customer_Quote_Name__c, ' ' );
Now it will work.
IF(DATEVALUE(CreatedDate) > = DATE(2014,06,25), Customer_Quote_Name__c, ' ' )
it's working.
Thanks for your Help.