Common Zoning Errors & Their Descriptions

Summary

Here are the top ten most common error messages that occur in the Optical Character Reading (OCR) zoning process. Use the descriptions below to help refine or fix your own zoning products.

 

Error 1

Could not find any phrase-matching OCR templates for page '{value}1. - T'

Description: The OCR process was unsuccessful in matching an OCR and Zone template with the item's COA document. The OCR template's Key Phrases could not be found on the COA.

Solution: Create a template in the 'Import Templates' grid-list by pressing 'New' (at upper right) and entering an Item ID, a Supplier ID, and the rest of the required data.

 


 

Error 2

Could not find an OCR Template for page '{value) – '

Description: The OCR process failed to find an existing Zone template in TraceGains Network for a particular page in this item's COA.

Solution: Create a new zone template for this specific COA page.

 


 

Error 3

The OCR engine could not find any Zone values for page '{value}^1'. The OCR Template '{value}^1' may be incomplete, the page text may have shifted, or one or more Zones are outside the page margins.

Description: The data on the previously-zoned COA is missing or no longer in the same place on the COA.

Solution: Edit the Zone template. Hover over the Configuration menu (at far upper-right) and select "Import Templates". In the Item ID or Item Name grid-column, filter for the applicable item. On that row, click the arrow rectangle icon ('Edit OCR Templates'), load the template from the 'Current Templates' drop-down, and click 'Zone File Editor' on the right. Load the COA file that matches the zone template. Note which of the zone-mapped attribute fields has shifted or is empty and reconfigure the zoning template accordingly.

 


 

Error 4

Could not find an OCR Template for page '{value}'

Description: No matching OCR Template was found.

Solution: Create a new OCR template (possibly a zone template, too) and associate it to the COA in question.

 


 

Error 5

Matching OCR Template '{value}' contained one or more errors

Description: The existing OCR Template (or maybe one of its zone templates) that was found during the OCR process contains one or more errors that are preventing its acceptance by TraceGains Network.

Solution:

Step 1: Hover over the Configuration button at upper-right and click Import Templates.

Step 2: Filter Item ID or Item Name to find the row you need, and click the arrow rectangle icon to open the Template Management page.

Step 3: In the 'Current Templates' box, load the appropriate template; the page will fill in with more data.

Step 4: Halfway down the page, click 'Zone File Editor' to open that template.

Step 5: Load your COA file.

Step 6: Click the 'Zone File' drop-down and select the appropriate file. The current zoning will overlay the COA image.

Step 7: Edit the zones as needed and save the zone file.

 


 

Error 6

OCR Template '{value}' was a match, but Zoned data generated one or more Attribute-processing errors

Description: The OCR process matched a zone file to your item, but the zoned data was found to contain one or more errors that must be corrected before the data is accepted into the network.

The solution for this is usually one of our existing Normalization Scripts.

Solution:

Step 1: Hover over the Configuration button at far upper-right and click 'Attributes'.

Step 2: Filter either the ID or Name column to find the row you need, and click the gear ('Edit Record') icon to open its 'Manage Attribute' page.

If you need more information at this point, go to the article 'Normalization Scripts for Import Templates in SC'.

Step 3: Let's say the problem attribute is "Absorption". In the 'Manage Attribute' page, look down to the bottom of the page - that's where you'll put your Norm Script. It's likely that, for this specific error, you'll simply need to use this one:

(dbo.TG_Micro_ReturnNumericValue('##INPUTVALUE##'))

manage_attribute.png

If you're typing it instead of copying, be sure to add single quotes, spaces, and double parentheses to your script exactly as in the example above! This script is designed to take the data captured in the problem Zone (the '**INPUTVALUE**'), apply a database routine which deletes characters other than the desired number itself, and put the result into your system.

 


 

Error 7

OCR Template Attribute count of '{value}' does not match the Zone Template count of '{value}'

Description: Either there are too many or too few zones drawn on the zone template, or one or more of the zones is at least partially lying outside the maximum COA margins.

Solution: Go into the Zone File Editor:

  • Find the un-zoned Attributes from the 'Mapped Attributes' drop-down and add zones to them.
  • In the zoning Editor, find any zones overlapping into the template's margins and move them as necessary.

 


 

Error 8

No Key Attributes found in source data

Description: The OCR Zoning process was unable to find any Key Attributes (exact identification Attributes) in the Zoned COA source-document data. See "Standard Key Attributes" in TraceGains for more Key Attributes information.

Solution: To correct problems reading Key Attributes, you must either:

  • Go to the item's TraceStation and set a few attributes as 'Key', or...
  • In the Zoning Editor on your zoning template and the COA, make sure the intended key attributes are zoned.

 


 

Error 9

Unable to create a COA because the Supplier Item is not active

Description: The item may not have been fully configured in the TraceGains Network, or at least is not set to 'Active' in the Items Supplied tab.

Solution: Item needs to be created in the 'Items Supplied' tab by first creating it in the TraceStation, UDD, and Tab Views, while also configuring attributes and business rules to the right values to be in-spec and active.

 


 

Error 10

Message did not contain any attachments to process

Description: No attached COA documents were found in the email message your supplier sent.

Solution: Look at the Item ID and then go to the COAs tab and find that Item ID. At the bottom of the page is an option to attach a COA that will be used to create a new template to be zoned.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request