Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Get TmpTaxWorkTrans From Ledger Journal

Posted on by 1,204

Hi. I'd like to get fields from TaxTmpWorkTrans through LedgerJournalTrans Table in LedgerJournalTransVendInvoice (AP -> Invoice Journal -> Lines) and LedgerJournalTransDaily (GL->General Journal -> Lines) Forms. 

1033.salestax.png

But, how does TaxTmpWorkTrans table relates with LedgerJournalTrans table? 

I checked the codes on TaxTmpWorkTrans form but couldn't understand how it works.

Would appreciate it if someone can explain and give me a better idea on how this TaxTmpWorkTrans really works.

Thank You. 

*This post is locked for comments

  • Verified answer
    HAIRUL HAZRI Profile Picture
    HAIRUL HAZRI 1,204 on at
    RE: Get TmpTaxWorkTrans From Ledger Journal

    This issue is being continued and has been resolved here.

    Regards.

  • HAIRUL HAZRI Profile Picture
    HAIRUL HAZRI 1,204 on at
    RE: Get TmpTaxWorkTrans From Ledger Journal

    Hi Andre,

    thanks for the clarification.

    But it's still confusing.

    To be exact, how can I get the TmpTaxWorkTrans.TaxCode, TmpTaxWorkTrans.SourceBaseAmountCur and TmpTaxWorkTrans.TaxAmount from LedgerJournalTrans?

    I found ways to get it from PurchTable and SalesTable. They have calc() method in PurchTotals and SalesTotals class and then able to get the TmpTaxWorkTrans from tax() method in those classes.

    What is the equivalent class that has the calc() and tax() method for LedgerJournalTrans?

    Thank You.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,228 Super User 2024 Season 2 on at
    RE: Get TmpTaxWorkTrans From Ledger Journal

    Hi Hairul,

    The table you mentioned is a temporary table used and created on this form. If there are changes applied, it will be stored in the table TaxWorkRegulation.

    Upon opening this form, the changes in TaxWorkRegulation are being read and presented in the temporary table. If there are no changes applied, it will retrieve information from the journal line and present the calculated amounts.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans