API Events VPS

OnProvideProdOrderRoutingLineColor

This event occurs when, upon loading/reloading the data from Business Central, color and text color of the bars are configured individually. This applies to the Production Order View and the Capacity View.

 If the pHandled parameter is set to false, the default color is set.

[IntegrationEvent(/*IncludeSender*/false, /*GlobalVarAccess*/false)]

procedure OnProvideProdOrderRoutingLineColor(pClientGuid: Guid; 

pProdOrderRoutingLinePosition: Text; var pBarColor: Text; 

var pTextColor: Text; var pHandl ed: Boolean)

 

 

Data type

Description

Parameter:

 

 

pClientGuid

Guid

This value is used for the global identification of VPS Control-AddIn on a page.

pProdOrderRoutingLinePosition

Text

Position of a selected production order routing line.

var pBarColor

Text

Specifies the bar color.

var pTextColor

Text

Specifies the text color.

var pHandled

Boolean

If it returns true, the event will be skipped