web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Calculated Field on Import solution : You can only use a Date Only type

(0) ShareShare
ReportReport
Posted on by 66

Hi,

I'm importing the unmanaged solution to the CRM system and getting below error on custom calculated field 

Data type: Date & Time

Behaviour: Date Only

Format: Date only.

Please suggest. Much appreciate if you would respond quickly.

Regards,

Sumit 

*This post is locked for comments

I have the same question (0)
  • Bhaargavi Bodapati Profile Picture
    115 on at

    Could you post a screenshot and log record of your error?

  • Sumit Desai Profile Picture
    66 on at

    07:21:49.45 Field Opportunity.currentdate Failure 0x8006043A You can only use a Date Only type of field.

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Sumit,

    This information may not be enough to suggest anything. Could you please share some more details like the error message, log file & screenshot.

  • Sumit Desai Profile Picture
    66 on at

    07:21:49.45 Field Opportunity.currentdate Failure 0x8006043A You can only use a Date Only type of field

    This message is  what in log file I downloadedCRM-err.png

  • Suggested answer
    Bhaargavi Bodapati Profile Picture
    115 on at

    Hi Sumit,

    Check if there is a mismatch in the data type of the field within the 2 environments where you are trying to import

  • Sumit Desai Profile Picture
    66 on at

    Thanks

    Target environment is the fresh copy of CRM solution and this field is custome filed in a source environment

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Sumit,

    You sure its a custom field cause it says opportunity.currentdate, I would expext the schema name as well if this is a custom field like new_currentdate.

    Is it possible for you to remove the field from the solution and then try again. This will confirm if this is because of the field or something else.

    If this doesn't help, you can also break your solution into small sub solution and then track where exactly its failing (may be entity wise).

  • Sumit Desai Profile Picture
    66 on at

    Its a Custom field, there is a schema name but i purposely removed that. Its failing there only at this field as per the log file . I cant remove this field. its has dependancy  

  • EDM1 Profile Picture
    on at

    Sumit,  I am having the same issue.  The field works fine in development, but I cannot import a solution with this field into a clean CRM instance.  My field is defined as DateTime, Date Only behavior, Date Only format.  It is a Calculated Field producing Today's Date using the Now() function to compare to other Date Only fields within the entity.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans