Table "Item Reference"

ID 5777
Namespace: Microsoft.Inventory.Item.Catalog

Properties

Name Value
Caption Item Reference
LookupPageID Page Microsoft.Inventory.Item.Catalog."Item Reference List"
DataClassification CustomerContent

Fields

Name Type Description
"Item No." Code[20]
"Variant Code" Code[10]
"Unit of Measure" Code[10]
"Reference Type" Enum Microsoft.Inventory.Item.Catalog."Item Reference Type"
"Reference Type No." Code[20]
"Reference No." Code[50]
Description Text[100]
"Description 2" Text[50]
"Starting Date" Date
"Ending Date" Date
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

CreateItemVendor

procedure CreateItemVendor()

FindItemDescription

Obsolete

This element will become obsolete from version 23.0. Use another implementation of FindItemDescription.

[Obsolete(Use another implementation of FindItemDescription.,23.0)]
procedure FindItemDescription(var ItemDescription: Text[100], var ItemDescription2: Text[50], ItemNo: Code[20], VariantCode: Code[10], UnitOfMeasureCode: Code[10], ReferenceType: Enum "Item Reference Type", ReferenceTypeNo: Code[20]): Boolean

Parameters

Name Type Description
ItemDescription Text[100]
ItemDescription2 Text[50]
ItemNo Code[20]
VariantCode Code[10]
UnitOfMeasureCode Code[10]
ReferenceType Enum Microsoft.Inventory.Item.Catalog."Item Reference Type"
ReferenceTypeNo Code[20]

Returns

Type Description
Boolean

FindItemDescription

procedure FindItemDescription(var ItemDescription: Text[100], var ItemDescription2: Text[50], ItemNo: Code[20], VariantCode: Code[10], UnitOfMeasureCode: Code[10], ToDate: Date, ReferenceType: Enum "Item Reference Type", ReferenceTypeNo: Code[20]): Boolean

Parameters

Name Type Description
ItemDescription Text[100]
ItemDescription2 Text[50]
ItemNo Code[20]
VariantCode Code[10]
UnitOfMeasureCode Code[10]
ToDate Date
ReferenceType Enum Microsoft.Inventory.Item.Catalog."Item Reference Type"
ReferenceTypeNo Code[20]

Returns

Type Description
Boolean

HasValidUnitOfMeasure

procedure HasValidUnitOfMeasure(): Boolean

Returns

Type Description
Boolean

Events

OnAfterCreateItemVendor

[IntegrationEvent(False,False)]
local procedure OnAfterCreateItemVendor(var ItemReference: Record "Item Reference", ItemVendor: Record "Item Vendor")

Parameters

Name Type Description
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
ItemVendor Table Microsoft.Inventory.Item.Catalog."Item Vendor"

OnBeforeCreateItemVendor

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateItemVendor(var ItemReference: Record "Item Reference", var ItemVendor: Record "Item Vendor")

Parameters

Name Type Description
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
ItemVendor Table Microsoft.Inventory.Item.Catalog."Item Vendor"

OnBeforeCreateItemVendorProcedure

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateItemVendorProcedure(var ItemReference: Record "Item Reference", var ItemVendor: Record "Item Vendor", var IsHandled: Boolean)

Parameters

Name Type Description
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
ItemVendor Table Microsoft.Inventory.Item.Catalog."Item Vendor"
IsHandled Boolean

OnBeforeFindItemDescription

[IntegrationEvent(False,False)]
local procedure OnBeforeFindItemDescription(var ItemDescription: Text[100], var ItemDescription2: Text[50], ItemNo: Code[20], VariantCode: Code[10], UnitOfMeasureCode: Code[10], ReferenceType: Enum "Item Reference Type", ReferenceTypeNo: Code[20], var Result: Boolean, var IsHandled: Boolean, var ItemReference: Record "Item Reference", ToDate: Date)

Parameters

Name Type Description
ItemDescription Text[100]
ItemDescription2 Text[50]
ItemNo Code[20]
VariantCode Code[10]
UnitOfMeasureCode Code[10]
ReferenceType Enum Microsoft.Inventory.Item.Catalog."Item Reference Type"
ReferenceTypeNo Code[20]
Result Boolean
IsHandled Boolean
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
ToDate Date

OnBeforeItemVendorDelete

[IntegrationEvent(False,False)]
local procedure OnBeforeItemVendorDelete(ItemVendor: Record "Item Vendor", ItemReference: Record "Item Reference")

Parameters

Name Type Description
ItemVendor Table Microsoft.Inventory.Item.Catalog."Item Vendor"
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"

OnBeforeUpdateItemVendorNo

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateItemVendorNo(var ItemReference: Record "Item Reference", var IsHandled: Boolean)

Parameters

Name Type Description
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
IsHandled Boolean

OnBeforeMultipleItemReferencesExist

[IntegrationEvent(False,False)]
local procedure OnBeforeMultipleItemReferencesExist(var ItemReference: Record "Item Reference", var Result: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
Result Boolean
IsHandled Boolean

OnInsertTriggerOnBeforeCreateItemVendor

[IntegrationEvent(False,False)]
local procedure OnInsertTriggerOnBeforeCreateItemVendor(var Rec: Record "Item Reference", xRec: Record "Item Reference", Item: Record Item)

Parameters

Name Type Description
Rec Table Microsoft.Inventory.Item.Catalog."Item Reference"
xRec Table Microsoft.Inventory.Item.Catalog."Item Reference"
Item Table Microsoft.Inventory.Item.Item

OnBeforeDeleteItemVendor

[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteItemVendor(var ItemReference: Record "Item Reference", var IsHandled: Boolean)

Parameters

Name Type Description
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
IsHandled Boolean

OnRenameOnBeforeUpdateItemVendor

[IntegrationEvent(False,False)]
local procedure OnRenameOnBeforeUpdateItemVendor(var ItemReference: Record "Item Reference", xItemReference: Record "Item Reference", var IsHandled: Boolean)

Parameters

Name Type Description
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
xItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
IsHandled Boolean

OnBeforeValidateReferenceType

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateReferenceType(var ItemReference: Record "Item Reference", xItemReference: Record "Item Reference", var IsHandled: Boolean)

Parameters

Name Type Description
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
xItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
IsHandled Boolean

OnInsertTriggerOnBeforeValidateUoM

[IntegrationEvent(False,False)]
local procedure OnInsertTriggerOnBeforeValidateUoM(var ItemReference: Record "Item Reference", xItemReference: Record "Item Reference", Item: Record Item, var IsHandled: Boolean)

Parameters

Name Type Description
ItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
xItemReference Table Microsoft.Inventory.Item.Catalog."Item Reference"
Item Table Microsoft.Inventory.Item.Item
IsHandled Boolean

See also