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

(This transaction has been marked for settlement by Customer Payment XX-000000765 in company xxx.)

(1) ShareShare
ReportReport
Posted on by 5
Hi ,
 
The REQUIREMENT is to import the customer payment journal lines.
 
 
Getting Error while importing customer payment journal lines with more than 1 lines having same invoice id and diff amount  .
I am trying to import the data like below using the custom data entity (exact copy of standard customer payment journal lines entity ) with little changes like having extra fields like sales id.
 
CUSTACCOUNT INVOICETOBEMARKED CUSTPAYMMODE CREDIT SalesId
ABC INV001 CC 1000 s001
ABC INV001 CASH 2000 s001
 
But getting this error in DMF for each lines This transaction has been marked for settlement by Customer Payment XX-0(00000765  in company xxx.)
 
Is it possible to import such journal lines and post it successfully ?
I am able to make such journal line manually using the settlement transactions menu and editing the settle amount for each payment journal line.
 
 
please suggest the X++ code to import the journal lines correctly .
 
I have the same question (0)
  • Suggested answer
    Anton Venter Profile Picture
    20,656 Super User 2026 Season 1 on at
    Hi,
     
    Please explain how you are getting the DMF import to do customer payment settlements? To answer your question about how to do the settlements in code, have a look at  CreditCardPaymentJournal class, settlePayment method as an example. This code needs to be adapted to handle multiple payments instead of just a single payment.
     
     
     
  • Poonam Verma Profile Picture
    74 on at
    See if this resolves the issue: try running the Marked Transaction Detail under Periodic Tasks in the Accounts Receivable module by customer account. If the invoice is selected for settlement in a different journal, you should be able to unmark the transaction from there.
     
  • Suggested answer
    BillurSamdancioglu Profile Picture
    20,713 Most Valuable Professional on at
    You can not have two lines with the same invoice number.
    You can not do manually and by DMF.
    It is not possible to do with X++,
    You may first post one line with a journal, And then post in another journal.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans