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, ...
Answered

How To View Settlements Programmatically

(0) ShareShare
ReportReport
Posted on by 84

Hello everyone,

We are building a custom report and I am unsure how to fetch a customer's invoice settlements via code. From the CustTrans form, I select a voucher and decide to click on "View settlements" as seen below:

pastedimage1587995129395v1.png

This brings us to the following screen that I wish to fetch in a while select statement:

pastedimage1587995226018v2.png

I'd like to get all the records above in a while select statement (ex: ARI, REC, etc...) so that we can continue our custom report. Any ideas?

Thanks

I have the same question (0)
  • Verified answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Alex C,

    Information about customer settlements is stored in CustSettlement table.

    Link to customer transaction (CustTrans) is done by fields TransRecId or OffsetRecId.

  • Alex C Profile Picture
    84 on at

    Hello Sergei,

    Thanks for the reply.

    In my current case explained I went into the customer's transactions to view the settlements:

    Customer > Customer tab > Transactions > View Settlements

    Do we use the same table when viewing the settlements from the  invoice journal transactions? For example:

    Customer > Invoice tab > Invoice journals > Transactions > View Settlements

  • Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Alex C,

    Yes, it's the same form but only filtered by selected invoice.

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... 467 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans