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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

which method is called when posting timesheet transactions.

(0) ShareShare
ReportReport
Posted on by 167

Hi, 

I have a requirement in which I need to change the amount by using some calculations for both intercompany and non intercompany , but not able to identify where the amountMST and amountCur field is getting filled when the voucher transactions are created after posting the timesheet 

I need to do change the amount field for both posting type : Project allocation and project cost.

Please suggest me method, the amount field is getting filled for both for both intercompany and non intercompany. I tried to debug but it is always jumping on TSTIMESHEETSPOST class.

Thanks in advance!!

I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,833 Moderator on at

    Hi D365 ER,

    amountMST and amountCur fields come from GeneralJournalAccountEntry table.

    So, you can do "find Reference "of that table and see where it is used.

    If you don't get any idea from, find reference, then you can create either event handler or COC for GeneralJournalAccountEntry insert method and add a break point. Now post a timesheet and you can see the debugger will hit on the insert method (event handler or COC).

    You can see the call stack window when insert method code is hit to see from which class or method the insert method is being called.

    After getting an idea you can delete the class that contains event handler or COC for insert method.

    Thanks,

    Girish S.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 259

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans