Codeunit 5920 ServItemManagement

Base Application, Microsoft.Service.Item

Source AL, 918 lines

src/Layers/W1/BaseApp/Service/Item/ServItemManagement.Codeunit.allines 22 to 37 of 918, Copyright (c) Microsoft Corporation. MIT

codeunit 5920 ServItemManagement{    trigger OnRun()    begin    end;    var        ServItem: Record "Service Item";        ServMgtSetup: Record "Service Mgt. Setup";        ServHeader: Record "Service Header";        ServInvoiceLine: Record "Service Line";        ItemUnitOfMeasure: Record "Item Unit of Measure";        TempReservEntry: Record "Reservation Entry" temporary;        GLSetup: Record "General Ledger Setup";        TempServiceItem: Record "Service Item" temporary;

All 918 lines

Events 26 in 29

[IntegrationEvent] OnAddOrReplaceSIComponentPermanentTemporary(var ServItem: Record "Service Item"; var ServLine: Record "Service Line"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnAfterInitNewServItemComponent(var ServItemComponent: Record "Service Item Component"; ServiceLine: Record "Service Line")17-29
[IntegrationEvent] OnBeforeCreateServItemOnServItemLine(var ServItemLine: Record "Service Item Line")17-29
[IntegrationEvent] OnBeforeDeleteServItemOnSaleCreditMemo(SalesHeader: Record "Sales Header"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeInsertServItemComponent(var ServiceItemComponent: Record "Service Item Component"; ServiceItem: Record "Service Item"; SalesHeader: Record "Sales Header"; SalesShipmentLine: Record "Sales Shipment Line"; BOMComponent: Record "BOM Component"; BOMComponent2: Record "BOM Component")17-29
[IntegrationEvent] OnBeforeInsertNewServItemComponent(var ServiceItemComponent: Record "Service Item Component"; ServiceLine: Record "Service Line")17-29
[IntegrationEvent] OnCreateServItemOnSalesLineShpt(var ServiceItem: Record "Service Item"; SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line")17-29

All 29 events in 17-29

Public procedures 14 in 29

AddOrReplaceSIComponent(var ServLine: Record "Service Line"; ServHeader: Record "Service Header"; ServShptDocNo: Code[20]; ServShptLineNo: Integer; var TempTrackingSpecification: Record "Tracking Specification" temporary)17-29
InsertServiceItemComponent(var ServiceItemComponent: Record "Service Item Component"; BOMComponent: Record "BOM Component"; BOMComponent2: Record "BOM Component"; SalesHeader: Record "Sales Header"; SalesShipmentLine: Record "Sales Shipment Line")17-29
CreateServItemOnSalesLineShpt(SalesHeader: Record "Sales Header"; SalesLine: Record "Sales Line"; SalesShipmentLine: Record "Sales Shipment Line")17-29
CalcServiceWarrantyDates(var ServiceItem: Record "Service Item"; StartingWarrantyDate: Date; ItemTrackingWarrantyDateFormula: DateFormula; ServMgtSetupDefaultWarrantyDuration: DateFormula)17-29
CreateServItemOnServItemLine(var ServItemLine: Record "Service Item Line")17-29
CalcAmountLCY(FCAmount: Decimal; CurrencyFactor: Decimal; CurrencyCode: Code[10]; CurrencyDate: Date): Decimal17-29

All 14 procedures

Changes 2 in 28

List17181920212223242526272829
Procedures2
Events355312
[IntegrationEvent] OnCreateServItemOnServItemLineOnBeforeConfirmCreateServItem(var ServiceItemLine: Record "Service Item Line"; var IsHandled: Boolean; var SkipConfirm: Boolean)new in 28
added
[IntegrationEvent] OnAfterModifyServiceItem(var ServiceItem: Record "Service Item"; var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; var SalesShipmentLine: Record "Sales Shipment Line")new in 28
added

All 21 changes in 17-29