Syntax
PrtItem.RegionId
Description
String property to set or get the Region ID of the Item. Setting the Region ID is not updated into PRT until the Item is modified.
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
PRT Object Model member list. |