PrtRegion.SetPoints (Method)

Syntax

PrtRegion.SetPoints enable

Description

Enables or disables the item transition setpoints configured in the PRT tracking route records. These points are set by PRT when an Item transitions into the configured destination region.

enable Boolean (TRUE or FALSE)

Example

Dim Region as new PrtRegion
Region.Id = "PRODUCTION"
If TIME > 18:00:00 or TIME < 6:00:00 then
       Region.SetPoints False
Else
       Region.SetPoints True
End If