PrtItem.ServiceId (Property Read/Write)

Syntax

PrtItem.ServiceId

Description

String property to get or set the Service ID associated with the Item.

Example

dim NEWITEM as new prtitem

'Initialize the new item structure

NEWITEM.ItemId = IDNUM$

NEWITEM.ServiceId = "PRT_DC"

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.