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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Get TmpTaxWorkTrans From Ledger Journal

(0) ShareShare
ReportReport
Posted on by 1,214

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

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,727 Super User 2025 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.

  • HAIRUL HAZRI Profile Picture
    1,214 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
    HAIRUL HAZRI Profile Picture
    1,214 on at
    RE: Get TmpTaxWorkTrans From Ledger Journal

    This issue is being continued and has been resolved here.

    Regards.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 3

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans