[ALAppExtensions #30313]codeunit 441 "Prepayment Mgt." OnBeforeReleaseSalesDocument#9416
[ALAppExtensions #30313]codeunit 441 "Prepayment Mgt." OnBeforeReleaseSalesDocument#9416Explorer986 wants to merge 1 commit into
Conversation
…pdatePendingPrepaymentSales events (AB#641536, ALAppExtensions #30313)
Copilot PR ReviewIteration 1 · Outcome: completed Knowledge source: https://github.com/microsoft/BCQuality@822cae1b2771ac25f665f73369f69093bd4fd630 Orchestrator pre-filter (13 file(s) excluded)
Findings produced by the Copilot CLI agent against BCQuality at |
Agentic PR Review - Round 1Recommendation: Request ChangesWhat this PR doesThe diff adds two integration events around The placement does not match the stated request for an event before the sales document is released. Subscribers get the filtered record set before the loop, not the specific sales order that has passed SuggestionsS1 - Publish before each sales release S2 - Align the title and implementation Risk assessment and necessityRisk: This is a public integration-event contract in prepayment release flow. The current event names and timing would be hard to change after release, and subscribers may need to repeat the standard loop logic to find the order that is actually going to be released. There is no behavior change without subscribers. Necessity: The extensibility scenario is valid: partners need to distinguish releases started by
|
What & why
Adds
OnBeforeUpdatePendingPrepaymentSalesandOnAfterUpdatePendingPrepaymentSalesintegration events around the sales loop inUpdatePendingPrepaymentSales()of codeunit 441 "Prepayment Mgt.". This gives partners a signal specific to the prepayment-driven release flow (before/after processing) that the genericRelease Sales Documentevents do not distinguish. Additive publishers with XML-doc comments matching the codeunit's existing style.Linked work
Fixes AB#641536
How I validated this
What I tested and the outcome
Risk & compatibility
Very low. New publishers only; no existing event signatures changed, no schema/data impact.