{"id":3749,"date":"2017-04-24T19:47:09","date_gmt":"2017-04-24T19:47:09","guid":{"rendered":"http:\/\/certek.com\/kb4\/?p=3749"},"modified":"2023-06-14T14:28:53","modified_gmt":"2023-06-14T18:28:53","slug":"importing-upc-codes","status":"publish","type":"ht_kb","link":"https:\/\/certek.com\/kb4\/knowledge-base\/importing-upc-codes\/","title":{"rendered":"Importing UPC Codes"},"content":{"rendered":"<p><strong>When you import UPC codes into Artisan, there are a few important tips to make it work perfectly.<\/strong><\/p>\n<ol>\n<li>UPC Codes are from the manufacturer and are supposed to be unique.<\/li>\n<li>We think of the UPC code in 3 parts. The <strong>system digit<\/strong>, the <strong>middle<\/strong> (10 digits), and the <strong>check digit<\/strong>, for a total of 12 digits. There are a few exceptions to this for certain products (like candy and soda).<\/li>\n<li>Bar code scanners can be programmed to optionally read the system digit and\/or the check digit. The Symbol scanners that CerTek sells are programmed by default to read (transmit) both the system digit and the check digit.<\/li>\n<li><strong>The UPC field and the programming of the scanner must match.<\/strong> For example, if you include the check digit in the UPC field in Artisan, then the scanner must read the check digit. The opposite is also true. If you don&#8217;t have a check digit in your data, then the reader is not programmed to read the check digit.<\/li>\n<li>The most common portion of the UPC code to omit from manufacturers is the <strong>Check Digit<\/strong>.<\/li>\n<li>Because data may come from multiple sources and there does not seem to be 100% consensus on what the proper way is, users often get a mixed set of data. There are two ways to correct this problem. You can add the check digit using Excel <strong>BEFORE<\/strong> you import it into Artisan, or have CerTek staff add the check digit to your Artisan data <strong>AFTER<\/strong> it has been imported.<\/li>\n<li>In Excel, you can use the following:<br \/>\n=MOD(10-MOD(SUMPRODUCT(&#8211;(MID(A1,{1,3,5,7,9,11},1)))*3+SUMPRODUCT(&#8211;(MID(A1,{2,4,6,8,10},1))),10),10)<\/li>\n<li>Type the 11-digit code in cell A1, and enter this formula in A2 (replicate the formula by copying down).<\/li>\n<li>The formula may be modified for 12- or 13-digit codes by\u2002adding integers (odd or even) within the<br \/>\nbrackets { } as appropriate. Use CONCATENATE to add the two text strings together in A3. Then, you&#8217;re done.<\/li>\n<li><span style=\"text-decoration: underline;\">CerTek Staff<\/span> can perform the following incantation in what we call Magic Mode:<br \/>\nreplace all upc with add_ucc_check_digit(upc)<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>When you import UPC codes into Artisan, there are a few important tips to make it work perfectly. UPC Codes are from the manufacturer and are supposed to be unique. We think of the UPC code in 3 parts. The system digit, the middle (10 digits), and the check digit,&#8230;<\/p>\n","protected":false},"author":11,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_eb_attr":"","_monsterinsights_skip_tracking":false,"footnotes":"","_members_access_role":[],"_members_access_error":""},"ht-kb-category":[353],"ht-kb-tag":[],"class_list":["post-3749","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-import-or-export-data"],"_links":{"self":[{"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb\/3749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/comments?post=3749"}],"version-history":[{"count":5,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb\/3749\/revisions"}],"predecessor-version":[{"id":8812,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb\/3749\/revisions\/8812"}],"wp:attachment":[{"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/media?parent=3749"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb-category?post=3749"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb-tag?post=3749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}