Codeunit "Price Asset List"

ID 7007
Namespace: Microsoft.Pricing.Asset

Methods

Init

procedure Init()

Count

procedure Count(): Integer

Returns

Type Description
Integer

GetMinMaxLevel

procedure GetMinMaxLevel(var Level: array[2] of Integer)

Parameters

Name Type Description
Level array[2] of Integer

IncLevel

procedure IncLevel()

SetLevel

procedure SetLevel(Level: Integer)

Parameters

Name Type Description
Level Integer

Add

procedure Add(AssetType: Enum "Price Asset Type", AssetNo: Code[20])

Parameters

Name Type Description
AssetType Enum Microsoft.Pricing.Asset."Price Asset Type"
AssetNo Code[20]

Add

procedure Add(AssetType: Enum "Price Asset Type", AssetId: Guid)

Parameters

Name Type Description
AssetType Enum Microsoft.Pricing.Asset."Price Asset Type"
AssetId Guid

Add

procedure Add(AssetType: Enum "Price Asset Type")

Parameters

Name Type Description
AssetType Enum Microsoft.Pricing.Asset."Price Asset Type"

Add

procedure Add(PriceAsset: Record "Price Asset" temporary)

Parameters

Name Type Description
PriceAsset Table Microsoft.Pricing.Asset."Price Asset"

Add

procedure Add(PriceCalculationBuffer: Record "Price Calculation Buffer" temporary)

Parameters

Name Type Description
PriceCalculationBuffer Table Microsoft.Pricing.Calculation."Price Calculation Buffer"

GetValue

procedure GetValue(AssetType: Enum "Price Asset Type"): Code[20]

Parameters

Name Type Description
AssetType Enum Microsoft.Pricing.Asset."Price Asset Type"

Returns

Type Description
Code[20]

Copy

procedure Copy(var FromPriceAssetList: Codeunit "Price Asset List")

Parameters

Name Type Description
FromPriceAssetList Codeunit Microsoft.Pricing.Asset."Price Asset List"

Append

procedure Append(var FromPriceAssetList: Codeunit "Price Asset List")

Parameters

Name Type Description
FromPriceAssetList Codeunit Microsoft.Pricing.Asset."Price Asset List"

GetList

procedure GetList(var ToTempPriceAsset: Record "Price Asset" temporary): Boolean

Parameters

Name Type Description
ToTempPriceAsset Table Microsoft.Pricing.Asset."Price Asset"

Returns

Type Description
Boolean

First

procedure First(var PriceAsset: Record "Price Asset" temporary, AtLevel: Integer): Boolean

Parameters

Name Type Description
PriceAsset Table Microsoft.Pricing.Asset."Price Asset"
AtLevel Integer

Returns

Type Description
Boolean

Next

procedure Next(var PriceAsset: Record "Price Asset" temporary): Boolean

Parameters

Name Type Description
PriceAsset Table Microsoft.Pricing.Asset."Price Asset"

Returns

Type Description
Boolean

Remove

procedure Remove(AssetType: Enum "Price Asset Type"): Boolean

Parameters

Name Type Description
AssetType Enum Microsoft.Pricing.Asset."Price Asset Type"

Returns

Type Description
Boolean

RemoveAtLevel

procedure RemoveAtLevel(AssetType: Enum "Price Asset Type", Level: Integer): Boolean

Parameters

Name Type Description
AssetType Enum Microsoft.Pricing.Asset."Price Asset Type"
Level Integer

Returns

Type Description
Boolean

Events

OnAddOnBeforeInsert

[IntegrationEvent(True,False)]
local procedure OnAddOnBeforeInsert(var PriceAsset: Record "Price Asset" temporary)

Parameters

Name Type Description
PriceAsset Table Microsoft.Pricing.Asset."Price Asset"

OnAfterGetValue

[IntegrationEvent(True,False)]
local procedure OnAfterGetValue(AssetType: Enum "Price Asset Type", var Result: Code[20])

Parameters

Name Type Description
AssetType Enum Microsoft.Pricing.Asset."Price Asset Type"
Result Code[20]

See also