Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Replenishment System Read Only Error

(0) ShareShare
ReportReport
Posted on by 70
On the Item Card page, under the Replenishment tab there is a field called ‘Replenishment System’. This can be changed whenever to any of the three values, and we used to be able to change this via API calls as well. There was an update sometime in the last year that changed something so that we could no longer update this field through the API, as it says that the field is read only, which is obviously not true. Does anyone know what could be causing this, or any potential work arounds (I’d rather avoid creating a whole custom page just to update this one field)? We really need to be able to update this via OData calls.
  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,194 Super User 2024 Season 2 on at
    Replenishment System Read Only Error
    Please create a page extension for Item Card and just set editable property to true for Replenishment System field.
     
       modify("Replenishment System")
            {
                Editable = true;
            }
  • Suggested answer
    Ben Baxter Profile Picture
    Ben Baxter 4,964 Super User 2024 Season 2 on at
    Replenishment System Read Only Error
    I don't know of any updates that make that field read-only.  I would be curious as to your reason for changing the field's selection.  The field is used to define the rule for the Item, such as we usually make it or we usually buy it.
     
    If I need to make an exception and purchase the Item, even though we normally make it, the Replenishment System does not prevent me from adding the Item to a Purchase Order.  In fact, the only real impact this field has on the system is the suggestion made by the Planning Worksheet.
     
    Regarding the read-only, check if you have any Extensions applied to the Item table that may be causing your issue.  It could also be something Microsoft updated, but I don't know why they would care whether an API had access to that field.
     
    Best Regards,
    Ben Baxter
    Accent Software Inc

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans