code change · featureService Managementofficial - Microsoftreviewed - checked by Opus

#10422 [Extensibility Request] issue 30423: expose previous service header

Service Header event subscribers now receive the previous record state through the OnValidateShipToCodeOnBeforeDeleteLines event to track custom field changes during line deletion.

Pull request · merged into main (BC30) on 2026-08-28 by AleksandricMarko · 1 file (+2 -2), 1 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • OnValidateShipToCodeOnBeforeDeleteLines event now passes the previous Service Header record (xRec)
  • Allows subscribers to detect custom field changes before handling line deletion
  • No change to existing parameter order, maintaining backward compatibility
  • Addresses extensibility need for service document processing

AL objects touched

Context

  • Work items: AB#647077
  • Labels: Team: SCM, event-request
  • Systems: service
  • From the description: “passes the previous Service Header state through the existing extensibility event”

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).