{"title":"Codeunit 5930 ServAllocationManagement, events","url":"https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/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":5930,"name":"ServAllocationManagement","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/","json":"https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement.json"},"aspect":"events","total":7,"rows":[{"name":"OnBeforeCancelAllocation","sig":"(var Record Service Order Allocation, var Boolean)","named":"(var ServOrderAllocation: Record \"Service Order Allocation\"; 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 ServOrderAllocation: Record \"Service Order Allocation\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCreateAllocationEntry","sig":"(Integer, Code[20], Integer, Code[20], Code[50], var Boolean)","named":"(DocumentType: Integer; DocumentNo: Code[20]; ServItemLineNo: Integer; ServItemNo: Code[20]; ServSerialNo: Code[50]; 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":"(DocumentType: Integer; DocumentNo: Code[20]; ServItemLineNo: Integer; ServItemNo: Code[20]; ServSerialNo: Code[50]; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterAllocateDate","sig":"(var Record Service Order Allocation, var Record Service Header)","named":"(var ServOrderAllocation: Record \"Service Order Allocation\"; var ServHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ServOrderAllocation: Record \"Service Order Allocation\"; var ServHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCancelAllocation","sig":"(var Record Service Order Allocation, var Record Service Header)","named":"(var ServOrderAllocation: Record \"Service Order Allocation\"; var ServHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ServOrderAllocation: Record \"Service Order Allocation\"; var ServHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeAllocateDate","sig":"(Integer, Code[20], Integer, Code[20], Code[20], Date, Decimal, var Boolean)","named":"(DocumentType: Integer; DocumentNo: Code[20]; EntryNo: Integer; ResNo: Code[20]; ResGrNo: Code[20]; CurrentDate: Date; Quantity: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(DocumentType: Integer; DocumentNo: Code[20]; EntryNo: Integer; ResNo: Code[20]; ResGrNo: Code[20]; CurrentDate: Date; Quantity: Decimal; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnSetServOrderAllocStatusOnBeforeServOrderAlloc2Modify","sig":"(var Record Service Order Allocation, var Record Service Order Allocation, var Record Service Header)","named":"(var ServiceOrderAllocation: Record \"Service Order Allocation\"; var ServiceOrderAllocation2: Record \"Service Order Allocation\"; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var ServiceOrderAllocation: Record \"Service Order Allocation\"; var ServiceOrderAllocation2: Record \"Service Order Allocation\"; var ServiceHeader: Record \"Service Header\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnSplitAllocationOnBeforeServOrderAllocModify","sig":"(var Record Service Order Allocation, var Record Service Order Allocation)","named":"(var ServiceOrderAllocation: Record \"Service Order Allocation\"; var SplitServiceOrderAllocation: Record \"Service Order Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"22-29","first":22,"last":29,"obsoleteSince":null,"spans":[{"from":22,"to":29,"named":"(var ServiceOrderAllocation: Record \"Service Order Allocation\"; var SplitServiceOrderAllocation: Record \"Service Order Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}