{"title":"Codeunit 5772 Whse.-Purch. Release, events","url":"https://jonas-paprotka.de/ref/codeunit/5772-whse-purch-release/events/","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":5772,"name":"Whse.-Purch. Release","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/5772-whse-purch-release/","json":"https://jonas-paprotka.de/ref/codeunit/5772-whse-purch-release.json"},"aspect":"events","total":14,"rows":[{"name":"OnAfterCreateWhseRqst","sig":"(var Record Warehouse Request, var Record Purchase Header, var Record Purchase Line, Option)","named":"(var WhseRqst: Record \"Warehouse Request\"; var PurchHeader: Record \"Purchase Header\"; var PurchLine: Record \"Purchase Line\"; WhseType: Option Inbound,Outbound)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var WhseRqst: Record \"Warehouse Request\"; var PurchHeader: Record \"Purchase Header\"; var PurchLine: Record \"Purchase Line\"; WhseType: Option Inbound,Outbound)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterFilterWarehouseRequest","sig":"(var Record Warehouse Request, Record Purchase Header, Option)","named":"(var WarehouseRequest: Record \"Warehouse Request\"; PurchaseHeader: Record \"Purchase Header\"; DocumentStatus: Option)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var WarehouseRequest: Record \"Warehouse Request\"; PurchaseHeader: Record \"Purchase Header\"; DocumentStatus: Option)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCreateWhseRequest","sig":"(var Record Warehouse Request, var Record Purchase Header, var Record Purchase Line, Option)","named":"(var WhseRqst: Record \"Warehouse Request\"; var PurchHeader: Record \"Purchase Header\"; var PurchLine: Record \"Purchase Line\"; WhseType: Option Inbound,Outbound)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var WhseRqst: Record \"Warehouse Request\"; var PurchHeader: Record \"Purchase Header\"; var PurchLine: Record \"Purchase Line\"; WhseType: Option Inbound,Outbound)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterRelease","sig":"(var Record Purchase Header)","named":"(var PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterReleaseSetFilters","sig":"(var Record Purchase Line, Record Purchase Header)","named":"(var PurchaseLine: Record \"Purchase Line\"; PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PurchaseLine: Record \"Purchase Line\"; PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterReopen","sig":"(var Record Purchase Header)","named":"(var PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeRelease","sig":"(var Record Purchase Header)","named":"(var PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-22","first":17,"last":22,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(var PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeReopen","sig":"(var Record Purchase Header, var Record Warehouse Request, var Boolean)","named":"(var PurchaseHeader: Record \"Purchase Header\"; var WhseRqst: Record \"Warehouse Request\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var PurchaseHeader: Record \"Purchase Header\"; var WhseRqst: Record \"Warehouse Request\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnReleaseOnAfterCreateWhseRequest","sig":"(Record Purchase Header, var Record Purchase Line, Option)","named":"(PurchaseHeader: Record \"Purchase Header\"; var PurchaseLine: Record \"Purchase Line\"; WhseType: Option Inbound,Outbound)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(PurchaseHeader: Record \"Purchase Header\"; var PurchaseLine: Record \"Purchase Line\"; WhseType: Option Inbound,Outbound)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnReleaseOnAfterSetWhseType","sig":"(Record Purchase Header, Record Purchase Line, var Enum Warehouse Request Type)","named":"(PurchaseHeader: Record \"Purchase Header\"; PurchaseLine: Record \"Purchase Line\"; var WarehouseRequestType: Enum \"Warehouse Request Type\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(PurchaseHeader: Record \"Purchase Header\"; PurchaseLine: Record \"Purchase Line\"; var WarehouseRequestType: Enum \"Warehouse Request Type\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterShouldCreateWarehouseRequest","sig":"(Record Location, var Boolean)","named":"(Location: Record Location; var ShouldCreate: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"22-29","first":22,"last":29,"obsoleteSince":null,"spans":[{"from":22,"to":29,"named":"(Location: Record Location; var ShouldCreate: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeRelease","sig":"(var Record Purchase Header, var Boolean)","named":"(var PurchaseHeader: Record \"Purchase Header\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var PurchaseHeader: Record \"Purchase Header\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeProcedureCreateWhseRequest","sig":"(var Record Purchase Header, var Record Purchase Line, Enum Warehouse Request Type, var Boolean)","named":"(var PurchaseHeader: Record \"Purchase Header\"; var PurchaseLine: Record \"Purchase Line\"; WhseType: Enum \"Warehouse Request Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var PurchaseHeader: Record \"Purchase Header\"; var PurchaseLine: Record \"Purchase Line\"; WhseType: Enum \"Warehouse Request Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnReleaseOnBeforeCreateWhseRequest","sig":"(var Record Purchase Line, var Boolean)","named":"(var PurchaseLine: Record \"Purchase Line\"; var DoCreateWhseRequest: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var PurchaseLine: Record \"Purchase Line\"; var DoCreateWhseRequest: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}