{"title":"Report 5756 Create Warehouse Location, extension points 29","url":"https://jonas-paprotka.de/ref/report/5756-create-warehouse-location/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":5756,"name":"Create Warehouse Location","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/5756-create-warehouse-location/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/5756-create-warehouse-location/source/","path":"src/Layers/W1/BaseApp/Warehouse/Structure/CreateWarehouseLocation.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:14":{"name":"Location","url":"https://jonas-paprotka.de/ref/table/14-location/"},"codeunit:7301":{"name":"Whse. Jnl.-Register Line","url":"https://jonas-paprotka.de/ref/codeunit/7301-whse-jnl-register-line/"},"table:7311":{"name":"Warehouse Journal Line","url":"https://jonas-paprotka.de/ref/table/7311-warehouse-journal-line/"},"codeunit:5402":{"name":"Unit of Measure Management","url":"https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/"},"codeunit:7302":{"name":"WMS Management","url":"https://jonas-paprotka.de/ref/codeunit/7302-wms-management/"}},"procs":[{"name":"OnPostReport","line":97,"kind":"trigger","steps":[[102,"validate",14,"Directed Put-away and Pick"],[103,"validate",14,"Adjustment Bin Code"],[104,"event","OnPostReportOnBeforeLocationModify",0],[105,"write",14,"Modify"],[109,"ext","codeunit",7301,"RegisterWhseJnlLine",1]]},{"name":"OnPreReport","line":118,"kind":"trigger","steps":[[124,"call","Check",0],[127,"write",7311,"DeleteAll"],[147,"call","BuildErrorText",1],[153,"call","CreateWhseJnlLine",1]]},{"name":"Check","line":203,"kind":"procedure","access":"local","params":0,"steps":[[232,"call","CheckWhseDocs",0]]},{"name":"CreateWhseJnlLine","line":272,"kind":"procedure","access":"local","params":1,"steps":[[285,"call","GetItem",1],[288,"call","GetItemUnitOfMeasure",2],[290,"ext","codeunit",5402,"CalcQtyFromBase",2],[301,"validate",7311,"Zone Code"],[304,"ext","codeunit",7302,"CheckWhseJnlLine",4],[308,"event","OnCreateWhseJnlLineOnBeforeTempWhseJnlLineInsert",0],[309,"write",7311,"Insert"]]}]}