Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
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"

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans