This event can be used, for example, to execute custom code in a context related to a production order routing line. The context is determined by the parameter pContext. (e.g. in the context menu of the Capacity View).
See also "OnProvideProdOrderRoutingLineCustomFunctions".
[IntegrationEvent(/*IncludeSender*/false, /*GlobalVarAccess*/false)]
procedure OnProdOrderRoutingLineCustomFunction(pClientGuid: Guid;
pProdOrderRoutingLinePosition: Text; pCustomFunctionKey: Text;
pContext: Option; var pHandled: Boolean)
|
Data type |
Description |
Parameter: |
|
|
pClientGuid |
Guid |
This value is used for the global identification of VPS Control-AddIn on a page. |
pProdOrderRoutingLinePosition |
Text |
List of selected production order routing lines. By default, there is one production order routing line. In the future, in case of multi-selection, several Production Order Routing Lines will be selected |
pCustomFunctionKey |
Text |
Specifies the context menu item. |
pContext |
Option |
Describes the context menu item in more detail. |
var pHandled |
Boolean |
If it returns true, the event will be skipped |