KVSKBAPurchaseLinePrice
Implements [#437dbf0e84ff417a965ded2bb9650972#Shipment Method ](https://github.com/search?q=Table+%5b%23437dbf0e84ff417a965ded2bb9650972%23Shipment+Method+%3aocticons-mark-github-16%3a%5d(https%3a%2f%2fgithub.com%2fsearch%3fq%3dTable%2b%2523437dbf0e84ff417a965ded2bb9650972%2523Shipment%2bMethod%2brepo%253AStefanMaron%252FMSDyn365BC.Code.History%26type%3dCode)+repo%3AStefanMaron%2FMSDyn365BC.Code.History&type=Code).
Procedures
GetTableNo() : Integer
procedure GetTableNo(): Integer
SetLine(Enum Price Type, Variant) :
procedure SetLine(PriceType: Enum "Price Type"; Line: Variant):
SetLine(Enum Price Type, Variant, Variant) :
procedure SetLine(PriceType: Enum "Price Type"; Header: Variant; Line: Variant):
SetSources(Codeunit Price Source List) :
procedure SetSources(var NewPriceSourceList: Codeunit "Price Source List"):
SetPurchaseQtyInvoice(ErrorInfo) :
procedure SetPurchaseQtyInvoice(ErrorInfo: ErrorInfo):
SetPurchaseReceiveQty(ErrorInfo) :
procedure SetPurchaseReceiveQty(ErrorInfo: ErrorInfo):
GetLine(Variant) :
procedure GetLine(var Line: Variant):
GetLine(Variant, Variant) :
procedure GetLine(var Header: Variant; var Line: Variant):
GetPriceType() : Enum
procedure GetPriceType(): Enum Price Type
IsPriceUpdateNeeded(Enum Price Amount Type, Boolean, Integer) : Boolean
procedure IsPriceUpdateNeeded(AmountType: Enum "Price Amount Type"; FoundPrice: Boolean; CalledByFieldNo: Integer): Boolean
IsDiscountAllowed() : Boolean
procedure IsDiscountAllowed(): Boolean
Verify() :
procedure Verify():
SetAssetSourceForSetup(Record Dtld. Price Calculation Setup) : Boolean
procedure SetAssetSourceForSetup(var DtldPriceCalculationSetup: Record "Dtld. Price Calculation Setup"): Boolean
GetAssetType() : Enum
procedure GetAssetType(): Enum Price Asset Type
CopyToBuffer(Codeunit Price Calculation Buffer Mgt.) : Boolean
procedure CopyToBuffer(var PriceCalculationBufferMgt: Codeunit "Price Calculation Buffer Mgt."): Boolean
SetPrice(Enum Price Amount Type, Record Price List Line) :
procedure SetPrice(AmountType: Enum "Price Amount Type"; PriceListLine: Record "Price List Line"):
ValidatePrice(Enum Price Amount Type) :
procedure ValidatePrice(AmountType: Enum "Price Amount Type"):
Update(Enum Price Amount Type) :
procedure Update(AmountType: Enum "Price Amount Type"):
Events
OnAfterAddSources(Record Purchase Header, Record Purchase Line, Enum Price Type, Codeunit Price Source List) :
[IntegrationEvent(false, false)]
local procedure OnAfterAddSources(PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; PriceType: Enum "Price Type"; var PriceSourceList: Codeunit "Price Source List"):
OnAfterFillBuffer(Record Price Calculation Buffer, Record Purchase Header, Record Purchase Line) :
[IntegrationEvent(false, false)]
local procedure OnAfterFillBuffer(var PriceCalculationBuffer: Record "Price Calculation Buffer"; PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"):
OnAfterIsDiscountAllowed(Record Purchase Line, Boolean, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnAfterIsDiscountAllowed(PurchaseLine: Record "Purchase Line"; PriceCalculated: Boolean; var Result: Boolean):
OnAfterGetAssetType(Record Purchase Line, Enum Price Asset Type) :
[IntegrationEvent(false, false)]
local procedure OnAfterGetAssetType(PurchaseLine: Record "Purchase Line"; var AssetType: Enum "Price Asset Type"):
OnAfterGetDocumentDate(Date, Record Purchase Header, Record Purchase Line) :
[IntegrationEvent(false, false)]
local procedure OnAfterGetDocumentDate(var DocumentDate: Date; PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"):
OnAfterIsPriceUpdateNeeded(Enum Price Amount Type, Boolean, Integer, Record Purchase Line, Boolean, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnAfterIsPriceUpdateNeeded(AmountType: Enum "Price Amount Type"; FoundPrice: Boolean; CalledByFieldNo: Integer; PurchaseLine: Record "Purchase Line"; var Result: Boolean; IsSKU: Boolean):
OnAfterValidatePrice(Record Purchase Line, Enum Price Type, Enum Price Amount Type, Record Purchase Header) :
[IntegrationEvent(false, false)]
local procedure OnAfterValidatePrice(var PurchaseLine: Record "Purchase Line"; CurrPriceType: Enum "Price Type"; AmountType: Enum "Price Amount Type"; var PurchaseHeader: Record "Purchase Header"):
OnBeforeVerify(Record Purchase Header, Record Purchase Line, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeVerify(PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean):
OnBeforeSetPrice(Record Purchase Line, Record Price List Line, Enum Price Amount Type, Boolean, Enum Price Type, Record Purchase Header) :
[IntegrationEvent(false, false)]
local procedure OnBeforeSetPrice(var PurchaseLine: Record "Purchase Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; var IsHandled: Boolean; CurrPriceType: Enum "Price Type"; var PurchaseHeader: Record "Purchase Header"):
OnBeforeCopyToBuffer(Record Purchase Header, Record Purchase Line) :
[IntegrationEvent(false, false)]
local procedure OnBeforeCopyToBuffer(var PurchaseHeader: Record "Purchase Header"; var PurchaseLine: Record "Purchase Line"):
OnAfterSetPrice(Record Purchase Line, Record Price List Line, Enum Price Amount Type) :
[IntegrationEvent(false, false)]
local procedure OnAfterSetPrice(var PurchaseLine: Record "Purchase Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"):
OnAfterUpdate(Record Purchase Line, Enum Price Type, Enum Price Amount Type, Record Purchase Header) :
[IntegrationEvent(false, false)]
local procedure OnAfterUpdate(var PurchaseLine: Record "Purchase Line"; CurrPriceType: Enum "Price Type"; AmountType: Enum "Price Amount Type"; var PurchaseHeader: Record "Purchase Header"):
KVSKBAOnGetVendNoForPurchaseHeader(Record Purchase Header, Code[20]) :
[IntegrationEvent(false, false)]
local procedure KVSKBAOnGetVendNoForPurchaseHeader(var PurchaseHeader: Record "Purchase Header"; var VendorNo: Code[20]):
KVSKBAOnGetContactNoForPurchaseHeader(Record Purchase Header, Code[20]) :
[IntegrationEvent(false, false)]
local procedure KVSKBAOnGetContactNoForPurchaseHeader(var PurchaseHeader: Record "Purchase Header"; var ContactNo: Code[20]):
OnSetPriceOriginFromPriceListLineOnBeforePriceListLineTypeCaseElse(Record Purchase Line, Record Price List Line, Enum Price Amount Type) :
[IntegrationEvent(false, false)]
local procedure OnSetPriceOriginFromPriceListLineOnBeforePriceListLineTypeCaseElse(var PurchaseLine: Record "Purchase Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"):