DEFECTCREATE

Syntax

Example

Description/

Remarks

DEFECTCREATE "defect_desc", "process_name", cost

DEFECTCREATE "Broken", "B-Mixing", 1.00

This command lets users create a defect; assign a process name to be used when assigning to the process defect list, and the cost associated with it. If the process name is left blank, then it adds the defect only in the master defect list.

It returns the Defect ID if it successfully creates the defect and adds to the specified process defect list. If the defect already exists, then it returns the Defect ID for the specified defect.

It returns –1 if the process name specified was not found, but the defect was successfully added to defect master list.