Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

How to transfer a custom field from LedgerJournalTrans to GeneralJournalEntry / GeneralJournalAccountEntry when posting the journal?

Posted on by 1,650

Hello,

I'm facing the requirenment to transfer the data of a custom field (e.g.: LedgerJournalTrans.MyCustomField) to the corresponding general journal table (e.g.: GeneralJournalEntry.MyCustomField), when the journal is posted.

I found some posts in this forum pointing to a solution in AX2012, but D365 is quite different regarding the use of extensions. Also at some point a helpful blog is linked on "VSITGLOB", which isn't available any more.

How could this be solved in D365?

Thanks in advance for any hint.

Sebastian

  • Suggested answer
    Sebastian Aurand Profile Picture
    Sebastian Aurand 1,650 on at
    RE: How to transfer a custom field from LedgerJournalTrans to GeneralJournalEntry / GeneralJournalAccountEntry when posting the journal?

    After searching a bit more I found a solution:

    samidax.wordpress.com/.../

    To summarize:

    - Add the custom field to LedgerJournalTrans, GeneralJournalAccountEntry and LedgerPostingTransactionTmp table

    - Create an extension (COC) of the class "LedgerVoucherTransObject"

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans