Syntax
PrtItem.Delete disposition [, comment$]
Description
Deletes the item from the tracking model. A disposition must be supplied, and a comment is optional.
Parameter |
Description |
disposition |
Integer. Reason for deleting. See table below for manifest constants. |
comment$ |
String (optional) - The optional comment to send to the log file. |
Disposition |
Description |
PRT_SCRAP |
Scrap the item. |
PRT_DELETE |
Delete the item. |
PRT_NO_CHECK_SCRAP |
Scrap the item overriding region locking status |
PRT_NO_CHECK_DELETE |
Delete the item overriding region locking status |
Example
Dim prt as new Prt
' Get a single item from PRT with its RefId and delete it.
PRT.LocateItem "",REFNUM$
prt.Item(0).Delete PRT_NO_CHECK_DELETE, "Item Removed"
PRT Object Model member list. |