Skip to content

KVSFCYEDMonitoringLib#

Procedures#

CheckEDOrderLineManPolicy(Record Prod. Order Line) :#

procedure CheckEDOrderLineManPolicy(prodOrderLinePar: Record "Prod. Order Line"): 

CheckEDOrderStructure(Integer, Code[20], Integer, Boolean) :#

procedure CheckEDOrderStructure(StatusPar: Integer; ProdOrderNoPar: Code[20]; ProdOrderLineNoPar: Integer; MultiLevelPar: Boolean): 

CreateEDOPlanning(Record KVSFCYEDMonitoringLineBuffer) : Boolean#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('FCY-702. Not longer used!', '22.3')]
procedure CreateEDOPlanning(var tempEDMonitoringLineBufferVar: Record "KVSFCYEDMonitoringLineBuffer" temporary): Boolean

FindRecordsEDOrder(Record KVSFCYEDMonitoringLineBuffer, Record KVSFCYEDMonitoringLineBuffer, Record Production Order, Enum KVSFCYCalcRoutingType, Option, Enum KVSFCYDurationPrecision) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('This procedure is obsolete, use FindRecordsForEDOrder instead', '23.4')]
procedure FindRecordsEDOrder(var tempEDMonitoringLineBufferVar: Record "KVSFCYEDMonitoringLineBuffer"; var tempEDMonitoringLineBuffer2Var: Record "KVSFCYEDMonitoringLineBuffer"; var prodOrderFilterVar: Record "Production Order"; calcRoutingPar: Enum "KVSFCYCalcRoutingType"; viewingFilterPar: Option; durationPrecisionPar: Enum "KVSFCYDurationPrecision"): 

FindRecordsForEDOrder(Record KVSFCYEDMonitoringLineBuffer, Record KVSFCYEDMonitoringLineBuffer, Record Production Order, Enum KVSFCYCalcRoutingType, Enum KVSFCYEDView, Enum KVSFCYDurationPrecision) :#

procedure FindRecordsForEDOrder(var tempEDMonitoringLineBufferVar: Record "KVSFCYEDMonitoringLineBuffer"; var tempEDMonitoringLineBuffer2Var: Record "KVSFCYEDMonitoringLineBuffer"; var prodOrderFilterVar: Record "Production Order"; calcRoutingPar: Enum "KVSFCYCalcRoutingType"; viewingFilterPar: Enum "KVSFCYEDView"; durationPrecisionPar: Enum "KVSFCYDurationPrecision"): 

UpdatePositionProdOrder(Record Production Order) :#

procedure UpdatePositionProdOrder(prodOrderPar: Record "Production Order"): 

GetItemVersionCode(Code[20], Code[10], Date, Record KVSFCYItemVersion) : Boolean#

procedure GetItemVersionCode(itemNoPar: Code[20]; variantCodePar: Code[10]; datePar: Date; var itemVersionVar: Record "KVSFCYItemVersion"): Boolean

Events#

OnAfterTransAddProdBOMFieldsToPOComp(Record Prod. Order Component, Record Production BOM Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterTransAddProdBOMFieldsToPOComp(var ProdOrderComponent: Record "Prod. Order Component"; ProdBOMLine: Record "Production BOM Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEDMonitoringLib", 'OnAfterTransAddProdBOMFieldsToPOComp', '', false, false)]
local procedure DoSomethingOnAfterTransAddProdBOMFieldsToPOComp(var ProdOrderComponent: Record "Prod. Order Component"; ProdBOMLine: Record "Production BOM Line")
begin
end;

OnCreateRecordsFromProdOrderRtngLineBeforeInsertTempEDMonitoringLineBuffer(Record KVSFCYEDMonitoringLineBuffer, Record Prod. Order Routing Line) :#

Summary: This event is triggered before a EDMonitoringLine is inserted from a prod. order routing line.

[IntegrationEvent(false, false)]
local procedure OnCreateRecordsFromProdOrderRtngLineBeforeInsertTempEDMonitoringLineBuffer(var TempEDMonitoringLineBuffer: Record "KVSFCYEDMonitoringLineBuffer" temporary; ProdOrderRoutingLine: Record "Prod. Order Routing Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEDMonitoringLib", 'OnCreateRecordsFromProdOrderRtngLineBeforeInsertTempEDMonitoringLineBuffer', '', false, false)]
local procedure DoSomethingOnCreateRecordsFromProdOrderRtngLineBeforeInsertTempEDMonitoringLineBuffer(var TempEDMonitoringLineBuffer: Record "KVSFCYEDMonitoringLineBuffer" temporary; ProdOrderRoutingLine: Record "Prod. Order Routing Line")
begin
end;

Parameters:

  • TempEDMonitoringLineBuffer: The EDMonitoringLine which is created
  • ProdOrderRoutingLine: The prod. order routing line from which the EDMonitoringLine is inserted

OnCreateRecordsFromProdOrderComponentBeforeInsertTempEDMonitoringLineBuffer(Record KVSFCYEDMonitoringLineBuffer, Record Prod. Order Component) :#

[IntegrationEvent(false, false)]
local procedure OnCreateRecordsFromProdOrderComponentBeforeInsertTempEDMonitoringLineBuffer(var tempEDMonitoringLineBufferVar: Record "KVSFCYEDMonitoringLineBuffer"; var prodComponentPar: Record "Prod. Order Component"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEDMonitoringLib", 'OnCreateRecordsFromProdOrderComponentBeforeInsertTempEDMonitoringLineBuffer', '', false, false)]
local procedure DoSomethingOnCreateRecordsFromProdOrderComponentBeforeInsertTempEDMonitoringLineBuffer(var tempEDMonitoringLineBufferVar: Record "KVSFCYEDMonitoringLineBuffer"; var prodComponentPar: Record "Prod. Order Component")
begin
end;

OnCreateRecordsFromProdOrderLineBeforeInsertTempEDMonitoringLineBuffer(Record KVSFCYEDMonitoringLineBuffer, Record Prod. Order Line) :#

[IntegrationEvent(false, false)]
local procedure OnCreateRecordsFromProdOrderLineBeforeInsertTempEDMonitoringLineBuffer(var KVSFCYEDMonitoringLineBuffer: Record "KVSFCYEDMonitoringLineBuffer"; var ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEDMonitoringLib", 'OnCreateRecordsFromProdOrderLineBeforeInsertTempEDMonitoringLineBuffer', '', false, false)]
local procedure DoSomethingOnCreateRecordsFromProdOrderLineBeforeInsertTempEDMonitoringLineBuffer(var KVSFCYEDMonitoringLineBuffer: Record "KVSFCYEDMonitoringLineBuffer"; var ProdOrderLine: Record "Prod. Order Line")
begin
end;

OnInsertEDMonitorLineBOMNewBeforeInsertTempEDMonitoringLineBuffer(Record KVSFCYEDMonitoringLineBuffer, Record Production BOM Line) :#

[IntegrationEvent(false, false)]
local procedure OnInsertEDMonitorLineBOMNewBeforeInsertTempEDMonitoringLineBuffer(var tempEDMonitoringLineBufferVar: Record "KVSFCYEDMonitoringLineBuffer"; bOMComponentPar: Record "Production BOM Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEDMonitoringLib", 'OnInsertEDMonitorLineBOMNewBeforeInsertTempEDMonitoringLineBuffer', '', false, false)]
local procedure DoSomethingOnInsertEDMonitorLineBOMNewBeforeInsertTempEDMonitoringLineBuffer(var tempEDMonitoringLineBufferVar: Record "KVSFCYEDMonitoringLineBuffer"; bOMComponentPar: Record "Production BOM Line")
begin
end;

OnInsertEDPlanningCompBeforeAssignLocationCode(Record Planning Component, Record Prod. Order Component, Record Requisition Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnInsertEDPlanningCompBeforeAssignLocationCode(var planningComponent: Record "Planning Component"; var prodOrderComp: Record "Prod. Order Component"; var requisitionLine: Record "Requisition Line"; var isHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEDMonitoringLib", 'OnInsertEDPlanningCompBeforeAssignLocationCode', '', false, false)]
local procedure DoSomethingOnInsertEDPlanningCompBeforeAssignLocationCode(var planningComponent: Record "Planning Component"; var prodOrderComp: Record "Prod. Order Component"; var requisitionLine: Record "Requisition Line"; var isHandled: Boolean)
begin
end;

OnShowProdOrderComponentsBeforeTempEDMonitoringLineBuffer2Modify(Record KVSFCYEDMonitoringLineBuffer, Record Prod. Order Component) :#

[IntegrationEvent(false, false)]
local procedure OnShowProdOrderComponentsBeforeTempEDMonitoringLineBuffer2Modify(var tempEDMonitoringLineBuffer2Var: Record "KVSFCYEDMonitoringLineBuffer"; ProdOrderComponent: Record "Prod. Order Component"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYEDMonitoringLib", 'OnShowProdOrderComponentsBeforeTempEDMonitoringLineBuffer2Modify', '', false, false)]
local procedure DoSomethingOnShowProdOrderComponentsBeforeTempEDMonitoringLineBuffer2Modify(var tempEDMonitoringLineBuffer2Var: Record "KVSFCYEDMonitoringLineBuffer"; ProdOrderComponent: Record "Prod. Order Component")
begin
end;