{"title":"Codeunit 500 Enum Assignment Management, events","url":"https://jonas-paprotka.de/ref/codeunit/500-enum-assignment-management/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":500,"name":"Enum Assignment Management","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/500-enum-assignment-management/","json":"https://jonas-paprotka.de/ref/codeunit/500-enum-assignment-management.json"},"aspect":"events","total":8,"rows":[{"name":"OnGetSalesApprovalDocumentType","sig":"(Enum Sales Document Type, var Enum Approval Document Type, var Boolean)","named":"(SalesDocumentType: Enum \"Sales Document Type\"; var ApprovalDocumentType: Enum \"Approval Document Type\"; 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":"(SalesDocumentType: Enum \"Sales Document Type\"; var ApprovalDocumentType: Enum \"Approval Document Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGetSalesIncomingDocumentType","sig":"(Enum Sales Document Type, var Enum Incoming Document Type, var Boolean)","named":"(SalesDocumentType: Enum \"Sales Document Type\"; var IncomingDocumentType: Enum \"Incoming Document Type\"; 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":"(SalesDocumentType: Enum \"Sales Document Type\"; var IncomingDocumentType: Enum \"Incoming Document Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGetPurchApprovalDocumentType","sig":"(Enum Purchase Document Type, var Enum Approval Document Type, var Boolean)","named":"(PurchDocumentType: Enum \"Purchase Document Type\"; var ApprovalDocumentType: Enum \"Approval Document Type\"; 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":"(PurchDocumentType: Enum \"Purchase Document Type\"; var ApprovalDocumentType: Enum \"Approval Document Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGetPurchIncomingDocumentType","sig":"(Enum Purchase Document Type, var Enum Incoming Document Type, var Boolean)","named":"(PurchDocumentType: Enum \"Purchase Document Type\"; var IncomingDocumentType: Enum \"Incoming Document Type\"; 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":"(PurchDocumentType: Enum \"Purchase Document Type\"; var IncomingDocumentType: Enum \"Incoming Document Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGetSalesLineTypeFromPurchLineType","sig":"(Enum Purchase Line Type, var Enum Sales Line Type, var Boolean)","named":"(PurchLineType: Enum \"Purchase Line Type\"; var SalesLineType: Enum \"Sales Line Type\"; 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":"(PurchLineType: Enum \"Purchase Line Type\"; var SalesLineType: Enum \"Sales Line Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGetPurchLineTypeFromSalesLineType","sig":"(Enum Sales Line Type, var Enum Purchase Line Type, var Boolean)","named":"(SalesLineType: Enum \"Sales Line Type\"; var PurchLineType: Enum \"Purchase Line Type\"; 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":"(SalesLineType: Enum \"Sales Line Type\"; var PurchLineType: Enum \"Purchase Line Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGetSalesDocumentTypeFromApproval","sig":"(Enum Approval Document Type, var Enum Sales Document Type, var Boolean)","named":"(ApprovalDocumentType: Enum \"Approval Document Type\"; var SalesDocumentType: Enum \"Sales Document Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(ApprovalDocumentType: Enum \"Approval Document Type\"; var SalesDocumentType: Enum \"Sales Document Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnGetPurchDocumentTypeFromApproval","sig":"(Enum Approval Document Type, var Enum Purchase Document Type, var Boolean)","named":"(ApprovalDocumentType: Enum \"Approval Document Type\"; var PurchDocumentType: Enum \"Purchase Document Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"28-29","first":28,"last":29,"obsoleteSince":null,"spans":[{"from":28,"to":29,"named":"(ApprovalDocumentType: Enum \"Approval Document Type\"; var PurchDocumentType: Enum \"Purchase Document Type\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}