web
You’re offline. This is a read only version of the page.
close
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...
Answered

Work Descriptions in posted sales Invoice header

(2) ShareShare
ReportReport
Posted on by 286
Hi Guys,
 
i need to be able to edit the work descriptions on the posted sales invoice header.
i have tried giving the page permission rmid but still no luck.
 
can anyone surgest a way to do this?
 
Thanks
M
I have the same question (0)
  • Suggested answer
    Gerardo Rentería García Profile Picture
    25,384 Most Valuable Professional on at
    Hi
    You would have to make an adaptation to the standard functionality of editing registered documents.
    https://learn.microsoft.com/en-us/dynamics365/business-central/across-edit-posted-document?wt.mc_id=MVP_354389 
    You could rely on this:
    https://yzhums.com/24923/ 
    Pay attention that this field is a blob field.
    BR
    GR
  • Suggested answer
    Valentin Castravet Profile Picture
    31,510 Super User 2025 Season 2 on at
    Its not possible out of the box. Posted documents/entries are not allowed to be modified in Business Central. This is true system wide except for certain exceptions (several fields). This is done to maintain data integrity and have an audit trail. 
     
    In a posted sales invoice there is an Update Document button that does allow modifying several fields (the exceptions mentioned above) in the posted document. If you want to modify the work description a developer would have to customize the system to add the work description as one of the fields that can be modified when using this Update Document button. 
     
     
  • Netjacker2097 Profile Picture
    286 on at
    Thanks Guys, apriciate it. i will create a Codeunit to handle it.
    Will post later on what is built for code unit.
     
    Thanks Again.
    Michael.
  • Verified answer
    YUN ZHU Profile Picture
    95,750 Super User 2025 Season 2 on at
    Hi, just adding some key points, hope it helps you too.
     
    Thanks.
    ZHU
  • Netjacker2097 Profile Picture
    286 on at
    @YUN ZHU,
     
    from your sample, i have now done what is needed, this is just the frist sample i did to get the blob text. will buid the OutSTream later. But thanks for your guidance :)
        local procedure ReadDescBLOB(): Text
        var
            TypeHelper: Codeunit "Type Helper";
            InStream: InStream;
        begin
            Rec.CalcFields("Work Description");
            Rec."Work Description".CreateInStream(InStream, TEXTENCODING::UTF8);
            exit(TypeHelper.ReadAsTextWithSeparator(InStream, TypeHelper.LFSeparator));
        end;

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,092

#2
YUN ZHU Profile Picture

YUN ZHU 663 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 515

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans