[Contribution Process Bug]: explode BOM is ignoring tracking line validation
Nobody has claimed this yet.
- Dominant language
- AL
- Stars
- 683
- Forks
- 459
- Avg merge
- 3d 26m
- Merged PRs (30d)
- 633
Description
Describe the issue
When using the explode BOM functionality on the purchase order line where a trackingline is in place, it will not be removed or give an error for a trackline. The trackingline stays in place while the original purchase line is transformed into a comment line.
Expected behavior
When executing a Explode Bom, and there is a trackline in place for the purchase order line, please give the error that always shows up when changing such a line. The error below is when you change the No. of the item in the purchase line with a validated modify.
If requesting support, please provide the following details to help troubleshooting:
Error message:
Item tracking is defined for item CC253023 in the Purchase Line.
You must delete the existing item tracking before modifying or deleting the Purchase Line.
Internal session ID:
c19b8075-ca94-43ef-a721-45b39f1a19db
Application Insights session ID:
ac27f1b6-9b1d-42e6-b424-aecde36944bb
Client activity id:
5cb41c84-ac80-4d5c-b8d4-2cc6066588e2
Time stamp on error:
2026-09-15T14:07:24.2479607Z
User telemetry id:
0ff986a8-35ce-4edc-94a5-8c2379d6c9cd
AL call stack:
"Reservation Management"(CodeUnit 99000845).CheckQuantityIsCompletelyReleased line 14 - Base Application by Microsoft version 28.4.53241.54346
"Reservation Management"(CodeUnit 99000845).DeleteReservEntries line 167 - Base Application by Microsoft version 28.4.53241.54346
"Reservation Management"(CodeUnit 99000845).DeleteReservEntries line 22 - Base Application by Microsoft version 28.4.53241.54346
"Purch. Line-Reserve"(CodeUnit 99000834).VerifyChange line 81 - Base Application by Microsoft version 28.4.53241.54346
"Purchase Line"(Table 39)."No. - OnValidate"(Trigger) line 35 - Base Application by Microsoft version 28.4.53241.54346
Steps to reproduce
- set e BOM for an item
- make a purchase order and use the item from step 1.
- attach a tracking line to the purchase order line.
- click on functions - explode BOM
- the lines of the bom are made and the first line is now a comment line.
- the item tracking line made in step 3 still remains and no error has been given.
- resulting in a tracking line that is pointing to the comment line.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Explode BOM action from the reproduction steps and trace its interaction with the Purchase Line validation and the Reservation Management and Purch. Line-Reserve entry points named in the call stack. Reproduce the case with an item tracking line, then verify that Explode BOM reports the tracking error and does not leave tracking attached to the resulting comment line.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100