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 :
Small and medium business | Business Central, N...
Suggested Answer

how to send custom field value into GL entry in Purchase Posting routine

(1) ShareShare
ReportReport
Posted on by 23
Hi.
I have a Custom field in the Purchase line table, a field name called 'Description2', on posting a purchase invoice, I want all 'description2' to copy into the Description2 field in GL Entry, Vendor Ledger entry, and Item ledger entry. 
 
Will you help with the code on the Event Subscription?  AL code.
 
to add to my code unit.
 
Warm Regards
Kri-Hafiz
  • Gerardo Rentería García Profile Picture
    27,621 Super User 2026 Season 2 on at
  • Hafiz@d365 Profile Picture
    23 on at
    thanks
     
    but i am not able to locate for event on the purchase line posting GL
     
    Warm regards
     
  • Suggested answer
    Dynamics_Decoded_Gokul Profile Picture
    487 on at
    Hi Kri-Hafiz, 

    Following of Description 2 for the Item is possible only for Item Ledger Entries and Value Entries. Since Item relative references are available only there. 

    OnAfterCopyFromItemJnlLine - in Item Ledger Entry Table use this event to copy the same 
     
    Thanks
    Gokulnath

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 452 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 371 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans