web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Match amount Cur from vendtrans to ledgerTrans table whether amountcur in - or +?

(0) ShareShare
ReportReport
Posted on by 516

Hello,

I have one small problem. i have one voucher in vendtrans table i want to match that to ledgertrans table.

suppose vendtrans.

Accountnum voucher Transdate    amountCur

1       **123     7/31/2017   789546.00

and LedgerTrans

AccountNum    Voucher   Transdate    amountCur

123                     **123       7/31/2017   -50000.00

123                     **123       7/31/2017   -789546.00

321                     **123       7/31/2017   50000.00

321                    **123        7/31/2017   789546.00

now here i want to match these red line with amountcur whether amount cur in minus or plus give both line. i can match voucher and transdate. but when i am match ledgertrans amountcur to vendtrans cur. giving only plus amount. i want both 

and i do not know HOW, please help me.

Regards,

Akshay

*This post is locked for comments

I have the same question (0)
  • akshaykupra Profile Picture
    516 on at

    Hi, Crispin,

    I have tried this logic it is not giving any data in job.

    ledgerTrans.amountcur == -vendtrans.amountcur;

    only when i am doing then only i am receiving  value which is in minus.

    ledgerTrans.amountcur == vendtrans.amountcur;

    akshay

  • Verified answer
    akshaykupra Profile Picture
    516 on at

    Hi Crispin,

    you were right.

    i have used two time while select command.

    one for

    ledgerTrans.amountCur == (vendTrans.AmountCur)

    second

    ledgerTrans.amountCur == (-vendTrans.AmountCur)

    thank you

    Akshay

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans