Skip to content

[Extensibility Request] issue 30358: add OnBeforeOnPreReport event to Redraw Receivable Bills report#9652

Draft
AleksandricMarko wants to merge 1 commit into
mainfrom
ai-ext-fix/ext_issue-30358
Draft

[Extensibility Request] issue 30358: add OnBeforeOnPreReport event to Redraw Receivable Bills report#9652
AleksandricMarko wants to merge 1 commit into
mainfrom
ai-ext-fix/ext_issue-30358

Conversation

@AleksandricMarko

@AleksandricMarko AleksandricMarko commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

The report author needs to automate the Redraw Receivable Bills report (7000096) so it can run in a job queue or from a button without showing the request page or any GUI. Today the OnPreReport trigger validates NewDueDate and the journal batch before any extension can set the request page variables, which blocks fully automated runs. This PR adds an integration event at the very start of OnPreReport so extensions can assign the request page variables and optionally bypass those validations.

Source issue repository: microsoft/AlAppExtensions; issue number: 30358

Changes Made

  • Report 7000096 "Redraw Receivable Bills" - OnPreReport - Raised a new OnBeforeOnPreReport integration event at the beginning of the trigger, guarded by an IsHandled flag (initialized to false) so subscribers can populate the request page variables and skip the NewDueDate and journal batch validations for automated processing.
  • OnBeforeOnPreReport - Added the new [IntegrationEvent(false, false)] publisher exposing the request page variables and IsHandled by reference.

Fixes AB#618758

…le Bills report

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AleksandricMarko AleksandricMarko added event-request SCM GitHub request for SCM area labels Jul 22, 2026
@github-actions github-actions Bot added Finance GitHub request for Finance area and removed SCM GitHub request for SCM area labels Jul 22, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

event-request Finance GitHub request for Finance area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant