Skip to content

[Extensibility Request] issue 30359: add Direction parameter to OnBeforeScheduleRoutingLine#9657

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

[Extensibility Request] issue 30359: add Direction parameter to OnBeforeScheduleRoutingLine#9657
AleksandricMarko wants to merge 1 commit into
mainfrom
ai-ext-fix/ext_issue-30359

Conversation

@AleksandricMarko

@AleksandricMarko AleksandricMarko commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

The reporter wants to influence the starting- and ending-datetime calculation in production order routing. To do that, subscribers need access to the scheduling Direction so they can adjust it before the routing line is scheduled. This PR exposes Direction as a var parameter on the existing publisher event so extensions can modify routing behaviour without breaking the base logic.

Source issue repository: microsoft/ALAppExtensions; issue number: 30359

Changes Made

  • OnBeforeScheduleRoutingLine (codeunit 99000774 "Calculate Routing Line") - appended var Direction: Option Forward,Backward to the publisher signature and passed the in-scope Direction from CalculateRoutingLine when raising the event, allowing subscribers to read and change the scheduling direction before the line is scheduled.

Fixes AB#642790

…outingLine

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

event-request SCM GitHub request for SCM area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant