{"title":"Codeunit 7351 Create Prod. Movement Wksht., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/7351-create-prod-movement-wksht/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":"codeunit","id":7351,"name":"Create Prod. Movement Wksht.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/7351-create-prod-movement-wksht/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/7351-create-prod-movement-wksht/source/","path":"src/Layers/W1/BaseApp/Manufacturing/Warehouse/Worksheet/CreateProdMovementWksht.Codeunit.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:7326":{"name":"Whse. Worksheet Line","url":"https://jonas-paprotka.de/ref/table/7326-whse-worksheet-line/"}},"procs":[{"name":"StartMovement","line":22,"kind":"procedure","params":0,"steps":[[26,"call","ValidateInput",0],[27,"call","RemoveExistingLines",0],[28,"call","FilterBinContent",3],[29,"call","OpenDialog",0],[30,"call","CreateMovementWorksheetLinesForBin",1],[31,"call","CloseDialog",0]]},{"name":"RemoveExistingLines","line":39,"kind":"procedure","access":"local","params":0,"steps":[[48,"write",7326,"DeleteAll",1]]},{"name":"CreateMovementWorksheetLinesForBin","line":77,"kind":"procedure","access":"local","params":1,"steps":[[84,"call","ProcessBinContent",2],[85,"call","UpdateDialog",1]]},{"name":"ProcessBinContent","line":89,"kind":"procedure","access":"local","params":2,"steps":[[94,"call","GetRemainingQty",3],[99,"call","CreateMovementWorksheetLine",3]]},{"name":"CreateMovementWorksheetLine","line":120,"kind":"procedure","access":"local","params":3,"steps":[[127,"validate",7326,"Worksheet Template Name"],[128,"validate",7326,"Name"],[129,"validate",7326,"Location Code"],[130,"validate",7326,"Line No."],[131,"validate",7326,"Item No."],[132,"validate",7326,"From Zone Code"],[133,"validate",7326,"From Bin Code"],[134,"validate",7326,"To Zone Code"],[135,"validate",7326,"To Bin Code"],[136,"validate",7326,"Quantity"],[137,"write",7326,"Insert",1]]}]}