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.
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
This issue is being continued and has been resolved here.
Regards.
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.
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,228 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156