PrtItem.RegionLoc (Property Read/Write)

Syntax

Point.RegionLoc

Description

Integer property to set or get the location of the Item in the region. Setting does not update PRT until the Modify method is invoked.

Example

dim NEWITEM as new prtitem
'Initialize the new item structure
NEWITEM.ItemId = IDNUM$
NEWITEM.RefId = RefNUM$
NEWITEM.GroupId = Groupname$
NEWITEM.RegionId = Regname$
NEWITEM.RegionLoc = PRT_LAST
NEWITEM.IntHold false
NEWITEM.ExtHold false
NEWITEM.ItemTypeId = TYPE$
NEWITEM.Status = 0
'Upload to Tracking Database
NEWITEM.Add