Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Electronic Reporting formula designer regarding ABR MT940 Format

(0) ShareShare
ReportReport
Posted on by 404

pastedimage1679387116480v3.png

pastedimage1679387353904v6.png

pastedimage1679386824200v1.png

Hello everyone, i'm trying to import a bank statement that has a bank account id that starts with :25: ,(Swift file) but i cannot import without adding a '/' manually, so i will become like that :25:/, im trying to create a formula in the formula designer that automatically adds the '/'. but im facing some issues. Note that Im using the latest format version.

  • D365FO DEV Profile Picture
    D365FO DEV 404 on at
    RE: Electronic Reporting formula designer regarding ABR MT940 Format

    i already tried to use this formula in the format mapping too, but its giving same error message. i dont know what is the problem if the formula is incorrect.

    i also tried this formula: SPLIT(    REPLACE(        REPLACE(format.StatementFile.FileContent,"(\r\n|\r|\n):25:","(\r\n|\r|\n):25:/",true)        , "(\r\n|\r|\n):20:", "?:20:", true)        , "?:20:")

    but its wrong too.

    ...

  • Suggested answer
    Arcadi  Profile Picture
    Arcadi 786 on at
    RE: Electronic Reporting formula designer regarding ABR MT940 Format

    MounirDev this formula was supposed to be used in the format mapping, not the mapping!

  • D365FO DEV Profile Picture
    D365FO DEV 404 on at
    RE: Electronic Reporting formula designer regarding ABR MT940 Format

    hi sir,

    please can you provide me with the formula that i can add in order to have the '/' automatically replaced, because i need to import ABR MT940 format, the swift format have a bank account that starts with :25: , i need it to be :25:/

    thanks alot

  • Suggested answer
    huijij Profile Picture
    huijij 19,811 on at
    RE: Electronic Reporting formula designer regarding ABR MT940 Format

    Hi sir,

    For the error message, the first argument to this replace function should be of type string, and you should try adding "" symbol.

    learn.microsoft.com/.../er-functions-text-replace

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,031 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,868 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans