API Events VPS

OnBeforeSaveProdOrderRoutingLine

This event occurs before saving a production order routing line.

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

procedure OnBeforeSaveProdOrderRoutingLine(pClientGuid: Guid;  

var pProdOrderRoutingLineRecordOriginalTemp: Record “Prod. Order Routing Line”  temporary;  

var pProdOrderRoutingLineRecordBeforeTemp: Record “Prod. Order Routing Line”  temporary) 

 

 

Data type

Description

Parameter:

 

 

pClientGuid

Guid

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

var pProdOrderRoutingLineRecordOriginalTemp

Record

The original production order routing line. 

var pProdOrderRoutingLineRecordBeforeTemp 

Record

The before save production order routing line. 

//do stuff here that has to be done before porl is saved to bc (for example move dependent lines for reservations)