#11095 [main] Bug 649204 Validation missing for Deferral Code field on Released Purchase documents.
Deferral Code field on released purchase line documents now validates that the purchase header status is open, preventing modification of deferrals on non-open purchase records.
- 18files
- 14AL files
- 1objects
Pull request · merged into main (BC30) on 2026-09-10 by MSNehaNawal · 18 files (+157 -0), 14 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Added the missing TestStatusOpen check to the Deferral Code field on Purchase Line
- Changing Deferral Code on a released purchase document now fails with ‘Status must be equal to Open’
- Applied in W1 and the country-specific Purchase Line tables
- Tests added in W1, IT, NA and RU
- Behaviour changes for users or extensions.
AL objects touched
- Table 39 “Purchase Line”, Base Application: modified
Context
- Work items: AB#649204
- Labels: Team: SCM
- Systems: purchasing
- From the description: “Status must be equal to ‘Open’ in Purchase Header validation missing for Deferral Code field on Released Purchase documents.”
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).