{"title":"Codeunit 5771 Whse.-Sales Release, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5771-whse-sales-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":5771,"name":"Whse.-Sales Release","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5771-whse-sales-release/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5771-whse-sales-release/source/","path":"src/Layers/W1/BaseApp/Sales/Document/WhseSalesRelease.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:37":{"name":"Sales Line","url":"https://jonas-paprotka.de/ref/table/37-sales-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":30,"kind":"procedure","params":1,"steps":[[38,"event","OnBeforeRelease",1],[43,"event","OnBeforeReleaseSetWhseRequestSourceDocument",1],[60,"event","OnAfterReleaseSetFilters",0],[64,"ext","table",37,"IsInventoriableItem",0],[72,"event","OnReleaseOnBeforeCreateWhseRequest",0],[75,"call","CreateWarehouseRequest",4],[77,"event","OnAfterReleaseOnAfterCreateWhseRequest",0],[87,"event","OnReleaseOnAfterCreateWhseRequest",0],[91,"ext","table",5765,"SetSourceFilter",3],[94,"write",5765,"DeleteAll",1],[96,"event","OnAfterRelease",0]]},{"name":"Reopen","line":103,"kind":"procedure","params":1,"steps":[[109,"event","OnBeforeReopen",1],[114,"event","OnBeforeReopenSetWhseRequestSourceDocument",1],[120,"ext","table",5765,"SetSourceFilter",3],[123,"write",5765,"ModifyAll"],[125,"event","OnAfterReopen",0]]},{"name":"UpdateExternalDocNoForReleasedOrder","line":133,"kind":"procedure","params":1,"steps":[[137,"ext","table",5765,"SetSourceFilter",3],[140,"write",5765,"ModifyAll"]]},{"name":"CreateWarehouseRequest","line":150,"kind":"procedure","params":4,"steps":[[155,"event","OnBeforeCreateWarehouseRequest",1],[157,"call","ShouldCreateWarehouseRequest",2],[184,"event","OnBeforeCreateWhseRequest",0],[185,"write",5765,"Insert"],[186,"write",5765,"Modify"],[187,"event","OnAfterCreateWhseRequest",0]]},{"name":"ShouldCreateWarehouseRequest","line":191,"kind":"procedure","access":"local","params":2,"steps":[[199,"ext","table",14,"RequireShipment",1],[200,"ext","table",14,"RequirePicking",1],[202,"ext","table",14,"RequireReceive",1],[203,"ext","table",14,"RequirePutaway",1],[205,"event","OnAfterShouldCreateWarehouseRequest",0]]}]}