Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Get TmpTaxWorkTrans From Ledger Journal

(0) ShareShare
ReportReport
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,391 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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans