Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to compute for debit that has negative value without including the credit value?

Posted on by 133

Hi,

In the vendTrans table, both debit and credit are stored in amountCur.

Example:

Debit: -10 and -20, which means that it's on the left side.

Credit: 50 (this is on the right side)

When I add all the debit, it also includes the credit: 50, which gives the total -80.

How should I compute the debit (-30) only?

Thanks!!

*This post is locked for comments

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: How to compute for debit that has negative value without including the credit value?

    Hello Marykate,

    AX usually calculates debit values as positive numbers and credit values as negative numbers.

    The negative debit amounts of -10 and -20 are actually credits that add to the existing -50 credit that you have resulting in a total of -80.

    What is the issue with the -30 and what do you want to calculate and where exactly (in the AX client, Excel, AOT tables, ... )?

    Would be great if you could clarify.

    Many thanks and best regards,

    Ludwig

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans