Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

how to pick only DEBIT amount from amount cur feild from vend trans

(0) ShareShare
ReportReport
Posted on by 2

Hi All,

Can you please let me know how to pick only DEBIT amount from amount cur?

This is my requirement. I need to display vendor account with debit amount and other fields also...

8054.vendtrans.jpg

Kindly give me the logic for to pick ONLY DEBIT AMOUNT from amount cur field.

Please give me more shed on this.

Thanks!

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: how to pick only DEBIT amount from amount cur feild from vend trans

    Good Morning @rp@n,

    The isCredit checkbox is not available in the VendTrans table but in the GeneralJournalAccountEntry table that Will WU mentioned.

    If you want to use this one for vendtrans related records you would have to create some complex query to get a hold on this field as there is no direct relationship between VendTrans and GeneralJournalAccountEntry.

    Yet, I am not sure whether this is the better approach because all depends on how your finance colleagues post. As an example posting -5 USD in the credit field could be considered as a debit and vice versa. This transaction can be considered as a debit transaction but it might also be related to a correction that has been made. For that reason, I would recommend not only looking at the sign / column but also to take the additional fields such as e.g. the transaction type into consideration to identify the underlying nature of the transaction.

    Best regards,

    Ludwig

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: how to pick only DEBIT amount from amount cur feild from vend trans

    Thanx Ludwig

    As of now I applied logic as you suggested the second one. Could you please let me know how to use the logic for "IsCredit" check box ?

    Please give me more shed on this.

    Thanks!

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: how to pick only DEBIT amount from amount cur feild from vend trans

    Hi @rp@n,

    The IsCredit checkbox is one option to filter the records. Yet, it requires that you don't post with opposite signs on the debit/credit side.

    What you can try alternatively is filtering for amounts larger than 0 because debit amounts are 'positive' ones while credit ones are the ones that post with a negative sign.

    Best regards,

    Ludwig

  • WillWU Profile Picture
    WillWU 22,352 on at
    RE: how to pick only DEBIT amount from amount cur feild from vend trans

    Hi @rp@n,

    Please check the 'IsCredit' field in table 'GeneralJournalAccountEntry ', and you can use it as a condition of sql statement.

    Please see the old thread:

    community.dynamics.com/.../869587

    Hope this helps.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans