The purpose of this business function is:
1. Open a cache file for COA guaranteed results during each level break section;
2. Save every guaranteed test result to this cache file when COA report reach them;
3. At each COA level break footer section, read all the guaranteed results from cache file, then
print them in COA report;
4. Finally terminate thecache file after printing all the guaranteed results.
The key fields of this cache file are:
Test ID (QTST)
Detail Business Unit (MCU2)
Unique Key ID (UKID)
The following is a list of the cache operations supported by this business function:
OperationProcess Mode
Get first record in cache file1
Add record to cache file2
Get next record in cache file6
Terminate cache file8
Close Cursor9
^
D3700250 - Cache COA Guaranteed Results
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cProcessMode | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
cCacheErrorCode | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessages | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTA1 | char | OPT | OUTPUT |
A 256 byte field used to hold miscellaneous data. | ||||
idCursor | GENLNG | ID | OPT | BOTH |
General purpose ID variable. | ||||
cReturnCursor | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
szTestID | QTST | char | OPT | BOTH |
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 | OPT | BOTH |
An accounting entity, such as a profit center, department, warehouse location, job, project, workcenter, and so on, required for management
| ||||
szTestValue | QVAL | char | OPT | BOTH |
The result of the performed test. | ||||
jdDatetested | QDAT | JDEDATE | OPT | BOTH |
The date on which the test was performed. | ||||
szAllowableMinimumValuefut | AMIN | char | OPT | BOTH |
The lowest value for a passing test result. | ||||
szAllowableMaximumValuefut | AMAX | char | OPT | BOTH |
The highest value for a passing test result. | ||||
szPreferableMinimumValue | PMIN | char | OPT | BOTH |
The lowest value for the preferred test result. This value must be greater than or equal to the allowed minimum value. Use the preferred
| ||||
szPreferableMaximumValue | PMAX | char | OPT | BOTH |
The highest value for the preferred test result. This value must be less than or equal to the allowed maximum value. Use the preferred
| ||||
cPrintTest | PTTS | char | OPT | BOTH |
A code used to determine whether or not a test will be printed on the Certificate of Analysis. The valid values are:
0 The test will not be
| ||||
mnQualityTextIDNumber | QTID | MATH_NUMERIC | OPT | BOTH |
A unique identifier associating a test result with it's generic text. | ||||
szTestMethod | TMHD | char | OPT | BOTH |
A description of how to run a quality test. The test method is useful to both your company's Quality Control department and your customers.
| ||||
mnUniqueKeyIDInternal | UKID | MATH_NUMERIC | OPT | BOTH |
This field is a unique number used to identify a record in a file. | ||||
mnJobnumber | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. |
None |
None |