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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Cancellation Date error - External Type = 'Date' is not supported.

(5) ShareShare
ReportReport
Posted on by 160

Cancellation Date Integration Issue i tried changing the field type to date only and also this error come up External Type = 'Date' is not supported.

  • Suggested answer
    OussamaSabbouh Profile Picture
    20,887 Super User 2026 Season 2 on at

    Hello,

    The error is expected because ExternalType = 'Date' is not a supported Dataverse/CDS proxy external type in Business Central. Changing the Dataverse column to Date Only does not mean you should manually change the CDS proxy to ExternalType = 'Date'. Microsoft recommends generating CDS tables with the AL Table Proxy Generator (altpgen), which reads the actual Dataverse metadata and creates the supported AL definition. So I would revert the manual change, make sure the Dataverse Cancellation Date column has Behavior = Date Only (not just Format = Date Only), then regenerate the proxy table and use the field definition produced by altpgen. Also remove any manual +5:30 time-zone adjustment—the whole purpose of Date Only is that no time-zone conversion should be required. If you must keep your existing proxy temporarily, keep it as the supported DateTime/ExternalType = 'DateTime' definition and convert between the BC business field and the proxy using DT2Date() / CreateDateTime() rather than changing the external type to Date. In short: Dataverse Date Only ≠ ExternalType='Date'; change the Dataverse behavior, regenerate the CDS proxy, and let the generator determine the correct mapping. 

    Regards,
    Oussama Sabbouh

  • Suggested answer
    Grigorios Mavrogeorgis Profile Picture
    3,888 Super User 2026 Season 2 on at

    Hi, that error is only about the property value. 'Date' doesn't exist as ExternalType. On Dataverse side a date only column is still a DateTime attribute, just with other behavior. So leave ExternalType = 'DateTime' and change only the AL type of the field to Date.

    You can see the same in standard. Open table CRM Contact in the base app and look at BirthDate, it's declared as Date in AL, and as far as I remember the ExternalType there says DateTime. Better still, run the proxy generator (altpgen) again for that table after you changed the column in CRM, then you don't guess.

    Two more things. Your Cancellation Date in Customer Item Usage is still DateTime, so the mapping will be Date against DateTime, I'd make both Date. And the subscriber that adds 19800 seconds must go, with a Date field it has no meaning.

    Glad to help - follow up if anything is unclear.   

    ►  If this solved it, marking it verified helps others too.       

    Regards,
    Grigorios Mavrogeorgis
    Business Central Consultant & AL Developer

    Work: Gmsoft Limited
    Blog:  insidebusinesscentral
    LinkedIn: linkedin.com/in/gregorymavrogeorgis

  • Suggested answer
    D365BC_AmanKr Profile Picture
    291 on at

    Hi,
    This error occurs because Business Central’s Dataverse integration does not support the external type Date field directly. The practical fix is to map the CRM “Cancellation Date” field as a DateTime type instead of Date, ensuring BC can accept it. In CRM, keep the field as Date Only if needed for users, but expose it to Dataverse as DateTime (with time defaulted to 00:00). This way, when you synchronize, BC receives a valid DateTime value and posts it correctly without error.

    Example: CRM Cancellation Date = 2026‑10‑08 → Dataverse sends 2026‑10‑08T00:00:00 → BC accepts and posts the entry.

    Hope it will help you.
    Please Verify if you found the answer helpful so that it will help others.

    Many Thanks
    Aman 

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 633 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 419 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 236 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans