{"title":"Codeunit 5845 Get Inventory Report, events","url":"https://jonas-paprotka.de/ref/codeunit/5845-get-inventory-report/events/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":5845,"name":"Get Inventory Report","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/5845-get-inventory-report/","json":"https://jonas-paprotka.de/ref/codeunit/5845-get-inventory-report.json"},"aspect":"events","total":17,"rows":[{"name":"OnBeforeIsGLNotTheSameHandled","sig":"(var Record Inventory Posting Setup, var Record Inventory Posting Setup, var Record Inventory Report Header, var Record Inventory Report Entry, var Boolean, var Decimal, Text[80])","named":"(var TempInvtentoryPostingSetup: Record \"Inventory Posting Setup\" temporary; var InvtentoryPostingSetup: Record \"Inventory Posting Setup\"; var InvtentoryReportHeader: Record \"Inventory Report Header\"; var InventoryReportLine: Record \"Inventory Report Entry\"; var IsHandled: Boolean; var TotalInventory: Decimal; WindowPostingType: Text[80])","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var TempInvtentoryPostingSetup: Record \"Inventory Posting Setup\" temporary; var InvtentoryPostingSetup: Record \"Inventory Posting Setup\"; var InvtentoryReportHeader: Record \"Inventory Report Header\"; var InventoryReportLine: Record \"Inventory Report Entry\"; var IsHandled: Boolean; var TotalInventory: Decimal; WindowPostingType: Text[80])","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCalcInvtPostingSetupOnBeforeAssignTempInvtPostingSetup","sig":"(var Record Inventory Report Entry, var Record Inventory Posting Setup, var Record Inventory Report Header, Record Inventory Posting Setup)","named":"(var InventoryReportEntry: Record \"Inventory Report Entry\"; var TempInventoryPostingSetup: Record \"Inventory Posting Setup\" temporary; var InventoryReportHeader: Record \"Inventory Report Header\"; InventoryPostingSetup: Record \"Inventory Posting Setup\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var InventoryReportEntry: Record \"Inventory Report Entry\"; var TempInventoryPostingSetup: Record \"Inventory Posting Setup\" temporary; var InventoryReportHeader: Record \"Inventory Report Header\"; InventoryPostingSetup: Record \"Inventory Posting Setup\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCalcGenPostingSetupOnBeforeAssignTempGenPostingSetup","sig":"(var Record Inventory Report Entry, var Record General Posting Setup, var Record Inventory Report Header, Record General Posting Setup)","named":"(var InventoryReportEntry: Record \"Inventory Report Entry\"; var TempGeneralPostingSetup: Record \"General Posting Setup\" temporary; var InventoryReportHeader: Record \"Inventory Report Header\"; GeneralPostingSetup: Record \"General Posting Setup\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var InventoryReportEntry: Record \"Inventory Report Entry\"; var TempGeneralPostingSetup: Record \"General Posting Setup\" temporary; var InventoryReportHeader: Record \"Inventory Report Header\"; GeneralPostingSetup: Record \"General Posting Setup\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCalcValueEntries","sig":"(var Record Inventory Report Entry, var Record Value Entry)","named":"(var InventoryReportEntry: Record \"Inventory Report Entry\"; var ValueEntry: Record \"Value Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var InventoryReportEntry: Record \"Inventory Report Entry\"; var ValueEntry: Record \"Value Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCalcDiffOnAfterCalcSumsTypeGLAccount","sig":"(var Record Inventory Report Entry)","named":"(var InventoryReportEntry: Record \"Inventory Report Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var InventoryReportEntry: Record \"Inventory Report Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCalcDiffOnAfterCalcSumsTypeItem","sig":"(var Record Inventory Report Entry)","named":"(var InventoryReportEntry: Record \"Inventory Report Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var InventoryReportEntry: Record \"Inventory Report Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCalcDiffOnBeforeCopytoInventoryReportEntry","sig":"(var Record Inventory Report Entry, var Record Inventory Report Entry)","named":"(var CalcInventoryReportEntry: Record \"Inventory Report Entry\"; var InventoryReportEntry: Record \"Inventory Report Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var CalcInventoryReportEntry: Record \"Inventory Report Entry\"; var InventoryReportEntry: Record \"Inventory Report Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnDrillDownGLBeforeRunPage","sig":"(var Record G/L Entry, var Record Inventory Report Entry)","named":"(var GLEntry: Record \"G/L Entry\"; var InvtReportEntry: Record \"Inventory Report Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var GLEntry: Record \"G/L Entry\"; var InvtReportEntry: Record \"Inventory Report Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnInsertGLInvtReportEntryBeforeCalcGLAccount","sig":"(var Record Inventory Report Header, var Record Inventory Report Entry, var Record G/L Account, var Boolean, var Decimal, Text[80])","named":"(var InvtReportHeader: Record \"Inventory Report Header\"; var InventoryReportLine: Record \"Inventory Report Entry\"; var GLAcc: Record \"G/L Account\"; var IsHandled: Boolean; var CostAmount: Decimal; WindowPostingType: Text[80])","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var InvtReportHeader: Record \"Inventory Report Header\"; var InventoryReportLine: Record \"Inventory Report Entry\"; var GLAcc: Record \"G/L Account\"; var IsHandled: Boolean; var CostAmount: Decimal; WindowPostingType: Text[80])","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterSetFiltersOverheadAppliedActual","sig":"(var Record Value Entry)","named":"(var ValueEntry: Record \"Value Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ValueEntry: Record \"Value Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterSetFiltersWIPInventory","sig":"(var Record Value Entry, Integer)","named":"(var ValueEntry: Record \"Value Entry\"; Selection: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ValueEntry: Record \"Value Entry\"; Selection: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeDrillDownInvtToWIP","sig":"(var Record Inventory Report Entry, var Boolean)","named":"(var InvtReportEntry: Record \"Inventory Report Entry\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var InvtReportEntry: Record \"Inventory Report Entry\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCheckIfNoDifference","sig":"(var Record Inventory Report Entry, var Boolean)","named":"(var InventoryReportLine: Record \"Inventory Report Entry\"; var NoDifference: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var InventoryReportLine: Record \"Inventory Report Entry\"; var NoDifference: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCheckGLClosingOverlapsOnAfterEmptyAccountingPeriodBeforeExit","sig":"(var Record Inventory Report Entry, var Boolean)","named":"(var InventoryReportLine: Record \"Inventory Report Entry\"; var ShouldExit: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var InventoryReportLine: Record \"Inventory Report Entry\"; var ShouldExit: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCheckDirectPostings","sig":"(var Record Inventory Report Entry, var Boolean)","named":"(var InventoryReportLine: Record \"Inventory Report Entry\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var InventoryReportLine: Record \"Inventory Report Entry\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCalcGLAccount","sig":"(var Record G/L Account, var Decimal, var Boolean)","named":"(var GLAccount: Record \"G/L Account\"; var Result: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var GLAccount: Record \"G/L Account\"; var Result: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCalcGenPostingSetup","sig":"(var Record Inventory Report Entry)","named":"(var InventoryReportEntry: Record \"Inventory Report Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var InventoryReportEntry: Record \"Inventory Report Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}