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

Method executed for creating lines on CustTrans when posting a LedgerJournal

(0) ShareShare
ReportReport
Posted on by 352

Hello Everyone
Please, what is the method executed for creating lines on CustTrans when posting a LedgerJournal ?
My need is to see the code which get the settings from AR/Setup/Accounts receivable parameters >> Ledger and sales tax >> Bill of exchange/Bill of exchange (And Bill of exchange/Protest bill of exchange).
So I can setup other types of Cust bill of exchange specifically in other forms and depending on some parametrs I can post my bill of exchange on the right Summary account (Which we have in Customer posting profile)

Thanks.

I have the same question (0)
  • Suggested answer
    LDuncan Profile Picture
    Microsoft Employee on at

    If someone knows this off the top of their head please chime in, this is not something I know but you can utilize the tracing cockpit in the AX IDE to capture the entire stack of most any process.  From there you can analyze things like SQL statements or method parameters which may be helpful in discerning the specific code path you want to investigate.  The documentation linked below may help you if you're not familiar with the Tracing Cockpit

    docs.microsoft.com/.../tools-for-monitoring-performance

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi JauB,

    If you have access to DevBox you can always use cross-references to find places where a certain object is used.

    Posting itself is much more complicated than just method, but for CustTrans all code is stored in CustVoucher* classes.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 688

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 301

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans