Table "Item Attribute Value"

ID 7501
Namespace: Microsoft.Inventory.Item.Attribute

Properties

Name Value
Caption Item Attribute Value
DataCaptionFields 3
LookupPageID Page Microsoft.Inventory.Item.Attribute."Item Attribute Values"
DataClassification CustomerContent

Fields

Name Type Description
"Attribute ID" Integer
ID Integer
Value Text[250]
"Numeric Value" Decimal
"Date Value" Date
Blocked Boolean
"Attribute Name" Text[250]
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

LookupAttributeValue

procedure LookupAttributeValue(AttributeID: Integer, var AttributeValueID: Integer)

Parameters

Name Type Description
AttributeID Integer
AttributeValueID Integer

GetAttributeNameInCurrentLanguage

procedure GetAttributeNameInCurrentLanguage(): Text[250]

Returns

Type Description
Text[250]

GetValueInCurrentLanguage

procedure GetValueInCurrentLanguage(): Text[250]

Returns

Type Description
Text[250]

GetValueInCurrentLanguageWithoutUnitOfMeasure

procedure GetValueInCurrentLanguageWithoutUnitOfMeasure(): Text[250]

Returns

Type Description
Text[250]

GetTranslatedName

procedure GetTranslatedName(LanguageID: Integer): Text[250]

Parameters

Name Type Description
LanguageID Integer

Returns

Type Description
Text[250]

GetTranslatedNameByLanguageCode

procedure GetTranslatedNameByLanguageCode(LanguageCode: Code[10]): Text[250]

Parameters

Name Type Description
LanguageCode Code[10]

Returns

Type Description
Text[250]

HasBeenUsed

procedure HasBeenUsed(): Boolean

Returns

Type Description
Boolean

SetValueFilter

procedure SetValueFilter(var ItemAttribute: Record "Item Attribute", FilterText: Text)

Parameters

Name Type Description
ItemAttribute Table Microsoft.Inventory.Item.Attribute."Item Attribute"
FilterText Text

LoadItemAttributesFactBoxData

procedure LoadItemAttributesFactBoxData(KeyValue: Code[20])

Parameters

Name Type Description
KeyValue Code[20]

LoadCategoryAttributesFactBoxData

procedure LoadCategoryAttributesFactBoxData(CategoryCode: Code[20])

Parameters

Name Type Description
CategoryCode Code[20]

AttributeExists

procedure AttributeExists(AttributeID: Integer): Boolean

Parameters

Name Type Description
AttributeID Integer

Returns

Type Description
Boolean

Events

OnAfterGetValueInCurrentLanguage

[IntegrationEvent(False,False)]
local procedure OnAfterGetValueInCurrentLanguage(ItemAttributeValue: Record "Item Attribute Value", var ValueTxt: Text[250])

Parameters

Name Type Description
ItemAttributeValue Table Microsoft.Inventory.Item.Attribute."Item Attribute Value"
ValueTxt Text[250]

OnAfterHasBeenUsed

[IntegrationEvent(False,False)]
local procedure OnAfterHasBeenUsed(ItemAttributeValue: Record "Item Attribute Value", var AttributeHasBeenUsed: Boolean)

Parameters

Name Type Description
ItemAttributeValue Table Microsoft.Inventory.Item.Attribute."Item Attribute Value"
AttributeHasBeenUsed Boolean

OnBeforeSetValueFilter

[IntegrationEvent(False,False)]
local procedure OnBeforeSetValueFilter(var ItemAttributeValue: Record "Item Attribute Value", ItemAttribute: Record "Item Attribute", FilterText: Text, var IsHandled: Boolean)

Parameters

Name Type Description
ItemAttributeValue Table Microsoft.Inventory.Item.Attribute."Item Attribute Value"
ItemAttribute Table Microsoft.Inventory.Item.Attribute."Item Attribute"
FilterText Text
IsHandled Boolean

OnGetValueInCurrentLanguage

[IntegrationEvent(False,False)]
local procedure OnGetValueInCurrentLanguage(ItemAttribute: Record "Item Attribute", var ItemAttributeValue: Record "Item Attribute Value")

Parameters

Name Type Description
ItemAttribute Table Microsoft.Inventory.Item.Attribute."Item Attribute"
ItemAttributeValue Table Microsoft.Inventory.Item.Attribute."Item Attribute Value"

OnLoadItemAttributesFactBoxDataOnBeforeInsert

[IntegrationEvent(False,False)]
local procedure OnLoadItemAttributesFactBoxDataOnBeforeInsert(var ItemAttributeValueMapping: Record "Item Attribute Value Mapping", var ItemAttributeValue: Record "Item Attribute Value")

Parameters

Name Type Description
ItemAttributeValueMapping Table Microsoft.Inventory.Item.Attribute."Item Attribute Value Mapping"
ItemAttributeValue Table Microsoft.Inventory.Item.Attribute."Item Attribute Value"

See also