PrtItem.ItemClassId (Property Read/Write)

Syntax

PrtItem.ItemClassId

Description

String property to set or get the Item Class 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.ItemClassId = CLASS$

NEWITEM.Status = 0

'Upload to Tracking Database

NEWITEM.Add

More information

PRT Object Model member list.