{"title":"Report 5706 Create Stockkeeping Unit, extension points 29","url":"https://jonas-paprotka.de/ref/report/5706-create-stockkeeping-unit/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":5706,"name":"Create Stockkeeping Unit","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/5706-create-stockkeeping-unit/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/5706-create-stockkeeping-unit/source/","path":"src/Layers/W1/BaseApp/Inventory/Location/CreateStockkeepingUnit.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":{"table:5700":{"name":"Stockkeeping Unit","url":"https://jonas-paprotka.de/ref/table/5700-stockkeeping-unit/"}},"procs":[{"name":"Item.OnAfterGetRecord","line":25,"kind":"trigger","steps":[[31,"event","OnBeforeItemOnAfterGetRecord",1],[45,"event","OnItemOnAfterGetRecordOnAfterSetLocationFilter",0],[54,"write",5700,"DeleteAll"],[68,"call","CreateSKUIfRequired",3],[77,"call","CreateSKUIfRequired",3],[88,"call","CreateSKUIfRequired",3]]},{"name":"Item.OnPreDataItem","line":99,"kind":"trigger","steps":[[101,"event","OnBeforeItemOnPreDataItem",0]]},{"name":"CreateSKUIfRequired","line":178,"kind":"procedure","params":3,"steps":[[184,"event","OnBeforeCreateSKU",1],[198,"call","CreateSKU",3]]},{"name":"CreateSKU","line":219,"kind":"procedure","params":3,"steps":[[225,"ext","table",5700,"CopyFromItem",1],[226,"ext","table",5700,"TransferManufCostsFromItem",1],[230,"ext","table",5700,"SetHideValidationDialog",1],[231,"validate",5700,"Phys Invt Counting Period Code"],[234,"event","OnBeforeStockkeepingUnitInsert",0],[235,"write",5700,"Insert",1],[237,"event","OnAfterCreateSKU",0]]}]}