[Vendor] [Subcontracting] WIP Ledger Entries remain editable after production order is Finished or Deleted
Bug
Area: AI Business Solutions / SCM / Manufacturing
Environment
- Business Central Wave 1 2026 (Update 28.x) / master branch
- Localization: W1 (any)
- Roles: Manufacturing user with permissions to create/process/finish/delete production orders and view WIP Ledger Entries
- Manufacturing setup configured for subcontracting (work center linked to a subcontractor vendor)
Prerequisites
- A manufacturing item with a routing that includes a subcontracting work center/operation
- A vendor flagged as Subcontractor and linked to the subcontracting work center
- Inventory Setup: WIP posting enabled for Manufacturing (Inventory Posting Setup has WIP Account configured for the relevant Location/Inventory Posting Group)
- General Posting Setup has WIP Account / WIP Account (Interim) defined where applicable
Repro Steps
Path A - Production Order set to Finished
- Create a Released Production Order for the manufacturing item with subcontracting (Manufacturing > Released Production Orders > New).
- Calculate Subcontracts (Released Prod. Order > Actions > Functions > Calculate Subcontracts) to generate the subcontracting purchase order line.
- Create/post the subcontracting Purchase Order (receive and invoice) so subcontracting cost flows to WIP.
- Post output and consumption journals as needed so WIP Ledger Entries are generated for the order.
- Change Status of the Released Production Order to Finished (Actions > Functions > Change Status > Finished).
- Open the Finished Production Order card, drill into WIP Ledger Entries (or navigate via Production Order > Related > Entries > WIP Ledger Entries).
- In the WIP Ledger Entries page, attempt to modify any field (e.g., Description, Document No., Dimensions).
- Observe: fields can be edited and changes can be saved.
Path B - Production Order Deleted
- Repeat steps 1-4 above to create WIP Ledger Entries for a Released Production Order.
- Delete the Released Production Order (Released Prod. Order > Delete) - the order is removed but WIP Ledger Entries persist.
- Navigate to WIP Ledger Entries (search "WIP Ledger Entries" in Tell Me) and filter to the deleted order's Order No.
- Attempt to modify any field on the resulting entries.
- Observe: fields can be edited and changes can be saved.
Expected Behavior
WIP Ledger Entries should be read-only/non-editable once the source production order has reached Finished status or has been deleted, consistent with the immutability of other posted ledger entries (e.g., Item Ledger Entries, Value Entries, G/L Entries) in Business Central.
Actual Behavior
WIP Ledger Entries remain fully editable after the production order is set to Finished and after it has been deleted, allowing unintended modification of posted financial/operational data.
Notes
- Likely root cause: the WIP Ledger Entries page (or table) is missing
Editable = falseat the page level, or is missing the standard "InsertAllowed/ModifyAllowed/DeleteAllowed = false" pattern used by sibling ledger-entry pages. - Compare to Item Ledger Entries / Value Entries pages for the canonical read-only pattern.
- Primarily a data integrity issue.
Internal workitem: AB#636827
:robot: AI triage completed. Product group, please validate the triage report (Microsoft internal access only, use Ctrl+Click to open in new tab).
Was this triage helpful? React with :thumbsup: or :thumbsdown: on this comment to provide feedback.