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?
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?
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));
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,430
Most Valuable Professional
nmaenpaa
101,156