Codeunit 6080 Service Price Management

Base Application, Microsoft.Service.Pricing

Source AL, 424 lines

src/Layers/W1/BaseApp/Service/Pricing/ServicePriceManagement.Codeunit.allines 12 to 27 of 424, Copyright (c) Microsoft Corporation. MIT

codeunit 6080 "Service Price Management"{    trigger OnRun()    begin    end;    var        ServHeader: Record "Service Header";        Currency: Record Currency;        TotalAmount: Decimal;#pragma warning disable AA0074        Text001: Label 'There are no Service Lines to adjust.';        Text002: Label 'Perform price adjustment?';        Text003: Label 'This will remove all discounts on the Service Lines. Continue?';

All 424 lines

Events 11 in 29

[IntegrationEvent] OnShowPriceAdjustmentOnBeforeLineWithinFilter(var ServiceLine: Record "Service Line")new in 23
[IntegrationEvent] OnShowPriceAdjustmentAfterValidateLineDiscountPercentage(var ServiceLine: Record "Service Line")new in 23
[IntegrationEvent] OnShowPriceAdjustmentOnBeforeServLinePriceAdjmtInsert(ServiceLine: Record "Service Line"; var ServiceLinePriceAdjmt: Record "Service Line Price Adjmt.")new in 23
[IntegrationEvent] OnAdjustLinesOnBeforeCalcSums(var ServiceLinePriceAdjmt: Record "Service Line Price Adjmt.")new in 23
[IntegrationEvent] OnAdjustFixedOnBeforeFind(var ServiceLinePriceAdjmt: Record "Service Line Price Adjmt."; InclVat: Boolean; var FixedPrice: Decimal)new in 23
[IntegrationEvent] OnCalculateWeightOnBeforeCalcSums(var ServiceLinePriceAdjmt: Record "Service Line Price Adjmt.")new in 23
[IntegrationEvent] OnLineWithinFilterOnBeforeSetFilters(ServiceLine: Record "Service Line"; var Result: Boolean; var IsHandled: Boolean)new in 23

All 11 events

Public procedures 6 in 29

ShowPriceAdjustment(ServItemLine: Record "Service Item Line")17-29
AdjustLines(ServLinePriceAdjmt: Record "Service Line Price Adjmt."; ServPriceGrSetup: Record "Serv. Price Group Setup")17-29
GetServPriceGrSetup(var ServPriceGrSetup: Record "Serv. Price Group Setup"; ServHeader: Record "Service Header"; ServItemLine: Record "Service Item Line")17-29
ResetAdjustedLines(ServLine: Record "Service Line")17-29
CheckServItemGrCode(var ServLine: Record "Service Line")17-29
IsLineToAdjustFirstInvoiced(var ServLine: Record "Service Line"): Boolean17-29

Changes 11 in 23

List17181920212223242526272829
Events11
[IntegrationEvent] OnShowPriceAdjustmentOnBeforeLineWithinFilter(var ServiceLine: Record "Service Line")new in 23
added
[IntegrationEvent] OnShowPriceAdjustmentAfterValidateLineDiscountPercentage(var ServiceLine: Record "Service Line")new in 23
added
[IntegrationEvent] OnShowPriceAdjustmentOnBeforeServLinePriceAdjmtInsert(ServiceLine: Record "Service Line"; var ServiceLinePriceAdjmt: Record "Service Line Price Adjmt.")new in 23
added
[IntegrationEvent] OnAdjustLinesOnBeforeCalcSums(var ServiceLinePriceAdjmt: Record "Service Line Price Adjmt.")new in 23
added
[IntegrationEvent] OnAdjustFixedOnBeforeFind(var ServiceLinePriceAdjmt: Record "Service Line Price Adjmt."; InclVat: Boolean; var FixedPrice: Decimal)new in 23
added
[IntegrationEvent] OnCalculateWeightOnBeforeCalcSums(var ServiceLinePriceAdjmt: Record "Service Line Price Adjmt.")new in 23
added

All 11 changes in 17-29