{"title":"Report 7390 Whse. Calculate Inventory, extension points 29","url":"https://jonas-paprotka.de/ref/report/7390-whse-calculate-inventory/points/","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":"report","id":7390,"name":"Whse. Calculate Inventory","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/7390-whse-calculate-inventory/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/7390-whse-calculate-inventory/source/","path":"src/Layers/W1/BaseApp/Warehouse/Structure/WhseCalculateInventory.Report.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:308":{"name":"No. Series - Batch","url":"https://jonas-paprotka.de/ref/codeunit/308-no-series-batch/"},"table:7302":{"name":"Bin Content","url":"https://jonas-paprotka.de/ref/table/7302-bin-content/"},"codeunit:310":{"name":"No. Series","url":"https://jonas-paprotka.de/ref/codeunit/310-no-series/"},"table:7311":{"name":"Warehouse Journal Line","url":"https://jonas-paprotka.de/ref/table/7311-warehouse-journal-line/"},"table:6565":{"name":"Item Tracking Setup","url":"https://jonas-paprotka.de/ref/table/6565-item-tracking-setup/"},"codeunit:6500":{"name":"Item Tracking Management","url":"https://jonas-paprotka.de/ref/codeunit/6500-item-tracking-management/"},"codeunit:5402":{"name":"Unit of Measure Management","url":"https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/"},"codeunit:5889":{"name":"Phys. Invt. Tracking Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/5889-phys-invt-tracking-mgt/"}},"procs":[{"name":"Bin Content.OnAfterGetRecord","line":29,"kind":"trigger","steps":[[31,"call","SkipCycleSKU",3],[38,"call","InsertWhseJnlLine",1]]},{"name":"Bin Content.OnPreDataItem","line":47,"kind":"trigger","steps":[[56,"event","OnBinContentOnBeforePreDataItem",0],[68,"ext","codeunit",308,"GetNextNo",2]]},{"name":"Warehouse Entry.OnAfterGetRecord","line":84,"kind":"trigger","steps":[[90,"call","ShouldSkipRecord",0],[91,"event","OnWarehouseEntryOnAfterGetRecordOnAfterCalcSkipRecord",0],[103,"call","InitBinContent",2],[106,"write",7302,"Insert"]]},{"name":"Warehouse Entry.OnPostDataItem","line":109,"kind":"trigger","steps":[[114,"call","InsertWhseJnlLine",1]]},{"name":"Warehouse Entry.OnPreDataItem","line":118,"kind":"trigger","steps":[[135,"write",7302,"DeleteAll"]]},{"name":"RegisteringDate.OnValidate","line":157,"kind":"trigger","steps":[[159,"call","ValidateRegisteringDate",0]]},{"name":"OnOpenPage","line":182,"kind":"trigger","steps":[[186,"call","ValidateRegisteringDate",0]]},{"name":"OnPostReport","line":194,"kind":"trigger","steps":[[196,"event","OnAfterOnPostReport",0]]},{"name":"ValidateRegisteringDate","line":232,"kind":"procedure","access":"local","params":0,"steps":[[242,"ext","codeunit",310,"PeekNextNo",2]]},{"name":"InitBinContent","line":245,"kind":"procedure","access":"local","params":2,"steps":[[263,"event","OnAfterInitBinContent",0]]},{"name":"InsertWhseJnlLine","line":266,"kind":"procedure","params":1,"steps":[[296,"call","GetLocation",1],[305,"event","OnInsertWhseJnlLineOnAfterWhseEntrySetFilters",0],[308,"call","GetSpecificTrackingOptions",4],[326,"call","BuildSpecificTrackingKey",4],[348,"validate",7311,"Registering Date"],[349,"validate",7311,"Entry Type"],[350,"validate",7311,"Whse. Document No."],[351,"validate",7311,"Item No."],[352,"validate",7311,"Variant Code"],[353,"validate",7311,"Location Code"],[357,"validate",7311,"To Zone Code"],[358,"validate",7311,"To Bin Code"],[359,"validate",7311,"Zone Code"],[360,"ext","table",7311,"SetProposal",1],[361,"validate",7311,"Bin Code"],[362,"validate",7311,"Source Code"],[363,"validate",7311,"Unit of Measure Code"],[364,"ext","table",7311,"CopyTrackingFromWhseEntry",1],[366,"ext","table",6565,"CopyTrackingFromWhseEntry",1],[367,"ext","codeunit",6500,"ExistingExpirationDate",5],[374,"ext","codeunit",5402,"QtyRndPrecision",0],[378,"event","OnInsertWhseJnlLineOnBeforeValidateQtyPhysInventory",1],[380,"validate",7311,"Qty. (Phys. Inventory)"],[381,"validate",7311,"Qty. (Phys. Inventory) (Base)"],[385,"validate",7311,"Qty. (Phys. Inventory)"],[394,"event","OnBeforeWhseJnlLineInsert",0],[395,"write",7311,"Insert",1],[396,"event","OnAfterWhseJnlLineInsert",0]]},{"name":"ShouldSkipRecord","line":435,"kind":"procedure","access":"local","params":0,"steps":[[446,"call","SkipCycleSKU",3]]},{"name":"GetSpecificTrackingOptions","line":467,"kind":"procedure","access":"local","params":4,"steps":[[482,"ext","codeunit",5889,"GetTrackingNosFromWhse",1]]}]}