Skip to content

KVSICOCalculateStandardCost#

Events#

OnAfterCalcRtngLineCost(Record Routing Line, Decimal, Decimal, Decimal, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalcRtngLineCost(routingLine: Record "Routing Line"; mfgItemQtyBase: Decimal; var slCap: Decimal; var slSub: Decimal; var slCapOvhd: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculateStandardCost", 'OnAfterCalcRtngLineCost', '', false, false)]
local procedure DoSomethingOnAfterCalcRtngLineCost(routingLine: Record "Routing Line"; mfgItemQtyBase: Decimal; var slCap: Decimal; var slSub: Decimal; var slCapOvhd: Decimal)
begin
end;

OnBeforeCalcItems(Record Item) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcItems(var item: Record "Item"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculateStandardCost", 'OnBeforeCalcItems', '', false, false)]
local procedure DoSomethingOnBeforeCalcItems(var item: Record "Item")
begin
end;

OnBeforeCalcItem(Record Item, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcItem(var item: Record "Item"; useAssemblyList: Boolean; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculateStandardCost", 'OnBeforeCalcItem', '', false, false)]
local procedure DoSomethingOnBeforeCalcItem(var item: Record "Item"; useAssemblyList: Boolean; var isHandled: Boolean)
begin
end;

OnBeforeCalcRtngLineCost(Record Routing Line, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcRtngLineCost(routingLine: Record "Routing Line"; mfgItemQtyBase: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculateStandardCost", 'OnBeforeCalcRtngLineCost', '', false, false)]
local procedure DoSomethingOnBeforeCalcRtngLineCost(routingLine: Record "Routing Line"; mfgItemQtyBase: Decimal)
begin
end;

OnCalcItemOnBeforeShowStrMenu(Record Item, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnCalcItemOnBeforeShowStrMenu(var item: Record "Item"; var showStrMenu: Boolean; var newCalcMultiLevel: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculateStandardCost", 'OnCalcItemOnBeforeShowStrMenu', '', false, false)]
local procedure DoSomethingOnCalcItemOnBeforeShowStrMenu(var item: Record "Item"; var showStrMenu: Boolean; var newCalcMultiLevel: Boolean)
begin
end;

OnCalcMfgItemOnBeforeCalcRtngCost(Record Item, Integer, Decimal, Date, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnCalcMfgItemOnBeforeCalcRtngCost(var item: Record "Item"; level: Integer; var lotSize: Decimal; var calculationDate: Date; var mfgItemQtyBase: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculateStandardCost", 'OnCalcMfgItemOnBeforeCalcRtngCost', '', false, false)]
local procedure DoSomethingOnCalcMfgItemOnBeforeCalcRtngCost(var item: Record "Item"; level: Integer; var lotSize: Decimal; var calculationDate: Date; var mfgItemQtyBase: Decimal)
begin
end;

OnCalcMfgItemOnBeforeCalculateCosts(Decimal, Decimal, Decimal, Decimal, Decimal, Record Item, Decimal, Decimal, Integer, Date) :#

[IntegrationEvent(false, false)]
local procedure OnCalcMfgItemOnBeforeCalculateCosts(var slMat: Decimal; var slCap: Decimal; var slSub: Decimal; var slCapOvhd: Decimal; var slMfgOvhd: Decimal; var item: Record "Item"; lotSize: Decimal; mfgItemQtyBase: Decimal; level: Integer; calculationDate: Date): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculateStandardCost", 'OnCalcMfgItemOnBeforeCalculateCosts', '', false, false)]
local procedure DoSomethingOnCalcMfgItemOnBeforeCalculateCosts(var slMat: Decimal; var slCap: Decimal; var slSub: Decimal; var slCapOvhd: Decimal; var slMfgOvhd: Decimal; var item: Record "Item"; lotSize: Decimal; mfgItemQtyBase: Decimal; level: Integer; calculationDate: Date)
begin
end;

OnCalcProdBOMCostOnAfterCalcCompItemQtyBase(Date, Record Item, Decimal, Boolean, Record Production BOM Line, Decimal, Code[20], Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnCalcProdBOMCostOnAfterCalcCompItemQtyBase(calculationDate: Date; mfgItem: Record "Item"; mfgItemQtyBase: Decimal; isTypeItem: Boolean; var prodBOMLine: Record "Production BOM Line"; var compItemQtyBase: Decimal; rtngNo: Code[20]; uomFactor: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculateStandardCost", 'OnCalcProdBOMCostOnAfterCalcCompItemQtyBase', '', false, false)]
local procedure DoSomethingOnCalcProdBOMCostOnAfterCalcCompItemQtyBase(calculationDate: Date; mfgItem: Record "Item"; mfgItemQtyBase: Decimal; isTypeItem: Boolean; var prodBOMLine: Record "Production BOM Line"; var compItemQtyBase: Decimal; rtngNo: Code[20]; uomFactor: Decimal)
begin
end;

OnAfterSetProdBOMFilters(Record Production BOM Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterSetProdBOMFilters(var prodBOMLine: Record "Production BOM Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculateStandardCost", 'OnAfterSetProdBOMFilters', '', false, false)]
local procedure DoSomethingOnAfterSetProdBOMFilters(var prodBOMLine: Record "Production BOM Line")
begin
end;