Skip to content

[Extensibility Request] issue 30335: add OnBeforeRecreateSalesLine IsHandled event#9461

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

[Extensibility Request] issue 30335: add OnBeforeRecreateSalesLine IsHandled event#9461
AleksandricMarko wants to merge 1 commit into
mainfrom
ai-ext-fix/ext_issue-30335

Conversation

@AleksandricMarko

@AleksandricMarko AleksandricMarko commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

The issue author needs to conditionally replace the standard sales line recreation logic inside RecreateSalesLinesHandleSupplementTypes in table 36 "Sales Header". Under specific business conditions based on extension fields, their extension must fully take over sales line creation, which requires bypassing the standard CreateSalesLine call at the caller level. No existing extensibility point sits immediately before that call, so this PR adds a new IsHandled integration event that lets subscribers skip the standard creation and run an equivalent custom implementation.

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

Changes Made

  • OnBeforeRecreateSalesLine - new IsHandled integration event published in RecreateSalesLinesHandleSupplementTypes immediately before CreateSalesLine, allowing subscribers to skip the standard sales line recreation; the same change is propagated to all country layers that have their own copy of the table.

Fixes AB#641988

… Sales Header

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AleksandricMarko AleksandricMarko added event-request SCM GitHub request for SCM area labels Jul 15, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 15, 2026
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