[Extensibility Request] issue 30338: expose internal put-away line event - #10518
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Agentic PR Review - Round 1Recommendation: Accept with SuggestionsWhat this PR doesReport 7305 raised the generic The new event is well placed (end of SuggestionsS1 - Removing existing event call may affect subscribers Risk assessment and necessityRisk: Low and contained to report 7305 (W1). The only behavior change is that Necessity: Justified. The old event handed subscribers the wrong record type at the wrong time, so extensions could not adjust the internal put-away line. Exposing the correct record through a dedicated event is the right, minimal way to enable the requested extension point.
|
Summary
Report 7305 calls an event with a warehouse worksheet line while preparing internal put-away lines, preventing extensions from receiving and adjusting the actual source record. This PR raises a dedicated, correctly typed event after the internal put-away dataitem filters are prepared.
Source issue repository: microsoft/AlAppExtensions; issue number: 30338
Changes Made
Whse.-Source - Create Document.OnAfterWhseInternalPutAwayLineOnPreDataItem- expose the internal put-away line record to subscribers at the end of the dataitem'sOnPreDataItemtriggerFixes AB#641690