Skip to content

KVSKBASalesContractLinePrice#

Implements [#2b6ee9f5d5ac4624beeed0c03606b396#KVSCOREModuleSetup ](https://github.com/search?q=Table+%232b6ee9f5d5ac4624beeed0c03606b396%23KVSCOREModuleSetup+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"): 

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#

OnAfterGetAssetType(Record KVSKBASalesContractLine, Enum Price Asset Type) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetAssetType(KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var AssetType: Enum "Price Asset Type"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesContractLinePrice", 'OnAfterGetAssetType', '', false, false)]
local procedure DoSomethingOnAfterGetAssetType(KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; var AssetType: Enum "Price Asset Type")
begin
end;

OnAfterAddSources(Record KVSKBASalesContractHeader, Record KVSKBASalesContractLine, Enum Price Type, Codeunit Price Source List) :#

[IntegrationEvent(false, false)]
local procedure OnAfterAddSources(SalesContractHeader: Record "KVSKBASalesContractHeader"; KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; PriceType: Enum "Price Type"; var PriceSourceList: Codeunit "Price Source List"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesContractLinePrice", 'OnAfterAddSources', '', false, false)]
local procedure DoSomethingOnAfterAddSources(SalesContractHeader: Record "KVSKBASalesContractHeader"; KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; PriceType: Enum "Price Type"; var PriceSourceList: Codeunit "Price Source List")
begin
end;

OnAfterFillBuffer(Record Price Calculation Buffer, Record KVSKBASalesContractHeader, Record KVSKBASalesContractLine) :#

[IntegrationEvent(false, false)]
local procedure OnAfterFillBuffer(var PriceCalculationBuffer: Record "Price Calculation Buffer"; SalesContractHeader: Record "KVSKBASalesContractHeader"; KVSKBASalesContractLine: Record "KVSKBASalesContractLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesContractLinePrice", 'OnAfterFillBuffer', '', false, false)]
local procedure DoSomethingOnAfterFillBuffer(var PriceCalculationBuffer: Record "Price Calculation Buffer"; SalesContractHeader: Record "KVSKBASalesContractHeader"; KVSKBASalesContractLine: Record "KVSKBASalesContractLine")
begin
end;

OnAfterGetDocumentDate(Date, Record KVSKBASalesContractHeader, Record KVSKBASalesContractLine) :#

[IntegrationEvent(false, false)]
local procedure OnAfterGetDocumentDate(var DocumentDate: Date; SalesContractHeader: Record "KVSKBASalesContractHeader"; KVSKBASalesContractLine: Record "KVSKBASalesContractLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesContractLinePrice", 'OnAfterGetDocumentDate', '', false, false)]
local procedure DoSomethingOnAfterGetDocumentDate(var DocumentDate: Date; SalesContractHeader: Record "KVSKBASalesContractHeader"; KVSKBASalesContractLine: Record "KVSKBASalesContractLine")
begin
end;

OnAfterSetPrice(Record KVSKBASalesContractLine, Record Price List Line, Enum Price Amount Type) :#

[IntegrationEvent(false, false)]
local procedure OnAfterSetPrice(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesContractLinePrice", 'OnAfterSetPrice', '', false, false)]
local procedure DoSomethingOnAfterSetPrice(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type")
begin
end;

OnCopyToBufferOnAfterPriceCalculationBufferMgtSet(Codeunit Price Calculation Buffer Mgt., Record Price Calculation Buffer, Codeunit Price Source List) :#

[IntegrationEvent(false, false)]
local procedure OnCopyToBufferOnAfterPriceCalculationBufferMgtSet(var PriceCalculationBufferMgt: Codeunit "Price Calculation Buffer Mgt."; PriceCalculationBuffer: Record "Price Calculation Buffer"; var PriceSourceList: Codeunit "Price Source List"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesContractLinePrice", 'OnCopyToBufferOnAfterPriceCalculationBufferMgtSet', '', false, false)]
local procedure DoSomethingOnCopyToBufferOnAfterPriceCalculationBufferMgtSet(var PriceCalculationBufferMgt: Codeunit "Price Calculation Buffer Mgt."; PriceCalculationBuffer: Record "Price Calculation Buffer"; var PriceSourceList: Codeunit "Price Source List")
begin
end;

OnAfterIsDiscountAllowed(Record KVSKBASalesContractLine, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnAfterIsDiscountAllowed(KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; PriceCalculated: Boolean; var Result: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesContractLinePrice", 'OnAfterIsDiscountAllowed', '', false, false)]
local procedure DoSomethingOnAfterIsDiscountAllowed(KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; PriceCalculated: Boolean; var Result: Boolean)
begin
end;

OnAfterValidatePrice(Record KVSKBASalesContractLine, Enum Price Type, Enum Price Amount Type) :#

[IntegrationEvent(false, false)]
local procedure OnAfterValidatePrice(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; CurrPriceType: Enum "Price Type"; AmountType: Enum "Price Amount Type"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBASalesContractLinePrice", 'OnAfterValidatePrice', '', false, false)]
local procedure DoSomethingOnAfterValidatePrice(var KVSKBASalesContractLine: Record "KVSKBASalesContractLine"; CurrPriceType: Enum "Price Type"; AmountType: Enum "Price Amount Type")
begin
end;