PartCheck logic
From PlcWiki
Also applies to RackPartCheck
There is a plc_parts.OPID file on the client. It contains the following columns:
1) VIN 2) CLEVER part number 3) OPID 4) barcode, or part thereof
After scanning and pairing with the operation, the client searches for the scanned barcode, or part of it, in the specified file. It searches from the current cockpit line. If it does not find the end of the file, it continues from the beginning.
If it finds a matching barcode in the fourth column, it looks in the second column to get the CLEVER part number. The obtained part number is compared with the required one for the given cockpit.