API Events VPS

DoSkipWorkCenterOnDataLoad

This event allows the customer to prevent (skip) the loading of certain workcenters into the simulation during the load/reload phase. Subordinate or connected elements will then also not be loaded into the simulation.

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

procedure DoSkipWorkCenterOnDataLoad(pClientGuid: Guid; 

var pWorkCenter:Record "Work Center"; var pSkip: Boolean; 
var pHandled: Boolean)

 

 

Data type

Description

Parameter:

pClientGuid


Guid


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

 

var pWorkCenter

Record 

Determines which record will be skipped.

var pSkip

Boolean

Determines whether records will be skipped or not.

var pHandled

Boolean

If it returns true, the event will be skipped