Skip to content

KVSFCYCalculateEDCost#

Procedures#

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

procedure SetProperties(newCalcDate: Date; calcBatchDescription: Text[80]; calcBasis: Option): 

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

procedure SetProperties(newCalcDatePar: Date; calculationBatchDescriptionPar: Text[80]; calculationBasisPar: Option; calculationWkshNamePlanCodePar: Code[10]): 

SetFixProdOrderLineNo(Integer) :#

procedure SetFixProdOrderLineNo(fixProdOrderLineNoPar: Integer): 

CalcProdOrders(Record Production Order, Boolean, Boolean, Boolean) :#

procedure CalcProdOrders(var prodOrderVar: Record "Production Order"; showDialogPar: Boolean; var rolledUpVar: Boolean; var errorInsertedVar: Boolean): 

Events#

OnCalcProdOrderBeforeAddToTempValues(Record Production Order) :#

[IntegrationEvent(false, false)]
local procedure OnCalcProdOrderBeforeAddToTempValues(var ProdOrder: Record "Production Order"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCalcProdOrderBeforeAddToTempValues', '', false, false)]
local procedure DoSomethingOnCalcProdOrderBeforeAddToTempValues(var ProdOrder: Record "Production Order")
begin
end;

OnCalcProdOrderBeforeCalcWkshInsert(Record KVSFCYCalculationWorksheet, Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnCalcProdOrderBeforeCalcWkshInsert(var CalculationWksh: Record "KVSFCYCalculationWorksheet"; ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCalcProdOrderBeforeCalcWkshInsert', '', false, false)]
local procedure DoSomethingOnCalcProdOrderBeforeCalcWkshInsert(var CalculationWksh: Record "KVSFCYCalculationWorksheet"; ProdOrderLine: Record "Prod. Order Line")
begin
end;

OnCalcProdOrderBeforeCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnCalcProdOrderBeforeCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCalcProdOrderBeforeCalcValueInsert', '', false, false)]
local procedure DoSomethingOnCalcProdOrderBeforeCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; ProdOrderLine: Record "Prod. Order Line")
begin
end;

OnCalcProdOrderBeforeCalcWkshModify(Record KVSFCYCalculationWorksheet, Record Prod. Order Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnCalcProdOrderBeforeCalcWkshModify(var CalculationWksh: Record "KVSFCYCalculationWorksheet"; ProdOrderLine: Record "Prod. Order Line"; ErrorInserted: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCalcProdOrderBeforeCalcWkshModify', '', false, false)]
local procedure DoSomethingOnCalcProdOrderBeforeCalcWkshModify(var CalculationWksh: Record "KVSFCYCalculationWorksheet"; ProdOrderLine: Record "Prod. Order Line"; ErrorInserted: Boolean)
begin
end;

OnCreateCalcValue4POLineOvhdCostBeforeCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnCreateCalcValue4POLineOvhdCostBeforeCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; var TempProdOrderLine: Record "Prod. Order Line" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCreateCalcValue4POLineOvhdCostBeforeCalcValueInsert', '', false, false)]
local procedure DoSomethingOnCreateCalcValue4POLineOvhdCostBeforeCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; var TempProdOrderLine: Record "Prod. Order Line" temporary)
begin
end;

OnCreateCalcValue4POLineOvhdCostBeforeDetailCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnCreateCalcValue4POLineOvhdCostBeforeDetailCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; CalcValueSumLine: Record "KVSFCYCalculationValue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCreateCalcValue4POLineOvhdCostBeforeDetailCalcValueInsert', '', false, false)]
local procedure DoSomethingOnCreateCalcValue4POLineOvhdCostBeforeDetailCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; CalcValueSumLine: Record "KVSFCYCalculationValue")
begin
end;

OnCreateCalcValue4POCompRtngLineBeforeRtngCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnCreateCalcValue4POCompRtngLineBeforeRtngCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; var TempCalcValueRtngLine: Record "KVSFCYCalculationValue" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCreateCalcValue4POCompRtngLineBeforeRtngCalcValueInsert', '', false, false)]
local procedure DoSomethingOnCreateCalcValue4POCompRtngLineBeforeRtngCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; var TempCalcValueRtngLine: Record "KVSFCYCalculationValue" temporary)
begin
end;

OnCreateCalcValue4POCompRtngLineBeforeCompCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnCreateCalcValue4POCompRtngLineBeforeCompCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; var TempCalcValueProdComp: Record "KVSFCYCalculationValue" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCreateCalcValue4POCompRtngLineBeforeCompCalcValueInsert', '', false, false)]
local procedure DoSomethingOnCreateCalcValue4POCompRtngLineBeforeCompCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; var TempCalcValueProdComp: Record "KVSFCYCalculationValue" temporary)
begin
end;

OnCreateCalcValue4POCompRtngLineBeforeDetailCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnCreateCalcValue4POCompRtngLineBeforeDetailCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; CalcValueSumLine: Record "KVSFCYCalculationValue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCreateCalcValue4POCompRtngLineBeforeDetailCalcValueInsert', '', false, false)]
local procedure DoSomethingOnCreateCalcValue4POCompRtngLineBeforeDetailCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; CalcValueSumLine: Record "KVSFCYCalculationValue")
begin
end;

OnCreateCalcValue4POCompRtngLineBeforeOppCostCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnCreateCalcValue4POCompRtngLineBeforeOppCostCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; CalcValueSumLine: Record "KVSFCYCalculationValue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCreateCalcValue4POCompRtngLineBeforeOppCostCalcValueInsert', '', false, false)]
local procedure DoSomethingOnCreateCalcValue4POCompRtngLineBeforeOppCostCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; CalcValueSumLine: Record "KVSFCYCalculationValue")
begin
end;

OnCreateCalcValue4POLineAddChargCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYProdLineCalcCondna, Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnCreateCalcValue4POLineAddChargCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; var TempPOLineCalcCondNA: Record "KVSFCYProdLineCalcCondna" temporary; ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnCreateCalcValue4POLineAddChargCalcValueInsert', '', false, false)]
local procedure DoSomethingOnCreateCalcValue4POLineAddChargCalcValueInsert(var CalculationValue: Record "KVSFCYCalculationValue"; var TempPOLineCalcCondNA: Record "KVSFCYProdLineCalcCondna" temporary; ProdOrderLine: Record "Prod. Order Line")
begin
end;

OnAddProdOrderToTempValuesAfterProdOrderRtngSetFilter(Record Prod. Order Routing Line) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdOrderToTempValuesAfterProdOrderRtngSetFilter(var ProdOrderRtngLine: Record "Prod. Order Routing Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdOrderToTempValuesAfterProdOrderRtngSetFilter', '', false, false)]
local procedure DoSomethingOnAddProdOrderToTempValuesAfterProdOrderRtngSetFilter(var ProdOrderRtngLine: Record "Prod. Order Routing Line")
begin
end;

OnAddProdOrderToTempValuesAfterProdOrderCompSetFilter(Record Prod. Order Component) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdOrderToTempValuesAfterProdOrderCompSetFilter(var ProdOrderComp: Record "Prod. Order Component"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdOrderToTempValuesAfterProdOrderCompSetFilter', '', false, false)]
local procedure DoSomethingOnAddProdOrderToTempValuesAfterProdOrderCompSetFilter(var ProdOrderComp: Record "Prod. Order Component")
begin
end;

OnAddProdRtngLineToTempValueBeforeTempCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Routing Line, Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdRtngLineToTempValueBeforeTempCalcValueInsert(var TempCalcValueRtngLine: Record "KVSFCYCalculationValue" temporary; ProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdRtngLineToTempValueBeforeTempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdRtngLineToTempValueBeforeTempCalcValueInsert(var TempCalcValueRtngLine: Record "KVSFCYCalculationValue" temporary; ProdOrderRtngLine: Record "Prod. Order Routing Line"; ProdOrderLine: Record "Prod. Order Line")
begin
end;

OnAddProdRtngLineToTempValueBeforeDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdRtngLineToTempValueBeforeDetailTempCalcValueInsert(var TempCalcValueRtngLine: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdRtngLineToTempValueBeforeDetailTempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdRtngLineToTempValueBeforeDetailTempCalcValueInsert(var TempCalcValueRtngLine: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue")
begin
end;

OnAddProdRtngLineToTempValueBefore1TempCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdRtngLineToTempValueBefore1TempCalcValueInsert(var TempCalcValueRtngLine: Record "KVSFCYCalculationValue" temporary; ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdRtngLineToTempValueBefore1TempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdRtngLineToTempValueBefore1TempCalcValueInsert(var TempCalcValueRtngLine: Record "KVSFCYCalculationValue" temporary; ProdOrderLine: Record "Prod. Order Line")
begin
end;

OnAddProdRtngLineToTempValueBeforeNDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdRtngLineToTempValueBeforeNDetailTempCalcValueInsert(var TempCalcValueRtngLine: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdRtngLineToTempValueBeforeNDetailTempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdRtngLineToTempValueBeforeNDetailTempCalcValueInsert(var TempCalcValueRtngLine: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue")
begin
end;

OnAddProdOrderCompToTempValueBeforeTempCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Component) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdOrderCompToTempValueBeforeTempCalcValueInsert(var TempCalcValueProdComp: Record "KVSFCYCalculationValue" temporary; ProdOrderComp: Record "Prod. Order Component"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdOrderCompToTempValueBeforeTempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdOrderCompToTempValueBeforeTempCalcValueInsert(var TempCalcValueProdComp: Record "KVSFCYCalculationValue" temporary; ProdOrderComp: Record "Prod. Order Component")
begin
end;

OnAddProdOrderCompToTempValueBeforeDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdOrderCompToTempValueBeforeDetailTempCalcValueInsert(var TempCalcValueProdComp: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdOrderCompToTempValueBeforeDetailTempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdOrderCompToTempValueBeforeDetailTempCalcValueInsert(var TempCalcValueProdComp: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue")
begin
end;

OnAddProdOrderCompToTempValueBefore1TempCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Component) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdOrderCompToTempValueBefore1TempCalcValueInsert(var TempCalcValueProdComp: Record "KVSFCYCalculationValue" temporary; ProdOrderComp: Record "Prod. Order Component"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdOrderCompToTempValueBefore1TempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdOrderCompToTempValueBefore1TempCalcValueInsert(var TempCalcValueProdComp: Record "KVSFCYCalculationValue" temporary; ProdOrderComp: Record "Prod. Order Component")
begin
end;

OnAddProdOrderCompToTempValueBeforeNDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdOrderCompToTempValueBeforeNDetailTempCalcValueInsert(var TempCalcValueProdComp: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdOrderCompToTempValueBeforeNDetailTempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdOrderCompToTempValueBeforeNDetailTempCalcValueInsert(var TempCalcValueProdComp: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue")
begin
end;

OnAddProdLineOppCostToTempValueBeforeTempCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdLineOppCostToTempValueBeforeTempCalcValueInsert(var TempCalcValueOppCost: Record "KVSFCYCalculationValue" temporary; ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdLineOppCostToTempValueBeforeTempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdLineOppCostToTempValueBeforeTempCalcValueInsert(var TempCalcValueOppCost: Record "KVSFCYCalculationValue" temporary; ProdOrderLine: Record "Prod. Order Line")
begin
end;

OnAddProdLineOppCostToTempValueBeforeDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdLineOppCostToTempValueBeforeDetailTempCalcValueInsert(var TempCalcValueOppCost: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdLineOppCostToTempValueBeforeDetailTempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdLineOppCostToTempValueBeforeDetailTempCalcValueInsert(var TempCalcValueOppCost: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue")
begin
end;

OnAddProdLineOppCostToTempValueBefore1TempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdLineOppCostToTempValueBefore1TempCalcValueInsert(var TempCalcValueOppCost: Record "KVSFCYCalculationValue" temporary; CalcValueLine0: Record "KVSFCYCalculationValue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdLineOppCostToTempValueBefore1TempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdLineOppCostToTempValueBefore1TempCalcValueInsert(var TempCalcValueOppCost: Record "KVSFCYCalculationValue" temporary; CalcValueLine0: Record "KVSFCYCalculationValue")
begin
end;

OnAddProdLineOppCostToTempValueBeforeNDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#

[IntegrationEvent(false, false)]
local procedure OnAddProdLineOppCostToTempValueBeforeNDetailTempCalcValueInsert(var TempCalcValueOppCost: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYCalculateEDCost", 'OnAddProdLineOppCostToTempValueBeforeNDetailTempCalcValueInsert', '', false, false)]
local procedure DoSomethingOnAddProdLineOppCostToTempValueBeforeNDetailTempCalcValueInsert(var TempCalcValueOppCost: Record "KVSFCYCalculationValue" temporary; CalcValueSumLine: Record "KVSFCYCalculationValue")
begin
end;