web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

I want a code to make a Settlement for the invoice with the payment IN X++

(1) ShareShare
ReportReport
Posted on by 6
HI
 
A question for those with experience
 
I am working on the screen  "Customer payment journal" to create a payment that I will send from API as follows:
 
This is what the payment looks like when it is sent to the screen "Customer payment journal"
 
 
=======================================================================================
I sent the payment correctly and was able to make an automatic post for the payment as well.
=======================================================================================
 
 
 
I want a way to make a settlement for the invoice with this payment using the code X ++... The value of the invoice "" is 185 and when sending a payment worth 21, the value of the invoice is supposed to become 164 after deducting 21, but that did not happen... I want a code X++to make a settlement for the invoice with the payment
 
 
Thank you for always helping me.
 
 
 
 
 
 
 
 
 
I have the same question (0)
  • Sohaib Cheema Profile Picture
    48,453 User Group Leader on at
    I want a code to make a Settlement for the invoice with the payment IN X++
    Hi,
    Use class named SpecTransManager and as you want to do partial settlement, you must call updateSettleAmount method before the settlement call

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,370

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 675 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans