Codeunit 7007 Price Asset List

Base Application, Microsoft.Pricing.Asset

Source AL, 221 lines

src/Layers/W1/BaseApp/Pricing/Asset/PriceAssetList.Codeunit.allines 9 to 24 of 221, Copyright (c) Microsoft Corporation. MIT

codeunit 7007 "Price Asset List"{    var        TempPriceAsset: Record "Price Asset" temporary;        CurrentLevel: Integer;    procedure Init()    begin        CurrentLevel := 0;        TempPriceAsset.Reset();        TempPriceAsset.DeleteAll();    end;    procedure Count(): Integer;    begin        TempPriceAsset.Reset();

All 221 lines

Events 2 in 29

[IntegrationEvent] OnAddOnBeforeInsert(var PriceAsset: Record "Price Asset")17-29
[IntegrationEvent] OnAfterGetValue(AssetType: Enum "Price Asset Type"; var Result: Code[20])17-29

Public procedures 18 in 29

Init()17-29
Count(): Integer17-29
GetMinMaxLevel(var Level: array[2] of Integer)17-29
IncLevel()17-29
SetLevel(Level: Integer)17-29
Add(AssetType: Enum "Price Asset Type"; AssetNo: Code[20])17-29

All 18 procedures