Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

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

(1) ShareShare
ReportReport
Posted on by 13
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
  • Suggested answer
    Tech_BC_Gokul Profile Picture
    331 on at
    how to send custom field value into GL entry in Purchase Posting routine
    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
  • Hafiz@d365 Profile Picture
    13 on at
    how to send custom field value into GL entry in Purchase Posting routine
    thanks
     
    but i am not able to locate for event on the purchase line posting GL
     
    Warm regards
     
  • Gerardo Rentería García Profile Picture
    20,775 Most Valuable Professional on at
    how to send custom field value into GL entry in Purchase Posting routine

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans