REP295 Combine Shipments - OnAfterShouldFinalizeSalesInvHeader event gives ErrorParameterMismatch
Describe the bug
Trying to subscribe on OnAfterShouldFinalizeSalesInvHeader in REP295 Combine Shipments.
Even with the correct subscriber event, the Event Subscriptions keeps giving ErrorParameterMismatch, although the AL-compiler gives no errors.
To Reproduce Steps and to reproduce the behavior:
- Create subscriber on OnAfterShouldFinalizeSalesInvHeader` in REP295 Combine Shipments
- Place a function in it with a breakpoint or an UI element.
- Debugger won't stop at that point or show the UI
AL Code to reproduce the issue

Expected behavior Event triggers
Screenshots



Versions:
- AL Language: al-3.0.106655
- Business Central: Microsoft_Application_14.0.29537.31808 Microsoft_System_14.0.29530.31705
- Docker: BCSandbox:be
Hi Same issue here. Exception "ErrorParameterMismatch" is raised when adding "Finalize" parameter. But it works if you add a C/AL subscriber with finsql.
Something like a parameter called like a c# reserved word? (Object.Finalize() ?)
AL Language 3.0.145991 BC14 W1 RTM
Matteo
Hi! We believe this issue has been fixed in the 2019 Wave 2 release and in any CU7 and later of the 2019 Spring release. Please feel free to reopen the issue if you can still reproduce it.