KVSFCYTrafficLightEntryMgt#
Procedures#
GetTrafficLightBitmapfromKVSFCYEDMonitoringLineBuffer(Record KVSFCYEDMonitoringLineBuffer, Record KVSFCYTrafficLightEntry, Record KVSFCYTrafficLightAssignmSetup, Record KVSFCYTrafficLightAssignmSetup) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This procedure is obsolete, use GetTrafficLightBmpfromKVSFCYEDMonitoringLineBuffer instead', '25.1')]
procedure GetTrafficLightBitmapfromKVSFCYEDMonitoringLineBuffer(var KVSFCYEDMonitoringLineBuffer: Record "KVSFCYEDMonitoringLineBuffer"; var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary; var TempKVSFCYTrafficLightAssignmSetupCapacity: Record "KVSFCYTrafficLightAssignmSetup" temporary):
GetTrafficLightBmpfromKVSFCYEDMonitoringLineBuffer(Record KVSFCYEDMonitoringLineBuffer, Record KVSFCYTrafficLightEntry, Record KVSFCYTrafficLightAssignmSetup, Record KVSFCYTrafficLightAssignmSetup, Record KVSFCYTrafficLightAssignmSetup) :#
Summary: Gets the Bitmaps of the Traffic Light values of Inventory, Capacity and Picks in dependence of the KVSFCYEDMonitoringLineBuffer to the 'Prod. Order Component', 'Prod. Order Routing Line' and 'Prod. Order Line'. The Bitmaps are stored in the 'Traffic Light Assignment Setup'.
procedure GetTrafficLightBmpfromKVSFCYEDMonitoringLineBuffer(var KVSFCYEDMonitoringLineBuffer: Record "KVSFCYEDMonitoringLineBuffer"; var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary; var TempKVSFCYTrafficLightAssignmSetupCapacity: Record "KVSFCYTrafficLightAssignmSetup" temporary; var TempKVSFCYTrafficLightAssignmSetupPicks: Record "KVSFCYTrafficLightAssignmSetup" temporary):
Parameters:
KVSFCYEDMonitoringLineBuffer: paramKVSFCYTrafficLightEntry:TempKVSFCYTrafficLightAssignmSetupInventory:TempKVSFCYTrafficLightAssignmSetupCapacity:TempKVSFCYTrafficLightAssignmSetupPicks:
GetTrafficLightBitmapfromProdOrder(Record Production Order, Record KVSFCYTrafficLightEntry, Record KVSFCYTrafficLightAssignmSetup, Record KVSFCYTrafficLightAssignmSetup) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This procedure is obsolete, use GetTrafficLightBmpfromProdOrder instead', '25.1')]
procedure GetTrafficLightBitmapfromProdOrder(var ProductionOrder: Record "Production Order"; var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary; var TempKVSFCYTrafficLightAssignmSetupCapacity: Record "KVSFCYTrafficLightAssignmSetup" temporary):
GetTrafficLightBmpfromProdOrder(Record Production Order, Record KVSFCYTrafficLightEntry, Record KVSFCYTrafficLightAssignmSetup, Record KVSFCYTrafficLightAssignmSetup, Record KVSFCYTrafficLightAssignmSetup) :#
Summary: Gets the Bitmaps of the Traffic Light values of Inventory, Capacity and Picks of a Production Order. The Bitmaps are stored in the 'Traffic Light Assignment Setup'.
procedure GetTrafficLightBmpfromProdOrder(var ProductionOrder: Record "Production Order"; var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary; var TempKVSFCYTrafficLightAssignmSetupCapacity: Record "KVSFCYTrafficLightAssignmSetup" temporary; var TempKVSFCYTrafficLightAssignmSetupPicks: Record "KVSFCYTrafficLightAssignmSetup" temporary):
Parameters:
ProductionOrder:KVSFCYTrafficLightEntry:TempKVSFCYTrafficLightAssignmSetupInventory:TempKVSFCYTrafficLightAssignmSetupCapacity:TempKVSFCYTrafficLightAssignmSetupPicks:
GetTrafficLightBitmapfromProdOrderLine(Record Prod. Order Line, Record KVSFCYTrafficLightAssignmSetup, Record KVSFCYTrafficLightAssignmSetup) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This procedure is obsolete, use GetTrafficLightBmpfromProdOrderLine instead', '25.1')]
procedure GetTrafficLightBitmapfromProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary; var TempKVSFCYTrafficLightAssignmSetupCapacity: Record "KVSFCYTrafficLightAssignmSetup" temporary):
GetTrafficLightBmpfromProdOrderLine(Record Prod. Order Line, Record KVSFCYTrafficLightAssignmSetup, Record KVSFCYTrafficLightAssignmSetup, Record KVSFCYTrafficLightAssignmSetup) :#
Summary: Gets the Bitmaps of the Traffic Light values of Inventory, Capacity and Picks of a Production Order Line. The Bitmaps are stored in the 'Traffic Light Assignment Setup'.
procedure GetTrafficLightBmpfromProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary; var TempKVSFCYTrafficLightAssignmSetupCapacity: Record "KVSFCYTrafficLightAssignmSetup" temporary; var TempKVSFCYTrafficLightAssignmSetupPicks: Record "KVSFCYTrafficLightAssignmSetup" temporary):
Parameters:
ProdOrderLine:TempKVSFCYTrafficLightAssignmSetupInventory:TempKVSFCYTrafficLightAssignmSetupCapacity:TempKVSFCYTrafficLightAssignmSetupPicks:
GetTrafficLightBitmapfromProdOrderComponent(Record Prod. Order Component, Record KVSFCYTrafficLightAssignmSetup) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('This procedure is obsolete, use GetTrafficLightInventoryBitmapfromProdOrderComponent instead', '25.1')]
procedure GetTrafficLightBitmapfromProdOrderComponent(var ProdOrderComponent: Record "Prod. Order Component"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary):
GetTrafficLightInventoryBitmapfromProdOrderComponent(Record Prod. Order Component, Record KVSFCYTrafficLightAssignmSetup) :#
Summary: Gets the Bitmap of the Traffic Light values of Inventory of a Production Order Component. The Bitmap is stored in the 'Traffic Light Assignment Setup'.
procedure GetTrafficLightInventoryBitmapfromProdOrderComponent(var ProdOrderComponent: Record "Prod. Order Component"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary):
Parameters:
ProdOrderComponent:TempKVSFCYTrafficLightAssignmSetupInventory:
GetTrafficLightBitmapfromProdOrderRoutingLine(Record Prod. Order Routing Line, Record KVSFCYTrafficLightAssignmSetup) :#
Summary: Retrieves the capacity traffic light bitmap for a production order routing line from the traffic light assignment setup. This procedure finds the existing traffic light entry for the specified production order routing line and extracts the corresponding capacity traffic light bitmap from the traffic light assignment setup configuration. The bitmap represents the visual indicator (green, yellow, red, etc.) that reflects the current capacity status of the routing operation, including work center or machine center capacity utilization, allocated time versus available capacity, and threshold-based capacity analysis. This enables visual capacity monitoring in production order interfaces by providing immediate visual feedback on routing line capacity constraints and availability. The procedure supports the traffic light system's capacity visualization for manufacturing operations management and capacity planning workflows.
procedure GetTrafficLightBitmapfromProdOrderRoutingLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempKVSFCYTrafficLightAssignmSetupCapacity: Record "KVSFCYTrafficLightAssignmSetup" temporary):
Parameters:
ProdOrderRoutingLine: Production order routing line for which the capacity traffic light bitmap will be retrieved and displayed.TempKVSFCYTrafficLightAssignmSetupCapacity: Temporary traffic light assignment setup record that will receive the capacity bitmap for visual display.
GetTrafficLightBitmapInventory(Record KVSFCYTrafficLightEntry, Record KVSFCYTrafficLightAssignmSetup, Boolean) :#
Summary: Retrieves the inventory traffic light bitmap based on the traffic light entry's inventory value and assignment setup configuration. This procedure extracts the appropriate visual bitmap (green, yellow, red, warning, empty) from the traffic light assignment setup that corresponds to the current inventory traffic light value of the specified entry. The bitmap serves as a visual indicator representing inventory availability status, stock levels, and material availability for production planning and inventory management. The procedure handles different inventory states including sufficient stock (green), low stock warnings (yellow), critical shortages (red), and special warning conditions. It integrates with the traffic light system's visual feedback mechanism to provide immediate inventory status visibility in manufacturing interfaces, enabling quick identification of inventory constraints and material availability issues across production orders, assembly orders, and warehouse operations.
procedure GetTrafficLightBitmapInventory(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary; EntryExists: Boolean):
Parameters:
KVSFCYTrafficLightEntry: Traffic light entry containing the inventory value used to determine which bitmap should be retrieved from the assignment setup.TempKVSFCYTrafficLightAssignmSetupInventory: Temporary traffic light assignment setup record that will receive the appropriate inventory bitmap for visual display.EntryExists: Boolean flag indicating whether a traffic light entry exists, determining if bitmap retrieval should proceed or be skipped.
GetTrafficLightBitmapCapacity(Record KVSFCYTrafficLightEntry, Record KVSFCYTrafficLightAssignmSetup, Boolean) :#
Summary: Retrieves the capacity traffic light bitmap based on the traffic light entry's capacity value and assignment setup configuration. This procedure extracts the appropriate visual bitmap (green, yellow, red, empty, etc.) from the traffic light assignment setup that corresponds to the current capacity traffic light value of the specified entry. The bitmap serves as a visual indicator representing capacity utilization status, work center availability, machine center load, and resource allocation efficiency for production planning and capacity management. The procedure handles different capacity states including available capacity (green), approaching capacity limits (yellow), over-capacity situations (red), and undefined capacity states (empty). It integrates with the traffic light system's visual feedback mechanism to provide immediate capacity status visibility in manufacturing interfaces, enabling quick identification of capacity constraints, bottlenecks, and resource availability issues across production orders, routing operations, and manufacturing workflows for effective capacity planning and optimization.
procedure GetTrafficLightBitmapCapacity(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupCapacity: Record "KVSFCYTrafficLightAssignmSetup" temporary; EntryExists: Boolean):
Parameters:
KVSFCYTrafficLightEntry: Traffic light entry containing the capacity value used to determine which bitmap should be retrieved from the assignment setup.TempKVSFCYTrafficLightAssignmSetupCapacity: Temporary traffic light assignment setup record that will receive the appropriate capacity bitmap for visual display.EntryExists: Boolean flag indicating whether a traffic light entry exists, determining if bitmap retrieval should proceed or be skipped.
EmptyBitmapAsBase64() : Text#
Summary: Returns the Base64 encoded bitmap data for the empty traffic light indicator used when no status is available. This procedure provides the visual representation for traffic light entries that have no defined status or are in an undefined state. The empty bitmap serves as a neutral visual indicator in the traffic light system when inventory, capacity, or picks status cannot be determined or is not applicable. This supports consistent visual feedback across manufacturing interfaces by providing a standard empty state indicator that maintains the visual layout while indicating the absence of actionable status information.
procedure EmptyBitmapAsBase64(): Text
Returns: Base64 encoded string containing the bitmap data for the empty traffic light indicator image.
GreenCheckmarkBitmapAsBase64() : Text#
Summary: Returns the Base64 encoded bitmap data for the green checkmark traffic light indicator representing successful completion or optimal status. This procedure provides the visual representation for traffic light entries that indicate completed, approved, or optimally satisfied conditions. The green checkmark bitmap serves as a positive confirmation indicator in the traffic light system, typically used for inventory availability, capacity utilization, or picks completion when all requirements are fully met or exceeded. This supports comprehensive status visualization across manufacturing interfaces by providing clear positive feedback for successful operations and satisfied conditions.
procedure GreenCheckmarkBitmapAsBase64(): Text
Returns: Base64 encoded string containing the bitmap data for the green checkmark traffic light indicator image.
YellowBitmapAsBase64() : Text#
Summary: Returns the Base64 encoded bitmap data for the yellow traffic light indicator representing caution or warning conditions. This procedure provides the visual representation for traffic light entries that indicate approaching thresholds, low stock levels, moderate capacity utilization, or partial picks completion. The yellow bitmap serves as a cautionary indicator in the traffic light system, alerting users to conditions that require attention but are not yet critical. This supports proactive management across manufacturing interfaces by providing early warning indicators for inventory depletion, capacity constraints, or incomplete warehouse operations that may impact production schedules if not addressed promptly.
procedure YellowBitmapAsBase64(): Text
Returns: Base64 encoded string containing the bitmap data for the yellow traffic light indicator image.
YellowWarningBitmapAsBase64() : Text#
Summary: Returns the Base64 encoded bitmap data for the yellow warning traffic light indicator representing elevated caution or alert conditions. This procedure provides the visual representation for traffic light entries that indicate more serious warning conditions than standard yellow indicators. The yellow warning bitmap serves as an enhanced cautionary indicator in the traffic light system, typically used for situations approaching critical thresholds, significant inventory shortages, high capacity utilization, or urgent picks requirements. This supports escalated attention management across manufacturing interfaces by providing enhanced warning indicators that require immediate attention to prevent potential disruptions to production schedules or operational efficiency.
procedure YellowWarningBitmapAsBase64(): Text
Returns: Base64 encoded string containing the bitmap data for the yellow warning traffic light indicator image.
RedWarningBitmapAsBase64() : Text#
Summary: Returns the Base64 encoded bitmap data for the red warning traffic light indicator representing critical or blocking conditions. This procedure provides the visual representation for traffic light entries that indicate critical issues, stockouts, capacity overloads, or failed picks operations. The red warning bitmap serves as an urgent alert indicator in the traffic light system, typically used for conditions that block production progress, create material shortages, exceed capacity limits, or prevent warehouse operations completion. This supports critical issue identification across manufacturing interfaces by providing clear visual alerts for situations requiring immediate intervention to prevent production delays, quality issues, or operational failures.
procedure RedWarningBitmapAsBase64(): Text
Returns: Base64 encoded string containing the bitmap data for the red warning traffic light indicator image.
BlueBitmapAsBase64() : Text#
Summary: Returns the Base64 encoded bitmap data for the blue traffic light indicator representing informational or special status conditions. This procedure provides the visual representation for traffic light entries that indicate informational states, special processing conditions, or neutral status that requires awareness but no immediate action. The blue bitmap serves as an informational indicator in the traffic light system, typically used for conditions like scheduled maintenance, planned operations, or special handling requirements. This supports comprehensive status communication across manufacturing interfaces by providing distinctive visual indicators for informational conditions that complement the standard traffic light color scheme for complete operational awareness.
procedure BlueBitmapAsBase64(): Text
Returns: Base64 encoded string containing the bitmap data for the blue traffic light indicator image.
GreenBitmapAsBase64() : Text#
Summary: Returns the Base64 encoded bitmap data for the green traffic light indicator representing optimal or satisfactory conditions. This procedure provides the visual representation for traffic light entries that indicate good status, sufficient inventory levels, appropriate capacity utilization, or completed picks operations. The green bitmap serves as a positive indicator in the traffic light system, showing that inventory, capacity, or picks conditions are within acceptable parameters and do not require immediate attention. This supports efficient status monitoring across manufacturing interfaces by providing clear visual confirmation that operations are proceeding normally and resources are adequately available for production requirements.
procedure GreenBitmapAsBase64(): Text
Returns: Base64 encoded string containing the bitmap data for the green traffic light indicator image.
Events#
OnBeforeDeleteTrafficLightEntriesOfProdOrder(Record Production Order, Boolean) :#
Summary: Triggers before deleting traffic light entries for production order.
[IntegrationEvent(false, false)]
local procedure OnBeforeDeleteTrafficLightEntriesOfProdOrder(var ProductionOrder: Record "Production Order"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeDeleteTrafficLightEntriesOfProdOrder', '', false, false)]
local procedure DoSomethingOnBeforeDeleteTrafficLightEntriesOfProdOrder(var ProductionOrder: Record "Production Order"; var IsHandled: Boolean)
begin
end;
Parameters:
ProductionOrder: Production order being processed.IsHandled: Skip deletion process when true.
OnBeforeDeleteTrafficLightEntriesOfAssemblyOrder(Record Assembly Header, Boolean) :#
Summary: This event is triggered before deleting existing entries for the specified assembly header and the associated assembly lines. These data are stored in the KVSFCYTrafficLightEntry table
[IntegrationEvent(false, false)]
local procedure OnBeforeDeleteTrafficLightEntriesOfAssemblyOrder(var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeDeleteTrafficLightEntriesOfAssemblyOrder', '', false, false)]
local procedure DoSomethingOnBeforeDeleteTrafficLightEntriesOfAssemblyOrder(var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
begin
end;
Parameters:
AssemblyHeader: The assembly header whose data, and that of the associated assembly lines, is to be deletedIsHandled: Skips deleting process
OnBeforeDeleteTrafficLightEntriesOfWarehouseShipment(Record Warehouse Shipment Header, Boolean) :#
Summary: This event is triggered before deleting existing entries for the specified warehouse shipment header and the associated warehouse shipment lines. These data are stored in the KVSFCYTrafficLightEntry table
[IntegrationEvent(false, false)]
local procedure OnBeforeDeleteTrafficLightEntriesOfWarehouseShipment(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeDeleteTrafficLightEntriesOfWarehouseShipment', '', false, false)]
local procedure DoSomethingOnBeforeDeleteTrafficLightEntriesOfWarehouseShipment(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var IsHandled: Boolean)
begin
end;
Parameters:
WarehouseShipmentHeader: The warehouse shipment header whose data, and that of the associated warehouse shipment lines, is to be deletedIsHandled: Skips deleting process
OnBeforeCreateTrafficLightFromProdOrder(Record Production Order, Boolean) :#
Summary: Triggers before creating traffic light values for production order.
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateTrafficLightFromProdOrder(var ProductionOrder: Record "Production Order"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCreateTrafficLightFromProdOrder', '', false, false)]
local procedure DoSomethingOnBeforeCreateTrafficLightFromProdOrder(var ProductionOrder: Record "Production Order"; var IsHandled: Boolean)
begin
end;
Parameters:
ProductionOrder: Production order being processed.IsHandled: Skip creation process when true.
OnBeforeCreateTrafficLightFromAssemblyOrder(Record Assembly Header, Boolean) :#
Summary: This event is triggered before creating the current traffic light values for an assembly order and before deleting possible traffic light value entries.
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateTrafficLightFromAssemblyOrder(var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCreateTrafficLightFromAssemblyOrder', '', false, false)]
local procedure DoSomethingOnBeforeCreateTrafficLightFromAssemblyOrder(var AssemblyHeader: Record "Assembly Header"; var IsHandled: Boolean)
begin
end;
Parameters:
AssemblyHeader: The assembly header for whom the traffic light values are created forIsHandled: Skips entire process of deleting possible traffic light picks entries and skips creating new one
OnBeforeCreateTrafficLightFromWarehouseShipment(Record Warehouse Shipment Header, Boolean) :#
Summary: This event is triggered before creating the current traffic light values for a warehouse shipment and before deleting possible traffic light value entries.
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateTrafficLightFromWarehouseShipment(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCreateTrafficLightFromWarehouseShipment', '', false, false)]
local procedure DoSomethingOnBeforeCreateTrafficLightFromWarehouseShipment(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var IsHandled: Boolean)
begin
end;
Parameters:
WarehouseShipmentHeader: The warehouse shipment header for whom the traffic light values are created forIsHandled: Skips entire process of deleting possible traffic light picks entries and skips creating new one
OnBeforeUpdateTrafficLightSourceInfoIfChangeStatusOfProdOrder(Record Production Order, Record Production Order, Boolean) :#
Summary: Triggers before updating traffic light source info when production order status changes.
[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateTrafficLightSourceInfoIfChangeStatusOfProdOrder(var FromProductionOrder: Record "Production Order"; var ToProductionOrder: Record "Production Order"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeUpdateTrafficLightSourceInfoIfChangeStatusOfProdOrder', '', false, false)]
local procedure DoSomethingOnBeforeUpdateTrafficLightSourceInfoIfChangeStatusOfProdOrder(var FromProductionOrder: Record "Production Order"; var ToProductionOrder: Record "Production Order"; var IsHandled: Boolean)
begin
end;
Parameters:
FromProductionOrder: Original production order.ToProductionOrder: Updated production order.IsHandled: Skip update process when true.
OnBeforeCreateTrafficLightFromFilteredProdOrderLine(Record Production Order, Record Prod. Order Line, Boolean) :#
Summary: Triggers before creating traffic light values for filtered production order line.
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateTrafficLightFromFilteredProdOrderLine(var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCreateTrafficLightFromFilteredProdOrderLine', '', false, false)]
local procedure DoSomethingOnBeforeCreateTrafficLightFromFilteredProdOrderLine(var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)
begin
end;
Parameters:
ProductionOrder: Production order being processed.ProdOrderLine: Production order line being processed.IsHandled: Skip creation process when true.
OnBeforeCreateTrafficLightFromFilteredAssemblyLine(Record Assembly Header, Record Assembly Line, Boolean) :#
Summary: This event is triggered before creating new traffic light values for the assembly lines of the specified assembly order. Existing traffic light values of the specified assembly header and all associated assembly lines already has been deleted
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateTrafficLightFromFilteredAssemblyLine(var AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCreateTrafficLightFromFilteredAssemblyLine', '', false, false)]
local procedure DoSomethingOnBeforeCreateTrafficLightFromFilteredAssemblyLine(var AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line"; var IsHandled: Boolean)
begin
end;
Parameters:
AssemblyHeader: The assembly header of the assembly lines for whom the traffic light values are created forAssemblyLine: The assembly lines for whom the traffic light value are created forIsHandled: Skips creating new traffic light values for this specific assembly line
OnBeforeCreateTrafficLightFromFilteredWarehouseShipmentLine(Record Warehouse Shipment Header, Record Warehouse Shipment Line, Boolean) :#
Summary: This event is triggered before creating new traffic light values for the warehouse shipment lines of the specified warehouse shipment. Existing traffic light values of the specified warehouse shipment header and all associated warehouse shipment lines already has been deleted
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateTrafficLightFromFilteredWarehouseShipmentLine(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCreateTrafficLightFromFilteredWarehouseShipmentLine', '', false, false)]
local procedure DoSomethingOnBeforeCreateTrafficLightFromFilteredWarehouseShipmentLine(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
begin
end;
Parameters:
WarehouseShipmentHeader: The warehouse shipment header of the warehouse shipment lines for whom the traffic light values are created forWarehouseShipmentLine: The warehouse shipment lines for whom the traffic light values are created forIsHandled: Skips creating new traffic light values for this warehouse shipment line
OnBeforeCreateTrafficLightFromProdOrderLine(Record Production Order, Record Prod. Order Line, Enum KVSFCYTrafficLightValue, Enum KVSFCYTrafficLightValue, Enum KVSFCYTrafficLightValue, Boolean) :#
Summary: Triggers before creating traffic light values for production order line.
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateTrafficLightFromProdOrderLine(var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderMaxTrafficLightValueInventoryProdOrder: Enum "KVSFCYTrafficLightValue"; var ProdOrderMaxTrafficLightValueCapacity: Enum "KVSFCYTrafficLightValue"; var ProdOrderMaxTrafficLightValuePicks: Enum "KVSFCYTrafficLightValue"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCreateTrafficLightFromProdOrderLine', '', false, false)]
local procedure DoSomethingOnBeforeCreateTrafficLightFromProdOrderLine(var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderMaxTrafficLightValueInventoryProdOrder: Enum "KVSFCYTrafficLightValue"; var ProdOrderMaxTrafficLightValueCapacity: Enum "KVSFCYTrafficLightValue"; var ProdOrderMaxTrafficLightValuePicks: Enum "KVSFCYTrafficLightValue"; var IsHandled: Boolean)
begin
end;
Parameters:
ProductionOrder: Production order being processed.ProdOrderLine: Production order line being processed.ProdOrderMaxTrafficLightValueInventoryProdOrder: Maximum traffic light value for inventory.ProdOrderMaxTrafficLightValueCapacity: Maximum traffic light value for capacity.ProdOrderMaxTrafficLightValuePicks: Maximum traffic light value for picks.IsHandled: Skip creation process when true.
OnBeforeCalcualteTrafficLightFromProdOrderComponent(Record KVSFCYTrafficLightEntry, Record Production Order, Record Prod. Order Line, Record Prod. Order Component, Enum KVSFCYTrafficLightValue, Enum KVSFCYTrafficLightValue, Boolean) :#
Summary: Triggers before calculating traffic light values for production order component.
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcualteTrafficLightFromProdOrderComponent(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderComponent: Record "Prod. Order Component"; var MaxTrafficLightValueInventory: Enum "KVSFCYTrafficLightValue"; var MaxTrafficLightValueCapacity: Enum "KVSFCYTrafficLightValue"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCalcualteTrafficLightFromProdOrderComponent', '', false, false)]
local procedure DoSomethingOnBeforeCalcualteTrafficLightFromProdOrderComponent(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderComponent: Record "Prod. Order Component"; var MaxTrafficLightValueInventory: Enum "KVSFCYTrafficLightValue"; var MaxTrafficLightValueCapacity: Enum "KVSFCYTrafficLightValue"; var IsHandled: Boolean)
begin
end;
Parameters:
KVSFCYTrafficLightEntry: Traffic light entry being processed.ProductionOrder: Production order being processed.ProdOrderLine: Production order line being processed.ProdOrderComponent: Production order component being processed.MaxTrafficLightValueInventory: Maximum traffic light value for inventory.MaxTrafficLightValueCapacity: Maximum traffic light value for capacity.IsHandled: Skip calculation process when true.
OnBeforeCalculateTrafficLightInventoryFromAssemblyLine(Record KVSFCYTrafficLightEntry, Record Assembly Header, Record Assembly Line, Enum KVSFCYTrafficLightValue, Boolean) :#
Summary: This event is triggered before calculating the traffic light inventory value from KVSFCYTrafficLightEntry for an assembly line
[IntegrationEvent(false, false)]
local procedure OnBeforeCalculateTrafficLightInventoryFromAssemblyLine(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line"; var MaxTrafficLightValueInventory: Enum "KVSFCYTrafficLightValue"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCalculateTrafficLightInventoryFromAssemblyLine', '', false, false)]
local procedure DoSomethingOnBeforeCalculateTrafficLightInventoryFromAssemblyLine(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var AssemblyHeader: Record "Assembly Header"; var AssemblyLine: Record "Assembly Line"; var MaxTrafficLightValueInventory: Enum "KVSFCYTrafficLightValue"; var IsHandled: Boolean)
begin
end;
Parameters:
KVSFCYTrafficLightEntry: The filtered data set from which the traffic light value is to be takenAssemblyHeader: The assembly header of the assembly line for whom the traffic light inventory value is forAssemblyLine: The assembly line for whom the traffic light inventory value is forMaxTrafficLightValueInventory: Contains the current highest KVSFCYTrafficLightValue value of the assembly linesIsHandled: Skips calculating the traffic light value for an assembly line
OnBeforeCalcualteTrafficLightFromProdRoutingLine(Record KVSFCYTrafficLightEntry, Record Prod. Order Line, Record Prod. Order Routing Line, Boolean) :#
Summary: Triggers before calculating traffic light values for production routing line.
[IntegrationEvent(false, false)]
local procedure OnBeforeCalcualteTrafficLightFromProdRoutingLine(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCalcualteTrafficLightFromProdRoutingLine', '', false, false)]
local procedure DoSomethingOnBeforeCalcualteTrafficLightFromProdRoutingLine(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsHandled: Boolean)
begin
end;
Parameters:
KVSFCYTrafficLightEntry: Traffic light entry being processed.ProdOrderLine: Production order line being processed.ProdOrderRoutingLine: Production routing line being processed.IsHandled: Skip calculation process when true.
OnBeforeCompareAndUpdateMaxValue(Enum KVSFCYTrafficLightValue, Enum KVSFCYTrafficLightValue, Enum KVSFCYTrafficLightValue, Boolean) :#
Summary: Triggers before comparing and updating maximum traffic light values.
[IntegrationEvent(false, false)]
local procedure OnBeforeCompareAndUpdateMaxValue(var TrafficValue1: Enum "KVSFCYTrafficLightValue"; var TrafficValue2: Enum "KVSFCYTrafficLightValue"; var ResultTrafficValue: Enum "KVSFCYTrafficLightValue"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeCompareAndUpdateMaxValue', '', false, false)]
local procedure DoSomethingOnBeforeCompareAndUpdateMaxValue(var TrafficValue1: Enum "KVSFCYTrafficLightValue"; var TrafficValue2: Enum "KVSFCYTrafficLightValue"; var ResultTrafficValue: Enum "KVSFCYTrafficLightValue"; var IsHandled: Boolean)
begin
end;
Parameters:
TrafficValue1: First traffic light value to compare.TrafficValue2: Second traffic light value to compare.ResultTrafficValue: Result of comparison.IsHandled: Skip comparison process when true.
OnBeforeGetTrafficLightBitmapInventory(Record KVSFCYTrafficLightEntry, Record KVSFCYTrafficLightAssignmSetup, Boolean) :#
Summary: Triggers before getting traffic light bitmap for inventory.
[IntegrationEvent(false, false)]
local procedure OnBeforeGetTrafficLightBitmapInventory(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary; EntryExists: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeGetTrafficLightBitmapInventory', '', false, false)]
local procedure DoSomethingOnBeforeGetTrafficLightBitmapInventory(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupInventory: Record "KVSFCYTrafficLightAssignmSetup" temporary; EntryExists: Boolean)
begin
end;
Parameters:
KVSFCYTrafficLightEntry: Traffic light entry being processed.TempKVSFCYTrafficLightAssignmSetupInventory: Traffic light assignment setup for inventory.EntryExists: Indicates if entry exists.
OnBeforeGetTrafficLightBitmapPicks(Record KVSFCYTrafficLightEntry, Record KVSFCYTrafficLightAssignmSetup, Boolean) :#
Summary: This event is triggered before getting the traffic light picks picture from KVSFCYTrafficLightAssignmSetup of an entry in specified KVSFCYTrafficLightEntry
[IntegrationEvent(false, false)]
local procedure OnBeforeGetTrafficLightBitmapPicks(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupPicks: Record "KVSFCYTrafficLightAssignmSetup" temporary; IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeGetTrafficLightBitmapPicks', '', false, false)]
local procedure DoSomethingOnBeforeGetTrafficLightBitmapPicks(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupPicks: Record "KVSFCYTrafficLightAssignmSetup" temporary; IsHandled: Boolean)
begin
end;
Parameters:
KVSFCYTrafficLightEntry: The filtered data set from which the traffic light value is to be takenTempKVSFCYTrafficLightAssignmSetupPicks: The variable in which the traffic light picks picture is to be storedIsHandled: Skips getting the picture from KVSFCYTrafficLightAssignmSetup
OnBeforeGetTrafficLightBitmapCapacity(Record KVSFCYTrafficLightEntry, Record KVSFCYTrafficLightAssignmSetup, Boolean) :#
Summary: Triggers before getting traffic light bitmap for capacity.
[IntegrationEvent(false, false)]
local procedure OnBeforeGetTrafficLightBitmapCapacity(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupCapacity: Record "KVSFCYTrafficLightAssignmSetup" temporary; EntryExists: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYTrafficLightEntryMgt", 'OnBeforeGetTrafficLightBitmapCapacity', '', false, false)]
local procedure DoSomethingOnBeforeGetTrafficLightBitmapCapacity(var KVSFCYTrafficLightEntry: Record "KVSFCYTrafficLightEntry"; var TempKVSFCYTrafficLightAssignmSetupCapacity: Record "KVSFCYTrafficLightAssignmSetup" temporary; EntryExists: Boolean)
begin
end;
Parameters:
KVSFCYTrafficLightEntry: Traffic light entry being processed.TempKVSFCYTrafficLightAssignmSetupCapacity: Traffic light assignment setup for capacity.EntryExists: Indicates if entry exists.