Skip to content

KVSICOCalculationConditionMgmt#

Events#

OnBeforeCalcCondLine(Enum Capacity Type, Record Work Center, Record Machine Center, Code[20], Code[20], Code[10], Boolean, Date, Boolean, Decimal, Record KVSICOWorkplaceCalcCondition, Record KVSICOCalculationConditionHead, Record KVSICOCalculationConditionLine) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcCondLine(workplaceType: Enum "Capacity Type"; var workCenter: Record "Work Center"; var machineCenter: Record "Machine Center"; routingNo: Code[20]; routingVersionNo: Code[20]; operationNo: Code[10]; checkAlsoCalcParts: Boolean; conditionDate: Date; ignoreDetailLines: Boolean; var directUnitCost: Decimal; var workplaceCalcCondition: Record "KVSICOWorkplaceCalcCondition"; var calcConditionHeader: Record "KVSICOCalculationConditionHead"; var calcConditionLine: Record "KVSICOCalculationConditionLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculationConditionMgmt", 'OnBeforeCalcCondLine', '', false, false)]
local procedure DoSomethingOnBeforeCalcCondLine(workplaceType: Enum "Capacity Type"; var workCenter: Record "Work Center"; var machineCenter: Record "Machine Center"; routingNo: Code[20]; routingVersionNo: Code[20]; operationNo: Code[10]; checkAlsoCalcParts: Boolean; conditionDate: Date; ignoreDetailLines: Boolean; var directUnitCost: Decimal; var workplaceCalcCondition: Record "KVSICOWorkplaceCalcCondition"; var calcConditionHeader: Record "KVSICOCalculationConditionHead"; var calcConditionLine: Record "KVSICOCalculationConditionLine")
begin
end;

OnBeforeGetWorkplcCalcValuesHarmonized(Enum Capacity Type, Record Work Center, Record Machine Center, Code[20], Code[20], Code[10], Boolean, Date, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetWorkplcCalcValuesHarmonized(workplaceType: Enum "Capacity Type"; var workCenter: Record "Work Center"; var machineCenter: Record "Machine Center"; routingNo: Code[20]; routingVersionNo: Code[20]; operationNo: Code[10]; checkAlsoCalcParts: Boolean; conditionDate: Date; ignoreDetailLines: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculationConditionMgmt", 'OnBeforeGetWorkplcCalcValuesHarmonized', '', false, false)]
local procedure DoSomethingOnBeforeGetWorkplcCalcValuesHarmonized(workplaceType: Enum "Capacity Type"; var workCenter: Record "Work Center"; var machineCenter: Record "Machine Center"; routingNo: Code[20]; routingVersionNo: Code[20]; operationNo: Code[10]; checkAlsoCalcParts: Boolean; conditionDate: Date; ignoreDetailLines: Boolean)
begin
end;

OnBeforeGetWorkplaceCalculationCond(Date) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeGetWorkplaceCalculationCond(var conditionDate: Date): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSICOCalculationConditionMgmt", 'OnBeforeGetWorkplaceCalculationCond', '', false, false)]
local procedure DoSomethingOnBeforeGetWorkplaceCalculationCond(var conditionDate: Date)
begin
end;