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 :
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'

I have the same question (0)
  • Suggested answer
    Haig Liu Profile Picture
    Microsoft Employee on at

    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

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans