Table "Price Asset"
ID 7003
Namespace: Microsoft.Pricing.Asset
Properties
| Name | Value |
|---|---|
| TableType | Temporary |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Entry No." | Integer | |
| "Asset Type" | Enum Microsoft.Pricing.Asset."Price Asset Type" | |
| "Asset No." | Code[20] | |
| "Asset ID" | Guid | |
| Level | Integer | |
| "Variant Code" | Code[10] | |
| "Unit of Measure Code" | Code[10] | |
| "Price Type" | Enum Microsoft.Pricing.PriceList."Price Type" | |
| "Table Id" | Integer | |
| "Amount Type" | Enum Microsoft.Pricing.PriceList."Price Amount Type" | |
| "Unit Price" | Decimal | |
| "Unit Price 2" | Decimal | |
| "Allow Invoice Disc." | Boolean | |
| "Price Includes VAT" | Boolean | |
| "VAT Bus. Posting Gr. (Price)" | Code[20] | |
| "Work Type Code" | Code[10] | |
| Description | Text[100] | |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemRowVersion | BigInteger |
Methods
NewEntry
procedure NewEntry(AssetType: Enum "Price Asset Type", NewLevel: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| AssetType | Enum Microsoft.Pricing.Asset."Price Asset Type" | |
| NewLevel | Integer |
InitAsset
procedure InitAsset()
IsAssetNoRequired
procedure IsAssetNoRequired(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
LookupNo
procedure LookupNo(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
LookupVariantCode
procedure LookupVariantCode(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
LookupUnitofMeasure
procedure LookupUnitofMeasure(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
FilterPriceLines
procedure FilterPriceLines(var PriceListLine: Record "Price List Line"): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| PriceListLine | Table Microsoft.Pricing.PriceList."Price List Line" |
Returns
| Type | Description |
|---|---|
| Boolean |
PutRelatedAssetsToList
procedure PutRelatedAssetsToList(var PriceAssetList: Codeunit "Price Asset List"): Integer
Parameters
| Name | Type | Description |
|---|---|---|
| PriceAssetList | Codeunit Microsoft.Pricing.Asset."Price Asset List" |
Returns
| Type | Description |
|---|---|
| Integer |
FillFromBuffer
procedure FillFromBuffer(PriceCalculationBuffer: Record "Price Calculation Buffer" temporary)
Parameters
| Name | Type | Description |
|---|---|---|
| PriceCalculationBuffer | Table Microsoft.Pricing.Calculation."Price Calculation Buffer" |
ValidateAssetNo
procedure ValidateAssetNo()
Events
OnAfterInitAsset
[IntegrationEvent(False,False)]
local procedure OnAfterInitAsset(var PriceAsset: Record "Price Asset" temporary)
Parameters
| Name | Type | Description |
|---|---|---|
| PriceAsset | Table Microsoft.Pricing.Asset."Price Asset" |
OnBeforeValidateUnitOfMeasureCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateUnitOfMeasureCode(var PriceAsset: Record "Price Asset" temporary, var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| PriceAsset | Table Microsoft.Pricing.Asset."Price Asset" | |
| IsHandled | Boolean |
OnBeforeVerifyConsistentAssetType
[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyConsistentAssetType(var PriceAsset: Record "Price Asset" temporary, var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| PriceAsset | Table Microsoft.Pricing.Asset."Price Asset" | |
| IsHandled | Boolean |