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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

DMF Import reference to JournalBatchNumber for Customer Payments

(0) ShareShare
ReportReport
Posted on by 10

I have bee trying to get the DMF import for "Customer payment journal line settled invoice" to work as outlined in the link below.

A sample import file is attached.

I keep getting a staging error - The value 'NPC-000053385' in field 'Journal batch number' is not found in the related table 'Customer payment journal header'.

I export via DMF the header table and the JournalBatchNumber does seem to exist.

Am I missing a configuration setting or a formatting issue?

Thanks

Customer payment journal and settlement of invoices - Dynamics 365 Finance Community

/cfs-file/__key/communityserver-discussions-components-files/765/Sample-Inv-Settle-Load.xlsx

I have the same question (0)
  • Suggested answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    Do you have journal created with number NPC-000053385 and with lines in it? If not try creating journal insert lines and then try to import payments for settlement as described in the post.

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,679 Super User 2025 Season 2 on at

    Hi Dwight00,

    When you want to import data for "Customer payment journal line settled invoice", you need to import data with in regards to journal batch number and journal line number

    pastedimage1674834988915v1.png

  • Dwight00 Profile Picture
    10 on at

    I have created the payment journal and am using the journal batch number it is displaying.

    As mentioned, I have exported the the customer payment journal header table and it shows the journal batch number I am trying toi import.   It just does not seem to recognize it.

    Dwight

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,679 Super User 2025 Season 2 on at

    Do you import data in correct company? since the error message that you mentioned is reflecting that the journal does not exists.

    Can you try to perform settlement manually (mark transaction to journal line) in the journal and then export data from  "Customer payment journal line settled invoice", then compare the file against the file that have used for import. If it does not have any difference, try to remove the settlement in the journal (unmark the transaction and import the Excel file that you have just exported, to check if you can import data.

    If you can import data, the root cause can be related to data or format in the Excel file.

  • Dwight00 Profile Picture
    10 on at

    Thanks I have gone back and performed a test of entering invoices , a customer payment, one line and two through the user interface.    Upon exporting via DMF< I get the appropriate customer payment journal header and line data in excel, but nothing is being exported via the customer payment journal line settled invoice, even though the invoices are being shown as settled against a payment.

    Thoughts as to what might be causing the missing link?

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,679 Super User 2025 Season 2 on at

    Hi Dwight00,

    Please check if the entity in the export data job have mapping for export:

    pastedimage1675150154161v1.png

    pastedimage1675150192679v2.png

    If not, please try to re-generate mapping for the entity and then create a new export job and add the entity, then control if there is mapping for export.

    pastedimage1675150261986v3.png

    PS. It is possible to add the mapping manually.

  • Dwight00 Profile Picture
    10 on at

    I have focused on getting the export of the settled invoice entity to work.

    For some reason, it is only exporting unposted journals?   Any ideas?  I do not see any filter being applied in my DMF project.

    I have also noticed that when I look at the generated mapping, I get a warning:

    "Fields that are enabled for country/region CA are available for mapping".   When I add the column for "Is Field Enabled", all indicate "Y".

    Thanks

    Dwight

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,679 Super User 2025 Season 2 on at

    Hi Dwight,

    Regarding the export, I suggest that you create a new export job since the existing data job may have filter for export specific records.

    If you want to export "Customer payment journal line settled invoice" for journal that is posted, it will not export any record. Once a journal posted the settlement lines will be removed from the journal.

  • Dwight00 Profile Picture
    10 on at

    What was unclear from the initial article for settlement of invoices via DMF entity was that the payment journal must not be posted in order for the Settlement invoice import to find the referenced payment journal batch number.

    All now works as long as the payment journal is not posted. 

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 464 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans