Skip to content

KVSKBAPurchPriceCalcLib#

Procedures#

CollectOtherItemsOfPurchDoc(Record Purchase Header, Record Purchase Line, Boolean, Record KVSKBASalesPurchPriceCalcBuf, Boolean) :#

procedure CollectOtherItemsOfPurchDoc(PurchHeaderPar: Record "Purchase Header"; CurrentPurchLinePar: Record "Purchase Line"; IncludeCurrentPurchLinePar: Boolean; var TempPriceCalcBufferVar: Record "KVSKBASalesPurchPriceCalcBuf" temporary; DeleteAllBufferRecordsPar: Boolean): 

UpdateItemPurchLinesDirectUnitCost(Record KVSKBASalesPurchPriceCalcBuf, Record Purchase Header) :#

procedure UpdateItemPurchLinesDirectUnitCost(PriceCalcBufferPar: Record "KVSKBASalesPurchPriceCalcBuf"; PurchHeaderPar: Record "Purchase Header"): 

UpdatePurchDocLinesDirectUnitCost(Record Purchase Header, Boolean, Boolean) : Boolean#

procedure UpdatePurchDocLinesDirectUnitCost(PurchHeaderPar: Record "Purchase Header"; WithConfirmPar: Boolean; ShowMessagePar: Boolean): Boolean

Events#

OnBeforeOnIsDirectUnitCostUpdateOfOtherLinesRequiredOnCompareVariantCode(Boolean, Code[10], Code[10], Code[20]) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeOnIsDirectUnitCostUpdateOfOtherLinesRequiredOnCompareVariantCode(var ChangedVariantCode: Boolean; OldVariantCode: Code[10]; NewVariantCode: Code[10]; ItemNo: Code[20]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPurchPriceCalcLib", 'OnBeforeOnIsDirectUnitCostUpdateOfOtherLinesRequiredOnCompareVariantCode', '', false, false)]
local procedure DoSomethingOnBeforeOnIsDirectUnitCostUpdateOfOtherLinesRequiredOnCompareVariantCode(var ChangedVariantCode: Boolean; OldVariantCode: Code[10]; NewVariantCode: Code[10]; ItemNo: Code[20])
begin
end;

OnBeforeOnCollectOtherItemsOfPurchDocOnCompareVariantCode(Boolean, Code[10], Code[10], Code[20]) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeOnCollectOtherItemsOfPurchDocOnCompareVariantCode(var ChangedVariantCode: Boolean; OldVariantCode: Code[10]; NewVariantCode: Code[10]; ItemNo: Code[20]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPurchPriceCalcLib", 'OnBeforeOnCollectOtherItemsOfPurchDocOnCompareVariantCode', '', false, false)]
local procedure DoSomethingOnBeforeOnCollectOtherItemsOfPurchDocOnCompareVariantCode(var ChangedVariantCode: Boolean; OldVariantCode: Code[10]; NewVariantCode: Code[10]; ItemNo: Code[20])
begin
end;

OnBeforeOnPurchLinesDirectUnitCostOnCompareVariantCode(Boolean, Code[10], Code[10], Code[20]) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeOnPurchLinesDirectUnitCostOnCompareVariantCode(var ChangedVariantCode: Boolean; OldVariantCode: Code[10]; NewVariantCode: Code[10]; ItemNo: Code[20]): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPurchPriceCalcLib", 'OnBeforeOnPurchLinesDirectUnitCostOnCompareVariantCode', '', false, false)]
local procedure DoSomethingOnBeforeOnPurchLinesDirectUnitCostOnCompareVariantCode(var ChangedVariantCode: Boolean; OldVariantCode: Code[10]; NewVariantCode: Code[10]; ItemNo: Code[20])
begin
end;

OnIsPriceOrDiscMinQtyPerLineOnBeforeExitFalse(Record Purchase Header, Record Purchase Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnIsPriceOrDiscMinQtyPerLineOnBeforeExitFalse(PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; var MinQtyIsPerLine: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPurchPriceCalcLib", 'OnIsPriceOrDiscMinQtyPerLineOnBeforeExitFalse', '', false, false)]
local procedure DoSomethingOnIsPriceOrDiscMinQtyPerLineOnBeforeExitFalse(PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; var MinQtyIsPerLine: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeSetFilterPurchLineToSumUpQty(Record Purchase Line, Record Purchase Line) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetFilterPurchLineToSumUpQty(CurrentPurchaseLine: Record "Purchase Line"; var PurchaseLine: Record "Purchase Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPurchPriceCalcLib", 'OnBeforeSetFilterPurchLineToSumUpQty', '', false, false)]
local procedure DoSomethingOnBeforeSetFilterPurchLineToSumUpQty(CurrentPurchaseLine: Record "Purchase Line"; var PurchaseLine: Record "Purchase Line")
begin
end;