{"id":21218,"date":"2024-03-11T15:48:40","date_gmt":"2024-03-11T14:48:40","guid":{"rendered":"https:\/\/help.openbee.com\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/consistency-index\/"},"modified":"2026-05-13T09:35:25","modified_gmt":"2026-05-13T07:35:25","slug":"consistency-index","status":"publish","type":"page","link":"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/consistency-index\/","title":{"rendered":"Consistency Index"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">General<\/h1>\n\n<p>The consistency index is a new type of index that has been introduced since version 4.7.0 of Capture.  <\/p>\n\n<p>This type of index allows a user to perform a consistency check between data detected on a document but also with data external to the application. Data external to the application can be directly modified within Capture and reused during scripted output<\/p>\n\n<p>It is composed mainly of two scripts. If you&#8217;d like a refresher on Capture&#8217;s scripted indexes, you can <a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/\">check out this page<\/a><\/p>\n\n<h1 class=\"wp-block-heading\">Configuration<\/h1>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"497\" height=\"334\" src=\"https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image.png\" alt=\"\" class=\"wp-image-20558\" srcset=\"https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image.png 497w, https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image-300x202.png 300w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/figure>\n\n<h2 class=\"wp-block-heading\">External Data Script<\/h2>\n\n<p>The purpose of this script is to fill the table that will be visible in the videocoding with data external to the software, which can come from a database, web services, files, etc. To work, this script must go through a Gateway<\/p>\n\n<p>This table is created dynamically via your script, it allows you to define the desired columns, as well as their type. You can also set drop-down lists in these columns<\/p>\n\n<p>The expected return of this script is a JSE_Datatable object. For more information on this object, you can <a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/objects\/jse_datatable\/\">visit this page<\/a><\/p>\n\n<h2 class=\"wp-block-heading\">Control Script<\/h2>\n\n<p>The purpose of this script is to display the data to the user when they arrive at the videocoding part. This script is in charge of displaying a status icon, and a message to the user allowing him to know the status of his consistency check<\/p>\n\n<p>The control must be implemented manually via the script, it can access the data detected on the document but also the data reported via the external data script mentioned above. For more information on data access, <a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/functions\/\">please visit this page<\/a>. And more specifically the &#8220;Special Consistency Index&#8221; part for external data<\/p>\n\n<p>The expected return of this script is a JSE_Consistency_Result object. For more information on this object, <a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/objects\/jse_consistency_result\/\">you can visit this page<\/a><\/p>\n\n<h1 class=\"wp-block-heading\">Videocoding<\/h1>\n\n<p>In videocoding, the control script is used to send information back to the user and is replayed when data with which it is linked (detected on the document or externally) is modified by the user. The button on the left side of the index takes you to the external data table.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"46\" src=\"https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image-1.png\" alt=\"\" class=\"wp-image-20560\" srcset=\"https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image-1.png 711w, https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image-1-300x19.png 300w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/figure>\n\n<p>When the button is pressed, the external data table appears<\/p>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"115\" src=\"https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image-2-1024x115.png\" alt=\"\" class=\"wp-image-20562\" srcset=\"https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image-2-1024x115.png 1024w, https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image-2-300x34.png 300w, https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image-2-768x86.png 768w, https:\/\/help.openbee.com\/wp-content\/uploads\/2024\/03\/image-2.png 1166w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<p>This data can then be changed by double-clicking on the desired box. It is also possible to add or remove a row by right-clicking<br\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>General The consistency index is a new type of index that has been introduced since version 4.7.0 of Capture. This type of index allows a user to perform a consistency check between data detected on a document but also with data external to the application. Data external to the application can be directly modified within [&hellip;]<\/p>\n","protected":false},"author":97,"featured_media":0,"parent":21191,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-21218","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/users\/97"}],"replies":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/comments?post=21218"}],"version-history":[{"count":2,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21218\/revisions"}],"predecessor-version":[{"id":29207,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21218\/revisions\/29207"}],"up":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21191"}],"wp:attachment":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/media?parent=21218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}