[Extensibility Request] issue 30346: make InsertPostValueEntryToGL public in Item Jnl.-Post Line#9467
[Extensibility Request] issue 30346: make InsertPostValueEntryToGL public in Item Jnl.-Post Line#9467AleksandricMarko wants to merge 1 commit into
Conversation
….-Post Line Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot PR ReviewIteration 1 · Outcome: completed
Knowledge source: https://github.com/microsoft/BCQuality@186d8a131465475c79244d994acb872cd5c0d4bf Findings by domainFindings split into Knowledge-backed (cite a BCQuality article) and Agent (the agent's own judgement, no matching BCQuality rule).
Totals: 1 knowledge-backed · 0 agent findings. Orchestrator pre-filter (2 file(s) excluded)
Findings produced by the AL review agent v1.7.3. Reply 👎 on any inline comment to flag false positives. |
|
Summary
An extension author wants to post additional variances and reuse the standard General Ledger posting logic that already lives in codeunit 22
Item Jnl.-Post Line. They already call the publicPostInventoryToGLprocedure, butInsertPostValueEntryToGLwas declaredlocaland therefore unreachable from extensions. This PR exposes that procedure so extensions can invoke the standard posting flow.Source issue repository: microsoft/AlAppExtensions; issue number: 30346
Changes Made
InsertPostValueEntryToGL(codeunit 22Item Jnl.-Post Line) - changed from alocal procedureto a publicprocedureso extensions can call the standard value-entry-to-G/L posting logic. Applied in the W1 base layer and mirrored to the same-named counterparts in the APAC, CH, ES, IT, and RU layers.Fixes AB#642120