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...
Suggested answer

Add Work Description field on Sales Header into Customer Ledger Entries

(0) ShareShare
ReportReport
Posted on by 415

Hi, I am trying to Add Work Description field on Sales Header into Customer Ledger Entries, obviously this isn't available currently, is there an easy way to add this?

  • Suggested answer
    JAngle Profile Picture
    JAngle 63 on at
    RE: Add Work Description field on Sales Header into Customer Ledger Entries

    The standard code is a starting point. OnAfterGetRecord trigger for the customer ledger entries page you can check if the sales invoice header relating to the customer ledger entry. Of course "invoices" can be from general ledger entries so you'll need a logic to handle that and credit memos. A blob field won't be needed as the standard function returns a text to display on the page.

    GetWorkDescriptionWorkDescriptionCalculated() : Text

    IF NOT "Work Description".HASVALUE THEN

     EXIT('');

    CR[1] := 10;

    TempBlob.Blob := "Work Description";

    EXIT(TempBlob.ReadAsText(CR,TEXTENCODING::UTF8));

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans