Table "Purchase Price"

ID 7012
Namespace: Microsoft.Purchases.Pricing

Obsolete

This element will become obsolete from version 16.0. Replaced by the new implementation (V16) of price calculation: table Price List Line

Properties

Name Value
Caption Purchase Price
LookupPageID Page Microsoft.Purchases.Pricing."Purchase Prices"
ObsoleteState Pending
ObsoleteTag 16.0
ObsoleteReason Replaced by the new implementation (V16) of price calculation: table Price List Line
DataClassification CustomerContent

Fields

Name Type Description
"Item No." Code[20]
"Vendor No." Code[20]
"Currency Code" Code[10]
"Starting Date" Date
"Direct Unit Cost" Decimal
"Minimum Quantity" Decimal
"Ending Date" Date
"Unit of Measure Code" Code[10]
"Variant Code" Code[10]
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

CopyPurchPriceToVendorsPurchPrice

procedure CopyPurchPriceToVendorsPurchPrice(var PurchPrice: Record "Purchase Price", VendNo: Code[20])

Parameters

Name Type Description
PurchPrice Table Microsoft.Purchases.Pricing."Purchase Price"
VendNo Code[20]

Events

OnBeforeNewPurchasePriceInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeNewPurchasePriceInsert(var NewPurchasePrice: Record "Purchase Price", PurchasePrice: Record "Purchase Price")

Parameters

Name Type Description
NewPurchasePrice Table Microsoft.Purchases.Pricing."Purchase Price"
PurchasePrice Table Microsoft.Purchases.Pricing."Purchase Price"

See also