You need to sign in to do that
Don't have an account?
kiran raju 19
Merge two custom date fields
Hi all,
I want to merge the two date fileds in opportunity module. In have record type for opportunity object in that in want to merge the Shippment date and delivery date as one filed.
Can anyone help me over here.
Thanks in advance,
raju
I want to merge the two date fileds in opportunity module. In have record type for opportunity object in that in want to merge the Shippment date and delivery date as one filed.
Can anyone help me over here.
Thanks in advance,
raju
You can create a formula field that will display the concatenated value.
The formula field would be of type text and would have formula similar to
FieldName1+ ‘ ‘ +FieldName2
Best Regards,
Sandhya
Thanks for the replay, is there any other way with out using formula field.
As far as I understand your question you need a custom field that has concatnated value of Shippment date and delivery date. One thing you can do is you can create a custom field and a Apex class. In Apex class query both the fields and store it in seperate lists. Now run a for each loop on both the lists and do following:
1. //Create opportunity instance
2. Now in a temp string variable store "String.parse(instance.shippingDate) + String.parse(instance.deliveryDate)".
And this should do the job.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha