API Functions VPS

setProdOrderRoutingLineCustomColor

This function can be used to set the color and text color of production order routing lines individually.

These settings get not changed by Load/Reload and can only be reset to the default color or to the color having been set via the OnProvideProdOrderRoutingLineColor event using the resetProdOrderRoutingLineColors function.

procedure setProdOrderRoutingLineCustomColor(pClientGuid: Guid;

 pProdOrderRoutingLinePositions: List of [Text]; pBarColor: Text; pTextColor: Text)

 

Parameter

Data type

Description

pClientGuid

Guid

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

pProdOrderRoutingLinePositions

List of [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.

pBarColor

Text

Specify the bar color.

pTextColor

Text

Specify the text color.