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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Using data exchange definitions and transformation rules to change date formats

(0) ShareShare
ReportReport
Posted on by 45

I'm trying to import a bank statement. I've setup a data exchange definition and using dd-M-yy for my date format because the incoming data is in the format 01-Feb-21 for example. I get an error message though because it doesn't like the date format.

pastedimage1617794838284v1.png

To bypass this I setup a transformation rule to replace "Feb" with "02" and that works, but I want it to also automatically translate Jan to 02, Mar to 03, etc. How can I setup this kind of replacement rule?

This is the transformation rule:

pastedimage1617794891893v2.png

This is my field mapping:

pastedimage1617795011279v5.png

these are my column definitions:

pastedimage1617794978858v4.png

I have the same question (0)
  • Verified answer
    Andy Sather Profile Picture
    on at

    Have you tried setting up additional Transformation rules to accommodate the other dates?  Then you can use the field Next Transformation, so it would cycle through all the available options.

  • patrickwantenaar Profile Picture
    45 on at

    Hi Andy

    Yes this is what I have done. I was hoping there was a way to do this without needing one rule for each month. As it is only 12 rules it doesn't take that long anyway and I have done it but I was wondering if there was a smart way to do it without needing that.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans