These events can be used to modify Business Central data before they are transferred into our simulation (SIM) data. This provides a flexible way for partners and customers to include additional data, such as values from flow fields, during the transfer process. The changes will not be saved in the Business Central data.
Find more information here
The events in detail:
OnBeforeTransferJob
This event occurs when loading/reloading a job.
[IntegrationEvent(/*IncludeSender*/false, /*GlobalVarAccess*/false)]
procedure OnBeforeTransferJob(pClientGuid: Guid; var pJobRecord: Record “Job”;
var pHandled: Boolean)
| Data type | Description | |
|
Parameter: pClientGuid |
Guid |
This value is used for the global identification of VJS control add-in on a page. |
| var pJobRecord | Record | The job record to be loaded. |
| var pHandled | Boolean | The event will be handled if it returns true |
OnBeforeTransferJobTask
This event occurs when loading/reloading a job task.
[IntegrationEvent(/*IncludeSender*/false, /*GlobalVarAccess*/false)]
procedure OnBeforeTransferJobTask(pClientGuid: Guid; var pJobTaskRecord:
Record “Job Task”; var pHandled: Boolean)
| Data type | Description | |
|
Parameter: pClientGuid |
Guid |
This value is used for the global identification of VJS control add-in on a page. |
| var pJobTaskRecord | Record | The job task record to be loaded. |
| var pHandled | Boolean | The event will be handled if it returns true |
OnBeforeTransferJobPlanningLine
This event occurs when loading/reloading a job planning line.
[IntegrationEvent(/*IncludeSender*/false, /*GlobalVarAccess*/false)]
procedure OnBeforeTransferJobPlanningLine(pClientGuid: Guid; var pJobPlanningLineRecord:
Record “Job Planning Line”; var pHandled: Boolean)
| Data type | Description | |
|
Parameter: pClientGuid |
Guid |
This value is used for the global identification of VJS control add-in on a page. |
| var pJobPlanningLineRecord | Record | The job planning line record to be loaded. |
| var pHandled | Boolean | The event will be handled if it returns true |
OnBeforeTransferResourceGroup
This event occurs when loading/reloading a resource group.
[IntegrationEvent(/*IncludeSender*/false, /*GlobalVarAccess*/false)]
procedure OnBeforeTransferResourceGroup(pClientGuid: Guid;
var pResourceGroupRecord: Record “Resource Group”; var pHandled: Boolean)
| Data type | Description | |
|
Parameter: pClientGuid |
Guid |
This value is used for the global identification of VJS control add-in on a page. |
| var pResourceGroupRecord | Record | The resource group record to be loaded. |
| var pHandled | Boolean | The event will be handled if it returns true |
OnBeforeTransferResource
This event occurs when loading/reloading a resource.
[IntegrationEvent(/*IncludeSender*/false, /*GlobalVarAccess*/false)]
procedure OnBeforeTransferResource (pClientGuid: Guid;
var pResourceRecord: Record “Resource”; var pHandled: Boolean)
| Data type | Description | |
|
Parameter: pClientGuid |
Guid |
This value is used for the global identification of VJS control add-in on a page. |
| var pResourceRecord | Record | The resource record to be loaded. |
| var pHandled | Boolean | The event will be handled if it returns true |
Comments
0 comments
Please sign in to leave a comment.