Skip to content

KVSPSAJobDocumentLinePrice#

Implements [#437dbf0e84ff417a965ded2bb9650972#Work Type ](https://github.com/search?q=Table+%23437dbf0e84ff417a965ded2bb9650972%23Work+Type+repo%3AStefanMaron%2FMSDyn365BC.Code.History&type=Code) .

Procedures#

CopyToBuffer(Codeunit Price Calculation Buffer Mgt.) : Boolean#

procedure CopyToBuffer(var PriceCalculationBufferMgt: Codeunit "Price Calculation Buffer Mgt."): Boolean

GetAssetType() : Enum#

procedure GetAssetType(): Enum Price Asset Type

GetLine(Variant) :#

procedure GetLine(var LineVariant: Variant): 

GetLine(Variant, Variant) :#

procedure GetLine(var HeaderVariant: Variant; var LineVariant: Variant): 

GetPriceType() : Enum#

procedure GetPriceType(): Enum Price Type

GetTableNo() : Integer#

procedure GetTableNo(): Integer

IsDiscountAllowed() : Boolean#

procedure IsDiscountAllowed(): Boolean

IsPriceUpdateNeeded(Enum Price Amount Type, Boolean, Integer) : Boolean#

procedure IsPriceUpdateNeeded(AmountType: Enum "Price Amount Type"; FoundPrice: Boolean; CalledByFieldNo: Integer): Boolean

SetAssetSourceForSetup(Record Dtld. Price Calculation Setup) : Boolean#

procedure SetAssetSourceForSetup(var DtldPriceCalculationSetup: Record "Dtld. Price Calculation Setup"): Boolean

SetLine(Enum Price Type, Variant) :#

procedure SetLine(PriceType: Enum "Price Type"; LineVariant: Variant): 

SetLine(Enum Price Type, Variant, Variant) :#

procedure SetLine(PriceType: Enum "Price Type"; HeaderVariant: Variant; LineVariant: Variant): 

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

procedure SetPrice(AmountType: Enum "Price Amount Type"; PriceListLine: Record "Price List Line"): 

SetSources(Codeunit Price Source List) :#

procedure SetSources(var NewPriceSourceList: Codeunit "Price Source List"): 

Update(Enum Price Amount Type) :#

procedure Update(AmountType: Enum "Price Amount Type"): 

ValidatePrice(Enum Price Amount Type) :#

procedure ValidatePrice(AmountType: Enum "Price Amount Type"): 

Verify() :#

procedure Verify(): 

Events#

KVSPSAOnAfterAddSources(Record KVSPSAJob Document Header, Record KVSPSAJob Document Line, Enum Price Type, Codeunit Price Source List) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterAddSources(JobDocumentHeader: Record "KVSPSAJob Document Header"; JobDocumentLine: Record "KVSPSAJob Document Line"; PriceType: Enum "Price Type"; var PriceSourceList: Codeunit "Price Source List"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobDocumentLinePrice", 'KVSPSAOnAfterAddSources', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterAddSources(JobDocumentHeader: Record "KVSPSAJob Document Header"; JobDocumentLine: Record "KVSPSAJob Document Line"; PriceType: Enum "Price Type"; var PriceSourceList: Codeunit "Price Source List")
begin
end;

KVSPSAOnAfterFillBuffer(Record Price Calculation Buffer, Record KVSPSAJob Document Header, Record KVSPSAJob Document Line) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterFillBuffer(var PriceCalculationBuffer: Record "Price Calculation Buffer"; JobDocumentHeader: Record "KVSPSAJob Document Header"; JobDocumentLine: Record "KVSPSAJob Document Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobDocumentLinePrice", 'KVSPSAOnAfterFillBuffer', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterFillBuffer(var PriceCalculationBuffer: Record "Price Calculation Buffer"; JobDocumentHeader: Record "KVSPSAJob Document Header"; JobDocumentLine: Record "KVSPSAJob Document Line")
begin
end;

KVSPSAOnAfterGetAssetType(Record KVSPSAJob Document Line, Enum Price Asset Type) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterGetAssetType(JobDocumentLine: Record "KVSPSAJob Document Line"; var AssetType: Enum "Price Asset Type"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobDocumentLinePrice", 'KVSPSAOnAfterGetAssetType', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterGetAssetType(JobDocumentLine: Record "KVSPSAJob Document Line"; var AssetType: Enum "Price Asset Type")
begin
end;

KVSPSAOnAfterSetPrice(Record KVSPSAJob Document Line, Record Price List Line, Enum Price Amount Type) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterSetPrice(var JobDocumentLine: Record "KVSPSAJob Document Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAJobDocumentLinePrice", 'KVSPSAOnAfterSetPrice', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterSetPrice(var JobDocumentLine: Record "KVSPSAJob Document Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type")
begin
end;