PrtItem.ProdStart (Method)

Syntax

PrtItem.ProdStart [extProcFlag ]

Description

Initiates production start for an item in a Tracking Region. It is equivalent to the Add method, but logs differently.

Parameter Description
ext_proc_flag Boolean. External process flag, if set to TRUE, get all information from an external process. If not provided defaults to FALSE.

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.ProdStart