PrtItem.ItemTypeId (Property Read/Write)

Syntax

PrtItem.ItemTypeId

Description

String property to set or get the Item Type ID of the Item.

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

More information

PRT Object Model member list.