OnBeforeTransfer events

  • Updated

These events can be used to modify Business Central data before transferring them into our simulation data. 

Not only are simple modifications possible, but also complex ones, such as the application of flowFields/Flowfilters and thus the execution of self-created or already existing formulas. The changes will not be saved in the Business Central data.

For more details on the events, see here.

The events in detail:

OnBeforeTransferMachineCenter

This event occurs on loading a machine center

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

procedure OnBeforeTransferMachineCenter(pClientGuid: Guid; 
var pMachineCenterRecord: Record “Machine Center”; 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 pMachineCenterRecord Record The machine center to be loaded.
var pHandled Boolean The event will be handled if it returns true

 

OnBeforeTransferProdOrder

This event occurs on loading a production order.

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

procedure OnBeforeTransferProdOrder(pClientGuid: Guid; 
var pProdOrderRecord: Record “Production Order”; 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 pProdOrderRecord Record The production order to be loaded.
var pHandled Boolean The event will be handled if it returns true

 

OnBeforeTransferProdOrderLine

This event occurs on loading a production order line.

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

procedure OnBeforeTransferProdOrderLine(pClientGuid: Guid; 
var pProdOrderLineRecord: Record “Prod. Order Line”; 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 pProdOrderLineRecord Record The production order line to be loaded.
var pHandled Boolean The event will be handled if it returns true

 

OnBeforeTransferProdOrderRoutingLine

This event occurs on loading a production order routing line.

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

procedure OnBeforeTransferProdOrderRoutingLine(pClientGuid: Guid; 
var pProdOrderRoutingLineRecord: Record “Prod. Order Routing Line”; 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 pProdOrderRoutingLineRecord Record The production order routing line to be loaded.
var pHandled Boolean The event will be handled if it returns true

 

OnBeforeTransferWorkCenter

This event occurs on loading a work center.

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

procedure OnBeforeTransferWorkCenter(pClientGuid: Guid; 
var pWorkCenterRecord: Record “Work Center”; 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 pWorkCenterRecord Record The work center to be loaded.
var pHandled Boolean The event will be handled if it returns true

 

OnBeforeTransferWorkCenterGroup

This event occurs on loading a work center group.

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

procedure OnBeforeTransferWorkCenterGroup(pClientGuid: Guid; var pWorkCenterGroupRecord: Record “Work Center Group”; 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 pWorkCenterGroupRecord Record The work center group to be loaded.
var pHandled Boolean The event will be handled if it returns true

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.