Codeunit 5900 ServOrderManagement

Base Application, Microsoft.Service.Document

Source AL, 948 lines

src/Layers/W1/BaseApp/Service/Document/ServOrderManagement.Codeunit.allines 25 to 40 of 948, Copyright (c) Microsoft Corporation. MIT

codeunit 5900 ServOrderManagement{    trigger OnRun()    begin    end;    var#pragma warning disable AA0074#pragma warning disable AA0470        Text000: Label 'You cannot create a %1, because the %2 field is not empty.';        Text001: Label 'You must specify %1, %2 and %3 in %4 %5, before you create new %6.';#pragma warning restore AA0470        Text004: Label 'There are no Customer Templates.';#pragma warning disable AA0470        Text005: Label 'Posting cannot be completed successfully. The %1 field on the service invoice lines should contain 1 because %2 %3 was replaced.';

All 948 lines

Events 19 in 29

[IntegrationEvent] OnBeforeCalcContractDates(var ServiceHeader: Record "Service Header"; var ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeToCustInvDiscInsert(var ToCustInvoiceDisc: Record "Cust. Invoice Disc."; FromCustInvoiceDisc: Record "Cust. Invoice Disc.")17-29
[IntegrationEvent] OnBeforeUpdateResponseDateTime(var ServItemLine: Record "Service Item Line"; var Deleting: Boolean; var IsHandled: Boolean)17-29
[IntegrationEvent] OnLookupServItemNoOnAfterServItemSetFilters(var ServItemLine: Record "Service Item Line"; var ServItem: Record "Service Item"; ServHeader: Record "Service Header")17-29
[IntegrationEvent] OnReplacementCreateServItemAfterSerialNoCheck(var NewServItem: Record "Service Item"; FromServItem: Record "Service Item"; SerialNo: Code[50]; ServiceLine: Record "Service Line"; ServShptDocNo: Code[20]; ServShptLineNo: Integer; var IsHandled: Boolean)17-29
[IntegrationEvent] OnReplacementCreateServItemOnBeforeServItemAutoCreated(var FromServItem: Record "Service Item"; NewServItem: Record "Service Item"; ServiceLine: Record "Service Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnAfterReplacementCreateServItem(NewServItem: Record "Service Item"; FromServItem: Record "Service Item"; var IsHandled: Boolean)17-29

All 20 events in 17-29

Public procedures 16 in 29

ServHeaderLookup(DocumentType: Integer; var DocumentNo: Code[20]): Boolean17-29
UpdateResponseDateTime(var ServItemLine: Record "Service Item Line"; Deleting: Boolean)17-29
CreateNewCustomer(var ServHeader: Record "Service Header")17-29
ReplacementCreateServItem(FromServItem: Record "Service Item"; ServiceLine: Record "Service Line"; ServShptDocNo: Code[20]; ServShptLineNo: Integer; var TempTrackingSpecification: Record "Tracking Specification" temporary)17-29
InsertServCost(ServInvLine: Record "Service Line"; CostType: Integer; LinktoServItemLine: Boolean): Boolean17-29
FindContactInformation(CustNo: Code[20]): Code[20]17-29

All 21 procedures in 17-29

Changes 1 in 29

List17181920212223242526272829
Procedures5
Events221112121
[IntegrationEvent] OnInsertServCostOnCostTypeZeroOnBeforeTestServiceZoneCode(ServiceHeader: Record "Service Header"; var ServiceCost: Record "Service Cost"; var IsHandled: Boolean)new in 29
added

All 18 changes in 17-29