Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Customer Outstanding tables

(0) ShareShare
ReportReport
Posted on by 45

Hi Team,

Kindly help on the below.

I want to get the outstanding balance for a customer for a particular period. and the below table is used for the same.

Now the balance which is in customer statement and as per below query by running rate range is not tallying. Kindly help me to get the tables.

Sql Query

SELECT SUM(AMOUNTCUR) FROM CUSTTRANSOPEN  WHERE ACCOUNTNUM = 'ABCCARGO'
AND TRANSDATE BETWEEN '2022-01-01' AND '2022-09-30'

  • Suggested answer
    Haig Liu Profile Picture
    Microsoft Employee on at
    RE: Customer Outstanding tables

    Hi Bibin TV,

    If you are using finance, it is recommended that you use the standard select statement:

    https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-data/xpp-select-statement#aggregate-functions

    Before you use a variable in this table, you need to declare it first.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans