Skip to content

[Extensibility Request] issue 30362: add OnPostDocumentLinesOnBeforeInsertPostedHeaders event to Service-Post - #9778

Open
AleksandricMarko wants to merge 1 commit into
mainfrom
ai-ext-fix/ext_issue-30362
Open

[Extensibility Request] issue 30362: add OnPostDocumentLinesOnBeforeInsertPostedHeaders event to Service-Post#9778
AleksandricMarko wants to merge 1 commit into
mainfrom
ai-ext-fix/ext_issue-30362

Conversation

@AleksandricMarko

@AleksandricMarko AleksandricMarko commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

The reporter builds solutions with custom Service document types and needs to control which posted document is created during Service posting. Codeunit 5980 Service-Post currently hardcodes the decision of whether a posted service invoice or credit memo header is created, so extensions cannot alter this flow the way they can in Sales-Post. This PR adds an IsHandled integration event immediately before that logic, bringing Service-Post extensibility in line with Sales-Post.

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

Changes Made

  • OnPostDocumentLinesOnBeforeInsertPostedHeaders - new IsHandled integration event raised in PostDocumentLines right before the posted service invoice/credit memo header creation, letting subscribers replace the standard decision; the same change is propagated to the NA and IT layer counterparts.

Fixes AB#643301

@AleksandricMarko AleksandricMarko added event-request SCM GitHub request for SCM area labels Jul 28, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 28, 2026
@AleksandricMarko
AleksandricMarko marked this pull request as ready for review July 28, 2026 10:02
@AleksandricMarko
AleksandricMarko requested a review from a team July 28, 2026 10:02
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