{"title":"Codeunit 1520 Workflow Event Handling, events","url":"https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/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-11-20","object":{"type":"codeunit","id":1520,"name":"Workflow Event Handling","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/","json":"https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling.json"},"aspect":"events","total":7,"rows":[{"name":"OnAddWorkflowEventsToLibrary","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAddWorkflowEventPredecessorsToLibrary","sig":"(Code[128])","named":"(EventFunctionName: Code[128])","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(EventFunctionName: Code[128])","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAddWorkflowTableRelationsToLibrary","sig":"()","named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeAddEventToLibrary","sig":"(Code[128], Text[250])","named":"(FunctionName: Code[128]; Description: Text[250])","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(FunctionName: Code[128]; Description: Text[250])","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeRunWorkflowOnSendPurchaseDocForApproval","sig":"(Record Purchase Header)","named":"(PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-18","first":17,"last":18,"obsoleteSince":null,"spans":[{"from":17,"to":18,"named":"(PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeRunWorkflowOnApproveApprovalRequest","sig":"(var Record Approval Entry)","named":"(var ApprovalEntry: Record \"Approval Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var ApprovalEntry: Record \"Approval Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeRunWorkflowOnSendPurchaseDocForApproval","sig":"(var Record Purchase Header)","named":"(var PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(var PurchaseHeader: Record \"Purchase Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}