Skip to content

[Extensibility Request] issue 30350: add OnBeforeTestFirstApplyItemLedgerEntryTracking event#9465

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

[Extensibility Request] issue 30350: add OnBeforeTestFirstApplyItemLedgerEntryTracking event#9465
AleksandricMarko wants to merge 1 commit into
mainfrom
ai-ext-fix/ext_issue-30350

Conversation

@AleksandricMarko

@AleksandricMarko AleksandricMarko commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

The reporter needs to raise clearer, document-oriented errors before the standard item tracking validation runs, because the built-in TestField errors reference the temporary Item Journal Line record and do not indicate which document line or item is missing Serial/Lot tracking. They also need to conditionally skip lot checking in a specific scenario. This PR adds an integration event at the very start of TestFirstApplyItemLedgerEntryTracking so an extension can validate up front and adjust the Item Tracking Code (passed by var) before the standard checks.

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

Changes Made

  • OnBeforeTestFirstApplyItemLedgerEntryTracking - new integration event published at the start of the TestFirstApplyItemLedgerEntryTracking procedure in codeunit 22 "Item Jnl.-Post Line"; the Item Tracking Code parameter is var so subscribers can amend it (e.g. skip lot checking) before the standard tracking validation. Added in the W1 base layer and mirrored into the CH, ES, IT, RU and APAC layer counterparts.

Fixes AB#642242

…g event

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