Purpose:
To read the cache loaded by Test Results (P3711) or Batch Test Results (R3711Z1I) and add, update or
delete the records into F3711. Also, if processing option is set any failed test results will be
written to the Nonconforming Products file (F3703).
Setup Notes:
This function is called from the MBF (N3700150)
The Test Results cache must be loaded before this function is called.
Special Logic:
none
Processing:
Read Test Results cache one record at a time.
If action code = A (Add)
If the Nonconforming Processing Option = 1
If Pass/Fail flag = F (Fail)
Write failed record to F3703
End
End
Write new record to F3711
End
If action code = C (Change)
If the Nonconforming Processing Option = 1
If Pass/Fail flag = F (Fail)
Write failed record to F3703
End
End
Update record to F3711
End
If action code = D (Delete)
Delete record from F3711.
End
^
D3700180 - F3711 Update Add Delete Test Results
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnJobnumberA | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
cSupressErrorMessage | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szProgramId | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szErrorMessageID | DTAI | char | OPT | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
cWriteNonconforming | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cCopyGenericText | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cPOSysSampNumFlg_EV01 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. |
None |
None |