Notifications
Announcements
No record found.
Hi All,
I have a requirement where I need to pull all the customer payments posted for a date provided.
Can I have some x++ code for this please?
Thanks all in advance!!
Hi D365 Wibes,
Can you indicate if you need customer transactions without an invoice ID and negative amount, assuming it is a payment or are the payments always directly settled with the invoice?
Hi Andre,
Thanks for your response.
I need payments always directly settled with the invoice.
Also if would be helpful if you can suggest me both so that I can explore the both and see the difference.
Hi,
It can be hard to understand a transaction is a payment or not unless you have certain rules. I advise always to use payment journals for this purpose.
HI Andre,
Could you please give some suggestions?
Hi Billur,
Can you please give some code for this ? I mean to pick up the posted payment journals
In the CustTrans table, if the field InvoiceId is filled, it would be an invoice or credit note. When this field is not filled, it could be a payment , write off or correction. You would then need to know the source of customer transaction. Like Billur mentioned, this could be a specific payment journal.
You can link two or more customer transaction records using the settlement details which are stored in the table CustSettlement.
Sorry I am not a developer:) Komi Siabi ?
Hi D365_Wibes ,
Just like André said, Please you can get your records from the custTrans table.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional