{"title":"Codeunit 5770 Whse.-Service Release, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5770-whse-service-release/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":5770,"name":"Whse.-Service Release","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5770-whse-service-release/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5770-whse-service-release/source/","path":"src/Layers/W1/BaseApp/Service/Document/WhseServiceRelease.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:5902":{"name":"Service Line","url":"https://jonas-paprotka.de/ref/table/5902-service-line/"},"table:5765":{"name":"Warehouse Request","url":"https://jonas-paprotka.de/ref/table/5765-warehouse-request/"},"table:14":{"name":"Location","url":"https://jonas-paprotka.de/ref/table/14-location/"}},"procs":[{"name":"Release","line":24,"kind":"procedure","params":1,"steps":[[29,"event","OnBeforeRelease",0],[39,"event","OnAfterReleaseSetFilters",0],[43,"ext","table",5902,"IsInventoriableItem",0],[50,"call","CreateWarehouseRequest",3],[52,"event","OnAfterCreateWhseRqst",0],[60,"call","SetWhseRqstFiltersByStatus",3],[61,"write",5765,"DeleteAll",1],[63,"event","OnAfterRelease",0]]},{"name":"Reopen","line":66,"kind":"procedure","params":1,"steps":[[70,"event","OnBeforeReopen",0],[73,"call","SetWhseRqstFiltersByStatus",3],[78,"write",5765,"Modify"],[81,"event","OnAfterReopen",0]]},{"name":"CreateWarehouseRequest","line":84,"kind":"procedure","params":3,"steps":[[89,"ext","table",14,"RequireShipment",1],[90,"ext","table",14,"RequirePicking",1],[92,"ext","table",14,"RequireReceive",1],[93,"ext","table",14,"RequirePutaway",1],[112,"ext","table",5902,"GetShipmentDate",0],[115,"call","CalcCompletelyShipped",1],[116,"event","OnBeforeCreateWhseRequest",0],[117,"write",5765,"Insert"],[118,"write",5765,"Modify"]]},{"name":"UpdateExternalDocNoForReleasedOrder","line":134,"kind":"procedure","params":1,"steps":[[136,"call","SetWhseRqstFiltersByStatus",3],[138,"write",5765,"ModifyAll"]]}]}