code change · featureInventoryofficial - Microsoftreviewed - checked by Opus

#9467 [Extensibility Request] issue 30346: make InsertPostValueEntryToGL public in Item Jnl.-Post Line

The InsertPostValueEntryToGL procedure in codeunit 22 Item Jnl.-Post Line is now public, allowing extensions to reuse the standard General Ledger posting logic for inventory variances.

Pull request · merged into main (BC30) on 2026-08-04 by AleksandricMarko · 6 files (+6 -6), 6 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • InsertPostValueEntryToGL changed from local to public procedure
  • Extensions can now call standard value-entry-to-G/L posting logic
  • Change applied consistently across W1 and localized layers (APAC, CH, ES, IT, RU)
  • Enables extension authors to post additional variances using standard flows
  • Addresses extensibility request from external developers

AL objects touched

  • Codeunit 22 “Item Jnl.-Post Line”, Base Application: modified
  • src/Layers/APAC/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al: modified, not in the BC30 snapshot
  • src/Layers/CH/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al: modified, not in the BC30 snapshot
  • src/Layers/ES/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al: modified, not in the BC30 snapshot
  • src/Layers/IT/BaseApp/Inventory/Posting/ItemJnlPostLine.Codeunit.al: modified, not in the BC30 snapshot

Context

  • Work items: AB#642120
  • Labels: Team: SCM, request-for-external
  • Systems: inventory

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).