Describe the issue
The integration events OnBeforeReleaseCustomerContractDeferral and OnBeforeReleaseVendorContractDeferral in Contract Deferrals Release.al currently do not expose the PostingDate parameter. The PostingDate is available in the local scope at the time these events are raised (line 158 and 213 respectively), but subscribers have no way to access it, limiting what external code can do in response to these events.
Expected behavior
Both integration events should include PostingDate as an additional parameter, so that subscribers can read (and optionally modify) the posting date as part of their event handling logic.
// Current
OnBeforeReleaseCustomerContractDeferral(CustomerContractDeferral, ShouldRelease)
// Expected
OnBeforeReleaseCustomerContractDeferral(CustomerContractDeferral, ShouldRelease, PostingDate)
The same applies to OnBeforeReleaseVendorContractDeferral.
Steps to reproduce
Not applicable
Additional context
No response
I will provide a fix for a bug
Describe the issue
The integration events
OnBeforeReleaseCustomerContractDeferralandOnBeforeReleaseVendorContractDeferralinContract Deferrals Release.alcurrently do not expose thePostingDateparameter. ThePostingDateis available in the local scope at the time these events are raised (line 158 and 213 respectively), but subscribers have no way to access it, limiting what external code can do in response to these events.Expected behavior
Both integration events should include
PostingDateas an additional parameter, so that subscribers can read (and optionally modify) the posting date as part of their event handling logic.The same applies to
OnBeforeReleaseVendorContractDeferral.Steps to reproduce
Not applicable
Additional context
No response
I will provide a fix for a bug