Table of Contents

Table "Item Vendor"

ID 99
Namespace: Microsoft.Inventory.Item.Catalog

Properties

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

Fields

Name Type Description
"Item No." Code[20]

Specifies the number of the item that the alternate direct unit cost is valid for.

"Vendor No." Code[20]

Specifies the number of the vendor who offers the alternate direct unit cost.

"Lead Time Calculation" DateFormula

Specifies a date formula for the amount of time it takes to replenish the item.

"Vendor Item No." Text[50]

Specifies the number that the vendor uses for this item.

"Variant Code" Code[10]

Specifies the variant of the item on the line.

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

InsertItemReference

procedure InsertItemReference()

ShowPriceListLines

procedure ShowPriceListLines(PriceAmountType: Enum "Price Amount Type")

Parameters

Name Type Description
PriceAmountType Enum Microsoft.Pricing.PriceList."Price Amount Type"

FindLeadTimeCalculation

procedure FindLeadTimeCalculation(Item: Record Item; var SKU: Record "Stockkeeping Unit"; LocationCode: Code[10])

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
SKU Table Microsoft.Inventory.Location."Stockkeeping Unit"
LocationCode Code[10]

Events

OnBeforeDeleteItemReference

[IntegrationEvent(False,False)]
local procedure OnBeforeDeleteItemReference(var ItemVendor: Record "Item Vendor"; xItemVendor: Record "Item Vendor"; var IsHandled: Boolean)

Parameters

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

OnBeforeInsertItemReference

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertItemReference(var ItemVendor: Record "Item Vendor"; xItemVendor: Record "Item Vendor"; var IsHandled: Boolean)

Parameters

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

OnBeforeFindLeadTimeCalculation

[IntegrationEvent(False,False)]
local procedure OnBeforeFindLeadTimeCalculation(var ItemVendor: Record "Item Vendor"; Item: Record Item; LocationCode: Code[10]; var IsHandled: Boolean)

Parameters

Name Type Description
ItemVendor Table Microsoft.Inventory.Item.Catalog."Item Vendor"
Item Table Microsoft.Inventory.Item.Item
LocationCode Code[10]
IsHandled Boolean

OnBeforeUpdateItemReference

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateItemReference(var ItemVendor: Record "Item Vendor"; var IsHandled: Boolean; var xItemVendor: Record "Item Vendor")

Parameters

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

See also