Integrations Events
NAVEKSA ShopFloor exposes a number of integration events which are there for you to run your own logic, trigger Business Central logic or extend the core functionality.
This is a list of the available integration events by Business Central object.
Codeunit 6170537 “NAVEKSA SFS Event Publisher”
The following integration events are avialable in this codeunit
OnAfterLoadRoutingLineLinks – codeunit 6170537 “NAVEKSA SFS Event Publisher”.
This event is triggered when loading the routing lines on the ShopFloor Operator Client Process Note screen. This will allow you to add your own routing line links to the standard ones retrieved by the system.
[IntegrationEvent(true, false)]
procedure OnAfterLoadRoutingLineLinks(var RecordLinkCustom: Record “Record Link”; pRoutingStatus: Code20; pProdOrderNo: Code20; pProdOrderLineNo: Integer; pRoutingNo: Code20; pRoutingRefNo: Code10; pOperationNo: Code20)
OnAfterLoadDrawingLinks – codeunit 6170537 “NAVEKSA SFS Event Publisher”.
This event is triggered when loading the drawings on the ShopFloor Operator Client drawings screen. This will allow you to add your own drawing links to the standard ones retrieved by the system.
[IntegrationEvent(true, false)]
procedure OnAfterLoadDrawingLinks(var RecordLinkCustom: Record “Record Link”; pProdOrderNo: Code20; pRoutingRefNo: Code20)
OnAfterLoadProductionNotes – codeunit 6170537 “NAVEKSA SFS Event Publisher”
This event is triggered when loading the production order notes on the ShopFloor Operator Client Order Note screen. This will allow you to add your own production order note links to the standard ones retrieved by the system.
[IntegrationEvent(true, false)]
procedure OnAfterLoadProductionNotes(var RecordLinkCustom: Record “Record Link”; pProdOrderNo: Code20)
Codeunit 6170474 “NAVEKSA SFS Post Entries”
The following integration events are avialable in this codeunit.
*OnPostCapEntryBeforeOutputJnlPostWithCapEntry *
The event is triggered when the Item Journal Line record has been populated with the values from the ShopFloor Capacity Ledger Entry record and just before the Item Journal Line record is inserted.
This will allow you to modify any values in the Item Journal Line before insertion.
[IntegrationEvent(false, false)]
procedure OnPostCapEntryBeforeOutputJnlPostWithCapEntry(var OutputJnl: Record “Item Journal Line”; ShopFloorCapEntry: Record “NAVEKSA SFS Cap. Ledger Entry”);
begin
end;
*OnPostCapEntryAfterOutputJnlPost *
The event is triggered after the Item Journal Line record has been inserted and item tracking data has been posted as well.
This will allow to run any custom code that is triggered by a record being inserted into the Item Journal Line.
[IntegrationEvent(false, false)]
procedure OnPostCapEntryAfterOutputJnlPost(var OutputJnl: Record “Item Journal Line”);
begin
end;