Purpose:
 Select a single record from the Quality Preference file, F40318.  Most often used to check if a 
record is valid for delete, if found it can not be deleted.
Setup Notes:
 Used to replace table I/O in applications. 
Special Logic:
 This function is used to see if either tests or specs exist in the preference file.  Specifications 
can be passed in the Test ID field in the data structure.
Processing:
 Perform Fetch Single on F40318 with a key of Test ID and Branch/Plant
^
D3700290A - F40318 Fetch Single
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| szTestID | QTST | char | REQ | INPUT | 
The unique identification for a test to be performed on an item. For example: COL Color test DENS Density Test CL-2 Clarity Test  | ||||
| szCostCenter2 | MCU2 | char | REQ | INPUT | 
An accounting entity, such as a profit center, department, warehouse location, job, project, workcenter, and so on, required for management 
  | ||||
| cErrorCode | EV01 | char | OPT | OUTPUT | 
An option that specifies the type of processing for an event.  | ||||
| cStatus | STAW | char | OPT | BOTH | 
A user-defined code (00/WS) that indicates the approval status.  | ||||
| None | 
| None |