PrtItem.Comment (Property Read/Write)

Syntax

PrtItem.Comment

Description

String property to set or get the comment associated with the item for an impending Modify or Add. The comment is written to the PRT log file as the modifications are sent to the object.

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
NEWITEM.Comment = "New item created."
' Upload to Tracking Database
NEWITEM.Add