KVSFCYCalculateEDCost#
Procedures#
SetProperties(Date, Text[80], Option) :#
Summary: Sets basic calculation properties for engineering and development cost calculations in the KUMAVISION factory system. This procedure overload configures the calculation date, batch description, and calculation basis without specifying a calculation worksheet name plan. It calls the full SetProperties procedure with an empty worksheet name plan code, making it suitable for standard cost calculations that don't require specific planning worksheet configurations.
procedure SetProperties(newCalcDate: Date; calcBatchDescription: Text[80]; calcBasis: Option):
Parameters:
newCalcDate: The date to use for the cost calculation, determining which cost rates and conditions applycalcBatchDescription: A descriptive text for the calculation batch to identify the purpose or scope of the calculationcalcBasis: The calculation basis option (ExpectedQty for planned quantities, PostedQty for actual posted quantities)
SetProperties(Date, Text[80], Option, Code[10]) :#
Summary: Sets comprehensive calculation properties for engineering and development cost calculations in the KUMAVISION factory system. This procedure configures all essential parameters including calculation date, batch description, calculation basis, and optionally associates a specific calculation worksheet name plan for advanced cost calculation scenarios. The worksheet name plan enables specialized calculation rules and conditions for complex manufacturing cost analysis.
procedure SetProperties(newCalcDatePar: Date; calculationBatchDescriptionPar: Text[80]; calculationBasisPar: Option; calculationWkshNamePlanCodePar: Code[10]):
Parameters:
newCalcDatePar: The date to use for the cost calculation, determining which cost rates, conditions, and pricing applycalculationBatchDescriptionPar: A descriptive text for the calculation batch to identify the purpose, scope, or context of the calculationcalculationBasisPar: The calculation basis option (ExpectedQty for planned/expected quantities, PostedQty for actual posted quantities from ledger entries)calculationWkshNamePlanCodePar: Optional code for a calculation worksheet name plan. If empty, no specific plan is used; otherwise, the specified plan's rules and conditions apply
SetFixProdOrderLineNo(Integer) :#
Summary: Sets a fixed production order line number to limit calculation scope in the KUMAVISION factory system. This procedure allows restricting cost calculations to a specific production order line instead of processing all lines in a production order. When a fixed line number is set (non-zero), only that specific production order line will be processed during cost calculations, enabling focused analysis and improving performance for targeted cost evaluation scenarios in manufacturing operations.
procedure SetFixProdOrderLineNo(fixProdOrderLineNoPar: Integer):
Parameters:
fixProdOrderLineNoPar: The specific production order line number to calculate. Set to 0 to calculate all lines, or provide a specific line number to limit calculations to that line only
CalcProdOrders(Record Production Order, Boolean, Boolean, Boolean) :#
Summary: Calculates engineering and development costs for multiple production orders in the KUMAVISION factory system. This procedure processes a set of production orders and generates detailed cost calculations including direct costs, indirect costs, overhead costs, routing costs, component costs, and additional charges. It creates calculation worksheets and calculation values for comprehensive cost analysis and supports both expected quantity and posted quantity calculation bases for accurate manufacturing cost determination.
procedure CalcProdOrders(var prodOrderVar: Record "Production Order"; showDialogPar: Boolean; var rolledUpVar: Boolean; var errorInsertedVar: Boolean):
Parameters:
prodOrderVar: The production orders to calculate costs for (passed by reference for filtering and iteration)showDialogPar: Whether to display a progress dialog during the calculation processrolledUpVar: Returns true if cost roll-up calculations were performed successfully (passed by reference)errorInsertedVar: Returns true if any errors were encountered and logged during the calculation process (passed by reference)
Events#
OnCalcProdOrderBeforeAddToTempValues(Record Production Order) :#
Summary: Event raised before adding production order data to temporary values.
[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;
Parameters:
ProdOrder: The production order record to be processed.
OnCalcProdOrderBeforeCalcWkshInsert(Record KVSFCYCalculationWorksheet, Record Prod. Order Line) :#
Summary: Event raised before inserting calculation worksheet record.
[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;
Parameters:
CalculationWksh: The calculation worksheet record to be inserted.ProdOrderLine: The production order line that triggered the calculation.
OnCalcProdOrderBeforeCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Line) :#
Summary: Event raised before inserting calculation value record.
[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;
Parameters:
CalculationValue: The calculation value record to be inserted.ProdOrderLine: The production order line that triggered the calculation.
OnCalcProdOrderBeforeCalcWkshModify(Record KVSFCYCalculationWorksheet, Record Prod. Order Line, Boolean) :#
Summary: Event raised before modifying calculation worksheet record.
[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;
Parameters:
CalculationWksh: The calculation worksheet record to be modified.ProdOrderLine: The production order line that triggered the calculation.ErrorInserted: Indicates whether an error was inserted during processing.
OnCreateCalcValue4POLineOvhdCostBeforeCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Line) :#
Summary: Event raised before inserting calculation value for production order line overhead cost.
[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;
Parameters:
CalculationValue: The calculation value record to be inserted.TempProdOrderLine: The temporary production order line record containing overhead cost information.
OnCreateCalcValue4POLineOvhdCostBeforeDetailCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting detailed calculation value for production order line overhead cost.
[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;
Parameters:
CalculationValue: The detailed calculation value record to be inserted.CalcValueSumLine: The sum line calculation value record used as reference.
OnCreateCalcValue4POCompRtngLineBeforeRtngCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting routing calculation value for production order component routing line.
[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;
Parameters:
CalculationValue: The calculation value record to be inserted.TempCalcValueRtngLine: The temporary routing line calculation value record.
OnCreateCalcValue4POCompRtngLineBeforeCompCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting component calculation value for production order component routing line.
[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;
Parameters:
CalculationValue: The calculation value record to be inserted.TempCalcValueProdComp: The temporary production component calculation value record.
OnCreateCalcValue4POCompRtngLineBeforeDetailCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting detailed calculation value for production order component routing line.
[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;
Parameters:
CalculationValue: The detailed calculation value record to be inserted.CalcValueSumLine: The sum line calculation value record used as reference.
OnCreateCalcValue4POCompRtngLineBeforeOppCostCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting opportunity cost calculation value for production order component routing line.
[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;
Parameters:
CalculationValue: The opportunity cost calculation value record to be inserted.CalcValueSumLine: The sum line calculation value record used as reference.
OnCreateCalcValue4POLineAddChargCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYProdLineCalcCondna, Record Prod. Order Line) :#
Summary: Event raised when inserting calculation value for production order line additional charge.
[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;
Parameters:
CalculationValue: The calculation value record to be inserted.TempPOLineCalcCondNA: The temporary production order line calculation condition record.ProdOrderLine: The production order line record.
OnAddProdOrderToTempValuesAfterProdOrderRtngSetFilter(Record Prod. Order Routing Line) :#
Summary: Event raised after setting filter on production order routing line when adding to temporary values.
[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;
Parameters:
ProdOrderRtngLine: The production order routing line record with applied filter.
OnAddProdOrderToTempValuesAfterProdOrderCompSetFilter(Record Prod. Order Component) :#
Summary: Event raised after setting filter on production order component when adding to temporary values.
[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;
Parameters:
ProdOrderComp: The production order component record with applied filter.
OnAddProdRtngLineToTempValueBeforeTempCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Routing Line, Record Prod. Order Line) :#
Summary: Event raised before inserting temporary calculation value for production routing 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;
Parameters:
TempCalcValueRtngLine: The temporary calculation value record for routing line to be inserted.ProdOrderRtngLine: The production order routing line record.ProdOrderLine: The production order line record.
OnAddProdRtngLineToTempValueBeforeDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting detailed temporary calculation value for production routing line.
[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;
Parameters:
TempCalcValueRtngLine: The detailed temporary calculation value record for routing line to be inserted.CalcValueSumLine: The sum line calculation value record used as reference.
OnAddProdRtngLineToTempValueBefore1TempCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Line) :#
Summary: Event raised before inserting the first temporary calculation value for production routing 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;
Parameters:
TempCalcValueRtngLine: The first temporary calculation value record for routing line to be inserted.ProdOrderLine: The production order line record.
OnAddProdRtngLineToTempValueBeforeNDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting multiple detailed temporary calculation values for production routing line.
[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;
Parameters:
TempCalcValueRtngLine: The detailed temporary calculation value record for routing line to be inserted.CalcValueSumLine: The sum line calculation value record used as reference.
OnAddProdOrderCompToTempValueBeforeTempCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Component) :#
Summary: Event raised before inserting temporary calculation value for production 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;
Parameters:
TempCalcValueProdComp: The temporary calculation value record for production component to be inserted.ProdOrderComp: The production order component record.
OnAddProdOrderCompToTempValueBeforeDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting detailed temporary calculation value for production order component.
[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;
Parameters:
TempCalcValueProdComp: The detailed temporary calculation value record for production component to be inserted.CalcValueSumLine: The sum line calculation value record used as reference.
OnAddProdOrderCompToTempValueBefore1TempCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Component) :#
Summary: Event raised before inserting the first temporary calculation value for production 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;
Parameters:
TempCalcValueProdComp: The first temporary calculation value record for production component to be inserted.ProdOrderComp: The production order component record.
OnAddProdOrderCompToTempValueBeforeNDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting multiple detailed temporary calculation values for production order component.
[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;
Parameters:
TempCalcValueProdComp: The detailed temporary calculation value record for production component to be inserted.CalcValueSumLine: The sum line calculation value record used as reference.
OnAddProdLineOppCostToTempValueBeforeTempCalcValueInsert(Record KVSFCYCalculationValue, Record Prod. Order Line) :#
Summary: Event raised before inserting temporary calculation value for production line opportunity cost.
[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;
Parameters:
TempCalcValueOppCost: The temporary calculation value record for opportunity cost to be inserted.ProdOrderLine: The production order line record.
OnAddProdLineOppCostToTempValueBeforeDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting detailed temporary calculation value for production line opportunity cost.
[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;
Parameters:
TempCalcValueOppCost: The detailed temporary calculation value record for opportunity cost to be inserted.CalcValueSumLine: The sum line calculation value record used as reference.
OnAddProdLineOppCostToTempValueBefore1TempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting the first temporary calculation value for production line opportunity cost.
[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;
Parameters:
TempCalcValueOppCost: The first temporary calculation value record for opportunity cost to be inserted.CalcValueLine0: The base calculation value record used as template.
OnAddProdLineOppCostToTempValueBeforeNDetailTempCalcValueInsert(Record KVSFCYCalculationValue, Record KVSFCYCalculationValue) :#
Summary: Event raised before inserting multiple detailed temporary calculation values for production line opportunity cost.
[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;
Parameters:
TempCalcValueOppCost: The detailed temporary calculation value record for opportunity cost to be inserted.CalcValueSumLine: The sum line calculation value record used as reference.