PrtItem.ItemId (Property Read/Write)

Syntax

PrtItem.ItemId

Description

String property to set or get the Item ID of the Item in the region. Setting has 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.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