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

(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,346 Super User 2025 Season 2 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
    19,854 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

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans