Skip to content

KVSFCYCalcStandardUnitCost#

Procedures#

CalcItems(Record Item, Boolean, Boolean, Boolean) :#

procedure CalcItems(var itemVar: Record "Item"; showDialogPar: Boolean; var rolledUpVar: Boolean; var errorInsertedVar: Boolean): 

SetProperties(Date, Text[80], Boolean) :#

procedure SetProperties(calcDate: Date; calcBatchDescription: Text[80]; onlyDefault: Boolean): 

SetProperties(Date, Text[80], Boolean, Code[10]) :#

procedure SetProperties(calcDatePar: Date; calculationBatchDescriptionPar: Text[80]; onlyDefaultPar: Boolean; calculationWkshNamePlanPar: Code[10]): 

Events#

OnBeforeRoutingErrorCheckRuntime(Record Routing Line, Decimal, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeRoutingErrorCheckRuntime(var routingLinePar: Record "Routing Line"; var quantityPar: Decimal; var ErrorInserted: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalcStandardUnitCost", 'OnBeforeRoutingErrorCheckRuntime', '', false, false)]
local procedure DoSomethingOnBeforeRoutingErrorCheckRuntime(var routingLinePar: Record "Routing Line"; var quantityPar: Decimal; var ErrorInserted: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeRoutingErrorCheckUnitCost(Record Routing Line, Record Work Center, Record Machine Center, Decimal, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeRoutingErrorCheckUnitCost(var routingLinePar: Record "Routing Line"; var workCenterPar: Record "Work Center"; var machineCenterPar: Record "Machine Center"; var quantityPar: Decimal; var ErrorInserted: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalcStandardUnitCost", 'OnBeforeRoutingErrorCheckUnitCost', '', false, false)]
local procedure DoSomethingOnBeforeRoutingErrorCheckUnitCost(var routingLinePar: Record "Routing Line"; var workCenterPar: Record "Work Center"; var machineCenterPar: Record "Machine Center"; var quantityPar: Decimal; var ErrorInserted: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeCalcValueForRouting(Record KVSFCYCalculationParameter, Record Routing Line, Record Work Center, Record Machine Center, Decimal, Integer, Integer, Decimal, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcValueForRouting(var CalculationParameter: Record "KVSFCYCalculationParameter"; var RoutingLine: Record "Routing Line"; WorkCenter: Record "Work Center"; MachineCenter: Record "Machine Center"; var Quantity: Decimal; Level: Integer; StructureBOMEntryNo: Integer; LotSizeHigherLevel: Decimal; QtyBaseHigherLevel: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalcStandardUnitCost", 'OnBeforeCalcValueForRouting', '', false, false)]
local procedure DoSomethingOnBeforeCalcValueForRouting(var CalculationParameter: Record "KVSFCYCalculationParameter"; var RoutingLine: Record "Routing Line"; WorkCenter: Record "Work Center"; MachineCenter: Record "Machine Center"; var Quantity: Decimal; Level: Integer; StructureBOMEntryNo: Integer; LotSizeHigherLevel: Decimal; QtyBaseHigherLevel: Decimal)
begin
end;

OnBeforeInitCalcValues(Record KVSFCYCalculationValue, Record Routing Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInitCalcValues(CalculationValue: Record "KVSFCYCalculationValue"; RoutingLine: Record "Routing Line"; Overhead: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalcStandardUnitCost", 'OnBeforeInitCalcValues', '', false, false)]
local procedure DoSomethingOnBeforeInitCalcValues(CalculationValue: Record "KVSFCYCalculationValue"; RoutingLine: Record "Routing Line"; Overhead: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeSetExpectedCalcQtbBase(Record KVSFCYCalculationValue, Decimal, Record KVSFCYCalculationParameter, Record Routing Line, Record Work Center, Record Machine Center, Record KVSFCYCalculationValue, Record KVSFCYCalculationPart, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeSetExpectedCalcQtbBase(var CalculationValue: Record "KVSFCYCalculationValue"; var Quantity: Decimal; CalculationParameter: Record "KVSFCYCalculationParameter"; RoutingLine: Record "Routing Line"; var WorkCenter: Record "Work Center"; var MachineCenter: Record "Machine Center"; var SumLineCalculationValue: Record "KVSFCYCalculationValue"; var CalculationPart: Record "KVSFCYCalculationPart"; Overhead: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalcStandardUnitCost", 'OnBeforeSetExpectedCalcQtbBase', '', false, false)]
local procedure DoSomethingOnBeforeSetExpectedCalcQtbBase(var CalculationValue: Record "KVSFCYCalculationValue"; var Quantity: Decimal; CalculationParameter: Record "KVSFCYCalculationParameter"; RoutingLine: Record "Routing Line"; var WorkCenter: Record "Work Center"; var MachineCenter: Record "Machine Center"; var SumLineCalculationValue: Record "KVSFCYCalculationValue"; var CalculationPart: Record "KVSFCYCalculationPart"; Overhead: Boolean)
begin
end;