Codeunit 7011 Price Source List

Base Application, Microsoft.Pricing.Source

Source AL, 291 lines

src/Layers/W1/BaseApp/Pricing/Source/PriceSourceList.Codeunit.allines 10 to 25 of 291, Copyright (c) Microsoft Corporation. MIT

codeunit 7011 "Price Source List"{    var        TempPriceSource: Record "Price Source" temporary;        PriceType: Enum "Price Type";        CurrentLevel: Integer;        InconsistentPriceTypeErr: Label 'The source added to the list must have the Price Type equal to %1',            Comment = '%1 - price type value';    procedure Init()    begin        CurrentLevel := 0;        PriceType := PriceType::Any;        TempPriceSource.Reset();        TempPriceSource.DeleteAll();    end;

All 291 lines

Events 3 in 29

[IntegrationEvent] OnAddOnBeforeInsert(var PriceSource: Record "Price Source")17-29
[IntegrationEvent] OnAfterGetValue(SourceType: Enum "Price Source Type"; var Result: Code[20])17-29
[IntegrationEvent] OnBeforeAddChildren(PriceSource: Record "Price Source"; var TempChildPriceSource: Record "Price Source" temporary)new in 18

Public procedures 21 in 29

Init()17-29
GetMinMaxLevel(var Level: array[2] of Integer)17-29
GetPriceType(): Enum "Price Type"17-29
SetPriceType(NewPriceType: Enum "Price Type")17-29
IncLevel()17-29
SetLevel(Level: Integer)17-29

All 21 procedures

Changes 1 in 20

List17181920212223242526272829
Procedures21
Events1
AddJobAsSources(JobNo: Code[20]; JobTaskNo: Code[20])new in 20
added

All 4 changes in 17-29