Codeunit 7024 Job Planning Line - Price

Base Application, Microsoft.Projects.Project.Planning

Source AL, 326 lines

src/Layers/W1/BaseApp/Projects/Project/Planning/JobPlanningLinePrice.Codeunit.allines 16 to 31 of 326, Copyright (c) Microsoft Corporation. MIT

codeunit 7024 "Job Planning Line - Price" implements "Line With Price"{    var        JobPlanningLine: Record "Job Planning Line";        PriceSourceList: Codeunit "Price Source List";        CurrPriceType: Enum "Price Type";        PriceCalculated: Boolean;        DiscountIsAllowed: Boolean;        IsSKU: Boolean;    procedure GetTableNo(): Integer    begin        exit(Database::"Job Planning Line")    end;    procedure SetLine(PriceType: Enum "Price Type"; Line: Variant)

All 326 lines

Events 6 in 29

[IntegrationEvent] OnAfterFillBuffer(var PriceCalculationBuffer: Record "Price Calculation Buffer"; JobPlanningLine: Record "Job Planning Line")17-29
[IntegrationEvent] OnAfterGetAssetType(JobPlanningLine: Record "Job Planning Line"; var AssetType: Enum "Price Asset Type")new in 18
[IntegrationEvent] OnAfterIsPriceUpdateNeeded(AmountType: Enum "Price Amount Type"; FoundPrice: Boolean; CalledByFieldNo: Integer; JobPlanningLine: Record "Job Planning Line"; var Result: Boolean)new in 21
[IntegrationEvent] OnBeforeSetPrice(var JobPlanningLine: Record "Job Planning Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; var IsHandled: Boolean; CurrPriceType: Enum "Price Type")new in 22
[IntegrationEvent] OnAfterAddSources(var JobPlanningLine: Record "Job Planning Line"; CurrPriceType: Enum "Price Type"; var PriceSourceList: Codeunit "Price Source List"; Job: Record Job)new in 23
[IntegrationEvent] OnAfterSetPrice(var JobPlanningLine: Record "Job Planning Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; CurrPriceType: Enum "Price Type")new in 26

All 8 events in 17-29

Public procedures 16 in 29

GetTableNo(): Integer17-29
SetLine(PriceType: Enum "Price Type"; Line: Variant)17-29
SetLine(PriceType: Enum "Price Type"; Header: Variant; Line: Variant)17-29
SetSources(var NewPriceSourceList: Codeunit "Price Source List")17-29
GetLine(var Line: Variant)17-29
GetLine(var Header: Variant; var Line: Variant)17-29

All 16 procedures

Changes 2 in 26

List17181920212223242526272829
Events11222
[IntegrationEvent] OnAfterSetPrice(var JobPlanningLine: Record "Job Planning Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type")gone after 25
gone
[IntegrationEvent] OnAfterSetPrice(var JobPlanningLine: Record "Job Planning Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; CurrPriceType: Enum "Price Type")new in 26
added

All 8 changes in 17-29