Skip to content

KVSFCYCalculateStandardCost#

Procedures#

ClearTempVariables() :#

procedure ClearTempVariables(): 

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::"KVSFCYCalculateStandardCost", '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::"KVSFCYCalculateStandardCost", '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::"KVSFCYCalculateStandardCost", '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::"KVSFCYCalculateStandardCost", 'OnBeforeCalcRtngLineCost', '', false, false)]
local procedure DoSomethingOnBeforeCalcRtngLineCost(RoutingLine: Record "Routing Line"; MfgItemQtyBase: Decimal)
begin
end;

OnAfterCalcCostTime(Decimal, Decimal, Option, Record Routing Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalcCostTime(var CostTime: Decimal; MfgItemQtyBase: Decimal; UnitCostCalculation: Option; RoutingLine: Record "Routing Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateStandardCost", 'OnAfterCalcCostTime', '', false, false)]
local procedure DoSomethingOnAfterCalcCostTime(var CostTime: Decimal; MfgItemQtyBase: Decimal; UnitCostCalculation: Option; RoutingLine: Record "Routing Line")
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::"KVSFCYCalculateStandardCost", '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::"KVSFCYCalculateStandardCost", '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::"KVSFCYCalculateStandardCost", '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::"KVSFCYCalculateStandardCost", '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;