#14738 [Main][All-E] Vendor Bank Account Approval Workflow: Approve/Reject/Delegate events cannot be re-added after deletion
Fixed a bug where the Approve, Reject, and Delegate events in Vendor Bank Account Approval Workflow could not be re-added after deletion by establishing missing predecessor relationships in the workflow event library.
- 7files
- 6AL files
- 3objects
Pull request · merged into main (BC30) on 2026-12-04 by sanjmaurya · 7 files (+159 -0), 6 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Added missing predecessor relationships linking Approve/Reject/Delegate events to the vendor bank account approval request event
- Included upgrade logic to populate these relationships for existing companies
- Added regression tests covering deletion and re-addition scenarios for all three events
- Workflow events can now be selected, saved, and retained after reload
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 9998 “Upgrade Tag Definitions”, Base Application: modified
- Codeunit 104056 “Upgrade Workflow”, Base Application: modified
- Codeunit 1520 “Workflow Event Handling”, Base Application: modified
Context
- Work items: AB#661394
- Labels: Team: Finance
- Systems: platform, development
- From the description: “The workflow event library is missing predecessor relationships linking these three events to Approval of a vendor bank account is requested.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Walkthrough: Implementing New Workflow Events and Responses — possibly related: touches Codeunit 1520 “Workflow Event Handling”
- How to delete approval workflows — possibly related: Documents deleting approval workflows; this change fixes re-adding workflow events after deletion. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).