Table of Contents

Table "Item Variant"

ID 5401
Namespace: Microsoft.Inventory.Item

Properties

Name Value
Caption Item Variant
DataCaptionFields 2,1,3
LookupPageID Page Microsoft.Inventory.Item."Item Variants"
DataClassification CustomerContent

Fields

Name Type Description
Code Code[10]

Specifies a code to identify the variant.

"Item No." Code[20]

Specifies the number of the item card from which you opened the Item Variant Translations window.

Description Text[100]

Specifies text that describes the item variant.

"Description 2" Text[50]

Specifies the item variant in more detail than the Description field.

"Item Id" Guid
Blocked Boolean

Specifies that the related record is blocked from being posted in transactions, for example an item variant that is placed in quarantine.

Picture MediaSet

Specifies the picture that has been inserted for the item variant.

"Sales Blocked" Boolean

Specifies that the item variant cannot be entered on sales documents, except return orders and credit memos, and journals.

"Purchasing Blocked" Boolean

Specifies that the item variant cannot be entered on purchase documents, except return orders and credit memos, and journals.

"Service Blocked" Boolean

Specifies that the item variant cannot be entered on service items, service contracts and service documents, except credit memos.

SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemCreatedByUserName Text[50]
SystemCreatedByFullName Text[80]
SystemModifiedByUserName Text[50]
SystemModifiedByFullName Text[80]
SystemRowVersion BigInteger

Methods

UpdateReferencedIds

procedure UpdateReferencedIds()

Events

OnAfterOnDelete

[IntegrationEvent(False,False)]
local procedure OnAfterOnDelete(ItemVariant: Record "Item Variant")

Parameters

Name Type Description
ItemVariant Table Microsoft.Inventory.Item."Item Variant"

OnDeleteOnAfterCheck

[IntegrationEvent(False,False)]
local procedure OnDeleteOnAfterCheck(var ItemVariant: Record "Item Variant")

Parameters

Name Type Description
ItemVariant Table Microsoft.Inventory.Item."Item Variant"

OnAfterDeleteItemVariantPicture

[IntegrationEvent(False,False)]
internal procedure OnAfterDeleteItemVariantPicture(var ItemVariant: Record "Item Variant")

Parameters

Name Type Description
ItemVariant Table Microsoft.Inventory.Item."Item Variant"

OnAfterTakeNewPicture

[IntegrationEvent(False,False)]
internal procedure OnAfterTakeNewPicture(var ItemVariant: Record "Item Variant"; IsPictureAdded: Boolean)

Parameters

Name Type Description
ItemVariant Table Microsoft.Inventory.Item."Item Variant"
IsPictureAdded Boolean

OnImportFromDeviceOnAfterModify

[IntegrationEvent(False,False)]
internal procedure OnImportFromDeviceOnAfterModify(var ItemVariant: Record "Item Variant")

Parameters

Name Type Description
ItemVariant Table Microsoft.Inventory.Item."Item Variant"

See also