Source AL, 374 lines
src/Layers/W1/BaseApp/Service/Document/ServAllocationManagement.Codeunit.allines 13 to 28 of 374, Copyright (c) Microsoft Corporation. MIT
codeunit 5930 ServAllocationManagement{ Permissions = TableData "Service Order Allocation" = rimd; trigger OnRun() begin end; var#pragma warning disable AA0074#pragma warning disable AA0470 Text000: Label 'You cannot allocate a resource to the service order %1 because it is %2.'; Text001: Label '%1 with the field %2 selected cannot be found.'; Text002: Label 'Do you want to allocate the %1 %2 to all nonactive Service Order Allocations on the Service Item Lines with the %3 other than %4?'; Text003: Label 'There are no %1 lines to split the corresponding %2.'; Text004: Label 'You cannot change the resource allocation for service item line %1 because the %2 is %3.';
All 374 lines
Events 7 in 29
| [IntegrationEvent] OnBeforeCancelAllocation(var ServOrderAllocation: Record "Service Order Allocation"; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnBeforeCreateAllocationEntry(DocumentType: Integer; DocumentNo: Code[20]; ServItemLineNo: Integer; ServItemNo: Code[20]; ServSerialNo: Code[50]; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnAfterAllocateDate(var ServOrderAllocation: Record "Service Order Allocation"; var ServHeader: Record "Service Header") | new in 20 |
| [IntegrationEvent] OnAfterCancelAllocation(var ServOrderAllocation: Record "Service Order Allocation"; var ServHeader: Record "Service Header") | new in 20 |
| [IntegrationEvent] OnBeforeAllocateDate(DocumentType: Integer; DocumentNo: Code[20]; EntryNo: Integer; ResNo: Code[20]; ResGrNo: Code[20]; CurrentDate: Date; Quantity: Decimal; var IsHandled: Boolean) | new in 20 |
| [IntegrationEvent] OnSetServOrderAllocStatusOnBeforeServOrderAlloc2Modify(var ServiceOrderAllocation: Record "Service Order Allocation"; var ServiceOrderAllocation2: Record "Service Order Allocation"; var ServiceHeader: Record "Service Header") | new in 21 |
| [IntegrationEvent] OnSplitAllocationOnBeforeServOrderAllocModify(var ServiceOrderAllocation: Record "Service Order Allocation"; var SplitServiceOrderAllocation: Record "Service Order Allocation") | new in 22 |
Public procedures 9 in 29
| AllocateDate(DocumentType: Integer; DocumentNo: Code[20]; EntryNo: Integer; ResNo: Code[20]; ResGrNo: Code[20]; CurrentDate: Date; Quantity: Decimal) | 17-29 |
| CancelAllocation(var ServOrderAlloc: Record "Service Order Allocation") | 17-29 |
| CreateAllocationEntry(DocumentType: Integer; DocumentNo: Code[20]; ServItemLineNo: Integer; ServItemNo: Code[20]; ServSerialNo: Code[50]) | 17-29 |
| SplitAllocation(var SplitServOrderAlloc: Record "Service Order Allocation") | 17-29 |
| ResourceQualified(ResourceNo: Code[20]; Type: Enum "Resource Skill Type"; No: Code[20]): Boolean | 17-29 |
| QualifiedForServiceItemLine(var ServiceItemLine: Record "Service Item Line"; ResourceNo: Code[20]): Boolean | 17-29 |
All 9 procedures
Changes 1 in 22
All 5 changes in 17-29