code change · fixWarehouseofficial - Microsoftreviewed - checked by Opus

#13201 [main] Bug 592028 Retention policy fails: Bin Mandatory must be equal to 'No' in Location. Current value is 'Yes'.

Retention policy now works correctly with posted inventory documents by adding a FlowField for Bin Mandatory and proper table filters to prevent validation failures.

Pull request · merged into main (BC30) on 2026-11-19 by MSNehaNawal · 4 files (+588 -11), 3 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Added FlowField for Bin Mandatory to Posted Invt. Pick Header and Posted Invt. Put-away Header tables
  • Registered default table filters similar to Posted Warehouse Receipt Header to allow retention policy deletion
  • Prevents CheckLocation validation error when retention engine deletes headers with OnDelete trigger
  • Comprehensive test coverage added for retention policy upgrade scenarios
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#592028
  • Labels: Ownership: Needs Review, Team: Other
  • Systems: warehouse, administration

No source states these links: they share an object, a model read them, or a person found the same subject.

  • Set Up Directed Put-away and Pick — possibly related: Documents directed put-away and pick setup with bin configurations in advanced warehouse management. (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).