Skip to content

KVSTRDCalcUnitCostMgt#

Procedures#

KVSTRDOnBeforeOnGetConditionOnAfterSetFilterSalesCondHeaderKVSKBASalesPriceWkshCalc(Record KVSKBASalesConditionHeader, Record KVSKBASalesPriceWorksheet, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Will be deleted with the new pricing experience.', '21.5')]
[IntegrationEvent(false, false)]
procedure KVSTRDOnBeforeOnGetConditionOnAfterSetFilterSalesCondHeaderKVSKBASalesPriceWkshCalc(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnBeforeOnGetConditionOnAfterSetFilterSalesCondHeaderKVSKBASalesPriceWkshCalc', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeOnGetConditionOnAfterSetFilterSalesCondHeaderKVSKBASalesPriceWkshCalc(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; var IsHandled: Boolean)
begin
end;

KVSTRDOnBeforeOnCalcSalesCondNoInSalesPriceOnBeforeCheckAllowBaseofCalculationKVSKBASalesPriceLib(Record KVSKBASalesConditionHeader, Record KVSKBASalesPrice, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Will be deleted with the new pricing experience.', '21.5')]
[IntegrationEvent(false, false)]
procedure KVSTRDOnBeforeOnCalcSalesCondNoInSalesPriceOnBeforeCheckAllowBaseofCalculationKVSKBASalesPriceLib(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnBeforeOnCalcSalesCondNoInSalesPriceOnBeforeCheckAllowBaseofCalculationKVSKBASalesPriceLib', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeOnCalcSalesCondNoInSalesPriceOnBeforeCheckAllowBaseofCalculationKVSKBASalesPriceLib(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; var IsHandled: Boolean)
begin
end;

KVSTRDOnBeforeOnCalcSalesPriceInitialPriceOnCaseBaseofCalculationOnBeforeCaseElseKVSKBASalesPriceLib(Record KVSKBASalesConditionHeader, Record KVSKBASalesPrice, Record Item, Code[10], Code[10], Decimal, Decimal, Decimal, Code[10], Decimal, Date, Code[10], Decimal, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Will be deleted with the new pricing experience.', '21.5')]
[IntegrationEvent(false, false)]
procedure KVSTRDOnBeforeOnCalcSalesPriceInitialPriceOnCaseBaseofCalculationOnBeforeCaseElseKVSKBASalesPriceLib(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; Item: Record "Item"; VariantCode: Code[10]; LocationCode: Code[10]; Quantity: Decimal; QuantityPerUOM: Decimal; var InitialPrice: Decimal; var InitialPriceCurrencyCode: Code[10]; var InitialPriceCurrencyFactor: Decimal; var InitialPriceExchRateDate: Date; var InitialPriceUOMCode: Code[10]; var InitialPriceQuantityPerUOM: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnBeforeOnCalcSalesPriceInitialPriceOnCaseBaseofCalculationOnBeforeCaseElseKVSKBASalesPriceLib', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeOnCalcSalesPriceInitialPriceOnCaseBaseofCalculationOnBeforeCaseElseKVSKBASalesPriceLib(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; Item: Record "Item"; VariantCode: Code[10]; LocationCode: Code[10]; Quantity: Decimal; QuantityPerUOM: Decimal; var InitialPrice: Decimal; var InitialPriceCurrencyCode: Code[10]; var InitialPriceCurrencyFactor: Decimal; var InitialPriceExchRateDate: Date; var InitialPriceUOMCode: Code[10]; var InitialPriceQuantityPerUOM: Decimal; var IsHandled: Boolean)
begin
end;

KVSTRDOnBeforeOnLookupSalesCondNoInSalesPriceOnAfterSetFilterKVSKBASalesPriceLib(Record KVSKBASalesConditionHeader, Record KVSKBASalesPrice, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Will be deleted with the new pricing experience.', '21.5')]
[IntegrationEvent(false, false)]
procedure KVSTRDOnBeforeOnLookupSalesCondNoInSalesPriceOnAfterSetFilterKVSKBASalesPriceLib(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnBeforeOnLookupSalesCondNoInSalesPriceOnAfterSetFilterKVSKBASalesPriceLib', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeOnLookupSalesCondNoInSalesPriceOnAfterSetFilterKVSKBASalesPriceLib(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; var IsHandled: Boolean)
begin
end;

Events#

KVSTRDOnBeforeOnGetConditionOnAfterSetFilterSalesCondHeaderKVSKBASalesPriceWkshCalc(Record KVSKBASalesConditionHeader, Record KVSKBASalesPriceWorksheet, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Will be deleted with the new pricing experience.', '21.5')]
[IntegrationEvent(false, false)]
procedure KVSTRDOnBeforeOnGetConditionOnAfterSetFilterSalesCondHeaderKVSKBASalesPriceWkshCalc(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnBeforeOnGetConditionOnAfterSetFilterSalesCondHeaderKVSKBASalesPriceWkshCalc', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeOnGetConditionOnAfterSetFilterSalesCondHeaderKVSKBASalesPriceWkshCalc(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPriceWorksheet: Record "KVSKBASalesPriceWorksheet"; var IsHandled: Boolean)
begin
end;

KVSTRDOnBeforeOnCalcSalesCondNoInSalesPriceOnBeforeCheckAllowBaseofCalculationKVSKBASalesPriceLib(Record KVSKBASalesConditionHeader, Record KVSKBASalesPrice, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Will be deleted with the new pricing experience.', '21.5')]
[IntegrationEvent(false, false)]
procedure KVSTRDOnBeforeOnCalcSalesCondNoInSalesPriceOnBeforeCheckAllowBaseofCalculationKVSKBASalesPriceLib(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnBeforeOnCalcSalesCondNoInSalesPriceOnBeforeCheckAllowBaseofCalculationKVSKBASalesPriceLib', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeOnCalcSalesCondNoInSalesPriceOnBeforeCheckAllowBaseofCalculationKVSKBASalesPriceLib(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; var IsHandled: Boolean)
begin
end;

KVSTRDOnBeforeOnCalcSalesPriceInitialPriceOnCaseBaseofCalculationOnBeforeCaseElseKVSKBASalesPriceLib(Record KVSKBASalesConditionHeader, Record KVSKBASalesPrice, Record Item, Code[10], Code[10], Decimal, Decimal, Decimal, Code[10], Decimal, Date, Code[10], Decimal, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Will be deleted with the new pricing experience.', '21.5')]
[IntegrationEvent(false, false)]
procedure KVSTRDOnBeforeOnCalcSalesPriceInitialPriceOnCaseBaseofCalculationOnBeforeCaseElseKVSKBASalesPriceLib(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; Item: Record "Item"; VariantCode: Code[10]; LocationCode: Code[10]; Quantity: Decimal; QuantityPerUOM: Decimal; var InitialPrice: Decimal; var InitialPriceCurrencyCode: Code[10]; var InitialPriceCurrencyFactor: Decimal; var InitialPriceExchRateDate: Date; var InitialPriceUOMCode: Code[10]; var InitialPriceQuantityPerUOM: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnBeforeOnCalcSalesPriceInitialPriceOnCaseBaseofCalculationOnBeforeCaseElseKVSKBASalesPriceLib', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeOnCalcSalesPriceInitialPriceOnCaseBaseofCalculationOnBeforeCaseElseKVSKBASalesPriceLib(KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; Item: Record "Item"; VariantCode: Code[10]; LocationCode: Code[10]; Quantity: Decimal; QuantityPerUOM: Decimal; var InitialPrice: Decimal; var InitialPriceCurrencyCode: Code[10]; var InitialPriceCurrencyFactor: Decimal; var InitialPriceExchRateDate: Date; var InitialPriceUOMCode: Code[10]; var InitialPriceQuantityPerUOM: Decimal; var IsHandled: Boolean)
begin
end;

KVSTRDOnBeforeOnLookupSalesCondNoInSalesPriceOnAfterSetFilterKVSKBASalesPriceLib(Record KVSKBASalesConditionHeader, Record KVSKBASalesPrice, Boolean) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Will be deleted with the new pricing experience.', '21.5')]
[IntegrationEvent(false, false)]
procedure KVSTRDOnBeforeOnLookupSalesCondNoInSalesPriceOnAfterSetFilterKVSKBASalesPriceLib(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnBeforeOnLookupSalesCondNoInSalesPriceOnAfterSetFilterKVSKBASalesPriceLib', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeOnLookupSalesCondNoInSalesPriceOnAfterSetFilterKVSKBASalesPriceLib(var KVSKBASalesConditionHeader: Record "KVSKBASalesConditionHeader"; KVSKBASalesPrice: Record "KVSKBASalesPrice"; var IsHandled: Boolean)
begin
end;

KVSTRDOnBeforeInsertCalcUnitCostEntry(Record KVSTRDCalcUnitCostEntry, Record KVSTRDCalcUnitCostTemplAssignm, Record KVSTRDCalcUnitCostTemplHeader) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeInsertCalcUnitCostEntry(var CalcUnitCostEntry: Record "KVSTRDCalcUnitCostEntry"; var CalcUnitCostTemplAssignment: Record "KVSTRDCalcUnitCostTemplAssignm"; var CalcUnitCostTemplHeader: Record "KVSTRDCalcUnitCostTemplHeader"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnBeforeInsertCalcUnitCostEntry', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeInsertCalcUnitCostEntry(var CalcUnitCostEntry: Record "KVSTRDCalcUnitCostEntry"; var CalcUnitCostTemplAssignment: Record "KVSTRDCalcUnitCostTemplAssignm"; var CalcUnitCostTemplHeader: Record "KVSTRDCalcUnitCostTemplHeader")
begin
end;

KVSTRDOnAfterGetBaseCosts(Record KVSTRDCalcUnitCostEntry, Boolean, Decimal, Decimal) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterGetBaseCosts(var CalcUnitCostEntry: Record "KVSTRDCalcUnitCostEntry"; var IsSKU: Boolean; var BasePrice: Decimal; var BaseDiscount: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnAfterGetBaseCosts', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterGetBaseCosts(var CalcUnitCostEntry: Record "KVSTRDCalcUnitCostEntry"; var IsSKU: Boolean; var BasePrice: Decimal; var BaseDiscount: Decimal)
begin
end;

KVSTRDOnAfterCalculateBaseCostLastCalculatedAmount(Record KVSTRDCalcUnitCostEntry, Decimal) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterCalculateBaseCostLastCalculatedAmount(var CalcUnitCostEntry: Record "KVSTRDCalcUnitCostEntry"; var LastCalculatedAmount: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnAfterCalculateBaseCostLastCalculatedAmount', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterCalculateBaseCostLastCalculatedAmount(var CalcUnitCostEntry: Record "KVSTRDCalcUnitCostEntry"; var LastCalculatedAmount: Decimal)
begin
end;

KVSTRDOnAfterSetCalcUnitCostFilterForItem(Record Item) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterSetCalcUnitCostFilterForItem(var Item: Record "Item"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnAfterSetCalcUnitCostFilterForItem', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterSetCalcUnitCostFilterForItem(var Item: Record "Item")
begin
end;

KVSTRDOnAfterSetCalcUnitCostFilterForItemVariant(Record Item Variant) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterSetCalcUnitCostFilterForItemVariant(var ItemVariant: Record "Item Variant"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnAfterSetCalcUnitCostFilterForItemVariant', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterSetCalcUnitCostFilterForItemVariant(var ItemVariant: Record "Item Variant")
begin
end;

KVSTRDOnAfterSetCalcUnitCostFilterForStockkeepingUnit(Record Stockkeeping Unit) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterSetCalcUnitCostFilterForStockkeepingUnit(var StockkeepingUnit: Record "Stockkeeping Unit"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnAfterSetCalcUnitCostFilterForStockkeepingUnit', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterSetCalcUnitCostFilterForStockkeepingUnit(var StockkeepingUnit: Record "Stockkeeping Unit")
begin
end;

KVSTRDOnGetCalcUnitCostFromItem(Record Item, Boolean, Decimal) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnGetCalcUnitCostFromItem(var Item: Record "Item"; var IsHandled: Boolean; var CalcUnitCostLCY: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnGetCalcUnitCostFromItem', '', false, false)]
local procedure DoSomethingKVSTRDOnGetCalcUnitCostFromItem(var Item: Record "Item"; var IsHandled: Boolean; var CalcUnitCostLCY: Decimal)
begin
end;

KVSTRDOnGetCalcUnitCostFromItemVariant(Record Item Variant, Boolean, Decimal) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnGetCalcUnitCostFromItemVariant(var ItemVariant: Record "Item Variant"; var IsHandled: Boolean; var CalcUnitCostLCY: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnGetCalcUnitCostFromItemVariant', '', false, false)]
local procedure DoSomethingKVSTRDOnGetCalcUnitCostFromItemVariant(var ItemVariant: Record "Item Variant"; var IsHandled: Boolean; var CalcUnitCostLCY: Decimal)
begin
end;

KVSTRDOnGetCalcUnitCostFromStockkeepingUnit(Record Stockkeeping Unit, Boolean, Decimal) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnGetCalcUnitCostFromStockkeepingUnit(var StockkeepingUnit: Record "Stockkeeping Unit"; var IsHandled: Boolean; var CalcUnitCostLCY: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnGetCalcUnitCostFromStockkeepingUnit', '', false, false)]
local procedure DoSomethingKVSTRDOnGetCalcUnitCostFromStockkeepingUnit(var StockkeepingUnit: Record "Stockkeeping Unit"; var IsHandled: Boolean; var CalcUnitCostLCY: Decimal)
begin
end;

KVSTRDOnGetGetUserDefinedCalcUnitCost(Record KVSTRDCalcUnitCostEntry, Text, Code[20], Code[10], Code[10], Code[20], Code[50], Boolean, Decimal) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnGetGetUserDefinedCalcUnitCost(var CalcUnitCostEntry: Record "KVSTRDCalcUnitCostEntry"; UserID: Text; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; VendorNo: Code[20]; TemplateCode: Code[50]; var IsHandled: Boolean; var CalcUnitCostLCY: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnGetGetUserDefinedCalcUnitCost', '', false, false)]
local procedure DoSomethingKVSTRDOnGetGetUserDefinedCalcUnitCost(var CalcUnitCostEntry: Record "KVSTRDCalcUnitCostEntry"; UserID: Text; ItemNo: Code[20]; VariantCode: Code[10]; LocationCode: Code[10]; VendorNo: Code[20]; TemplateCode: Code[50]; var IsHandled: Boolean; var CalcUnitCostLCY: Decimal)
begin
end;

KVSTRDOnInsertCalcUnitCostDetailEntryOnAfterGetCurrencyFactor(Record KVSTRDCalcUnitCostDetailEntry, Decimal) :#

[IntegrationEvent(false, false)]
local procedure KVSTRDOnInsertCalcUnitCostDetailEntryOnAfterGetCurrencyFactor(var CalcUnitCostDetailEntry: Record "KVSTRDCalcUnitCostDetailEntry"; var CurrencyFactor: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDCalcUnitCostMgt", 'KVSTRDOnInsertCalcUnitCostDetailEntryOnAfterGetCurrencyFactor', '', false, false)]
local procedure DoSomethingKVSTRDOnInsertCalcUnitCostDetailEntryOnAfterGetCurrencyFactor(var CalcUnitCostDetailEntry: Record "KVSTRDCalcUnitCostDetailEntry"; var CurrencyFactor: Decimal)
begin
end;