Codeunit 6476 Serv. Cost Calculation Mgt.

Base Application, Microsoft.Inventory.Costing

Source AL, 166 lines

src/Layers/W1/BaseApp/Service/Inventory/Costing/ServCostCalculationMgt.Codeunit.allines 12 to 27 of 166, Copyright (c) Microsoft Corporation. MIT

codeunit 6476 "Serv. Cost Calculation Mgt."{    var        CostCalculationManagement: Codeunit "Cost Calculation Management";    procedure CalcServCrMemoLineCostLCY(ServCrMemoLine: Record "Service Cr.Memo Line") AdjCostLCY: Decimal    var        ValueEntry: Record "Value Entry";        IsHandled: Boolean;    begin        IsHandled := false;        OnBeforeCalcServCrMemoLineCostLCY(ServCrMemoLine, AdjCostLCY, IsHandled);        if IsHandled then            exit(AdjCostLCY);        if ServCrMemoLine.Quantity = 0 then

All 166 lines

Events 2 in 29

[IntegrationEvent] OnBeforeCalcServCrMemoLineCostLCY(ServiceCrMemoLine: Record "Service Cr.Memo Line"; var AdjCostLCY: Decimal; var IsHandled: Boolean)new in 27
[IntegrationEvent] OnBeforeCalcServInvLineCostLCY(ServiceInvoiceLine: Record "Service Invoice Line"; var AdjCostLCY: Decimal; var IsHandled: Boolean)new in 27

Public procedures 3 in 29

CalcServCrMemoLineCostLCY(ServCrMemoLine: Record "Service Cr.Memo Line"): Decimalnew in 25
CalcServLineCostLCY(ServLine: Record "Service Line"; QtyType: Option General,Invoicing,Shipping,Consuming,ServLineItems,ServLineResources,ServLineCosts): Decimalnew in 25
CalcServInvLineCostLCY(ServInvLine: Record "Service Invoice Line"): Decimalnew in 25

Changes 2 in 27

List17181920212223242526272829
Events2
[IntegrationEvent] OnBeforeCalcServCrMemoLineCostLCY(ServiceCrMemoLine: Record "Service Cr.Memo Line"; var AdjCostLCY: Decimal; var IsHandled: Boolean)new in 27
added
[IntegrationEvent] OnBeforeCalcServInvLineCostLCY(ServiceInvoiceLine: Record "Service Invoice Line"; var AdjCostLCY: Decimal; var IsHandled: Boolean)new in 27
added

All 2 changes in 25-29