Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

Posted on by Microsoft Employee

I am working on a Bank Statement Import Data Exchange Definition. The bank detail transaction file from the bank contains a debit and credit column instead of a single column for the amount. How can I configure the Data Exchange Definition to import the debit and credit amounts into the Statement Amount field?

*This post is locked for comments

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

    Then you can write a new xml port that supports your need and switch to that object number in your setup.

    That will override the standard xml port used.

    docs.microsoft.com/.../across-how-to-set-up-data-exchange-definitions

  • Joe Pirozzolo Profile Picture
    Joe Pirozzolo 22 on at
    RE: Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

    I am, yes.  I've been writing a few extra pages etc, so happy to do some customization for this.

    Thanks.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

    Then it is probably the easiest way to write a small customization that fix that issue in the import.

    Are you on a version that supports AL?

  • Joe Pirozzolo Profile Picture
    Joe Pirozzolo 22 on at
    RE: Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

    Hi Inge,

    I am using the following setup for Bank Statement imports.  I have several feeds working okay, but they all have one column for the debits/credits.

    pastedimage1658756756076v1.png

    However the statement that is causing a problem has two columns (one debit and the other credit) both with absolute values.

    Normally that is fine, because you can set the multiplier on the debit to -1* and map the two fields to "Statement Amount" (and set the two as optional).

    But that only works if the empty credit/debit fields are blank.  In this case they are not and have zeros.  This is causing the problem as the debit always overwrites the credit column.

    Hope that makes sense, but any help is appreciated.

    Thanks

    Joe

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

    What method are you using for importing the bank statement and what format does it have?

  • Joe Pirozzolo Profile Picture
    Joe Pirozzolo 22 on at
    RE: Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

    Hi Laban,

    Did you get any joy with this?  I'm having the same issue.

    Kind Regards

    Joe

  • Laban Njogu Profile Picture
    Laban Njogu 5 on at
    RE: Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

    Hello,

    Is there a navision solution when the debit column is not blank (i.e. has zeros) when the credit column is populated?

    Possibly converting zero's in debit column to blank?

    Editing the bank excel is sub-optimal.

    Regards,

    Laban.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

    Hi sbuczek,

    The following solution will only work if the debit column is blank when credit column is populated and vice versa.

    In field mapping:

    - set debit column to statement amount and tick optional

    - set credit column to statement amount and tick optional

    Regards,

    Susy

  • ManishS Profile Picture
    ManishS 6,578 on at
    RE: Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

    community.dynamics.com/.../229255

  • Suggested answer
    dkatson Profile Picture
    dkatson 2,263 on at
    RE: Import Bank Statement-Combine bank detail file debit and credit into single Statement Amount field

    Use 1225 Data Exch. Field Mapping table.

    msdn.microsoft.com/.../dn495319(v=nav.90).aspx

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans