web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

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

Updating field on released document through code

(0) ShareShare
ReportReport
Posted on by 3,263

Hi All

I have created a new field on the purchase header table, and now I want to update the field through a code unit triggered via a job queue. Is there any data integrity issues by directly updating fields on a released document? Looking for advice on if certain inserts/updates are not allowed or not recommended

Thanks

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    135 on at

    In this scenario if the field is controlled by code and the user has a controlled influence you’re set. There are instances where altering a posted document is ok. Like a posted sales shipment. You can add the tracking number once created.

  • Samantha73 Profile Picture
    3,263 on at

    Thanks Josh

    Is there any documentation on which fields we can update (via code) on posted documents as it seems a bit risky to update posted documents and may have issues on upgrade time  

  • Indira88 Profile Picture
    980 on at

    Hi Samantha,

    If there is a need to update posted documents you could refer to the code unit where there is a forcible way to update the posted tables 1405 "Purch. Inv. Header - Edit".

    Hope this helps!

    Indira

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

News and Announcements

Season of Giving Solutions is Here!

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 1,573

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 773 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 760 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans