PrtItem.ProdStop (Method)

Syntax

PrtItem.ProdStop

Description

Removes an Item from the Production Tracking system as the result of its exiting out of a region along a route that has no destination region. The specified Item must currently reside at a source region associated with such a route. If the Item cannot legitimately transition out of the system along such a route, an error is returned to the calling routine.

Example

Dim Region as new prt.Region
Region.Id = "Detainment"
'Get a list of items in a region and remove each of them from
'    tracking one by one.
Region.GetItemList
For j = 0 to Region.ItemCount - 1
       Region.Item(j).ProdStop
Next j