{"id":29103,"date":"2024-05-22T12:14:28","date_gmt":"2024-05-22T12:14:28","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagex3\/?p=29103"},"modified":"2024-05-22T12:16:24","modified_gmt":"2024-05-22T12:16:24","slug":"how-to-make-use-of-sage-x3s-dashboard-to-display-data-from-other-tables","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/05\/22\/how-to-make-use-of-sage-x3s-dashboard-to-display-data-from-other-tables\/","title":{"rendered":"How to make use of Sage X3 dashboard to display data from other tables"},"content":{"rendered":"\n<p>Retrieving data from a single table for the Sage X3 dashboard is straightforward. However, if you require data from multiple tables or linked tables, attempting to add a field from those tables triggers an error message: &#8220;Standard Query &#8216;QUERY_CODE&#8217;: Links not possible.&#8221; In our recent blog post, we&#8217;ve provided a clear solution to address this issue.<\/p>\n\n\n\n<p><strong><u>Step 1:<\/u> <\/strong>The error that appears when you add a field from a different table is as follows.<gwmw style=\"display:none;\"><\/gwmw><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"907\" height=\"452\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-1-Error-1_Linked-not-possible.jpg\" alt=\"\" class=\"wp-image-29104\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-1-Error-1_Linked-not-possible.jpg 907w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-1-Error-1_Linked-not-possible-300x150.jpg 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-1-Error-1_Linked-not-possible-768x383.jpg 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-1-Error-1_Linked-not-possible-660x329.jpg 660w\" sizes=\"(max-width: 907px) 100vw, 907px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><strong>Fig 1: Error 1_Linked not possible<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"934\" height=\"452\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-2-Error-2_Record-de-activated.jpg\" alt=\"\" class=\"wp-image-29105\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-2-Error-2_Record-de-activated.jpg 934w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-2-Error-2_Record-de-activated-300x145.jpg 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-2-Error-2_Record-de-activated-768x372.jpg 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-2-Error-2_Record-de-activated-660x319.jpg 660w\" sizes=\"(max-width: 934px) 100vw, 934px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><strong>Fig 2 Error 2_Record de-activated<\/strong><gwmw style=\"display: none; background-color: transparent;\"><\/gwmw><gwmw style=\"display:none;\"><\/gwmw><\/p>\n\n\n\n<p>This issue will appear when you add a field from another table without linking it to an existing table. To resolve it, save the flow and select &#8220;YES&#8221; when prompted. Your query tool will then be immediately deactivated. refer below image.<gwmw style=\"display:none;\"><\/gwmw><gwmw style=\"display:none;\"><\/gwmw><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"946\" height=\"219\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-3_Query-tool.jpg\" alt=\"\" class=\"wp-image-29106\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-3_Query-tool.jpg 946w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-3_Query-tool-300x69.jpg 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-3_Query-tool-768x178.jpg 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-3_Query-tool-660x153.jpg 660w\" sizes=\"(max-width: 946px) 100vw, 946px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><strong>Fig 3_Query tool<\/strong><\/p>\n\n\n\n<p>To activate and make tables usable, correctly link them using the &#8220;Link&#8221; section in the Advanced tab.<\/p>\n\n\n\n<p>Begin by incorporating the required fields from another table into the fields tab grid, as indicated in the following additions. This step simplifies the linking process and extends the functionality of the tables.<gwmw style=\"display:none;\"><\/gwmw><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"286\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-4_Fields.jpg\" alt=\"\" class=\"wp-image-29107\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-4_Fields.jpg 946w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-4_Fields-300x91.jpg 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-4_Fields-768x232.jpg 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-4_Fields-660x200.jpg 660w\" sizes=\"(max-width: 946px) 100vw, 946px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><strong>Fig 4_Fields<\/strong><gwmw style=\"display:none;\"><\/gwmw><\/p>\n\n\n\n<p>We&#8217;ve included the &#8216;TEXTE&#8217; field from the ATEXTRA table to showcase additional descriptions on the dashboard. This enhancement simplifies the process while expanding the information available for display.<\/p>\n\n\n\n<p><strong><u>Step 2 :<\/u><\/strong><\/p>\n\n\n\n<p>Once you&#8217;ve added the necessary fields from other tables, proceed to link them with the tables whose data or fields will be displayed on the dashboard. This step streamlines the process and broadens the scope of information available for display.<\/p>\n\n\n\n<p>To establish the connection between tables, you&#8217;ll require the index key of another table. Follow the process outlined below to effectively link the tables. This method simplifies the task and ensures seamless data integration.<gwmw style=\"display:none;\"><\/gwmw><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"168\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-5_Link-formulas.jpg\" alt=\"\" class=\"wp-image-29108\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-5_Link-formulas.jpg 946w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-5_Link-formulas-300x53.jpg 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-5_Link-formulas-768x136.jpg 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/05\/Fig-5_Link-formulas-660x117.jpg 660w\" sizes=\"(max-width: 946px) 100vw, 946px\" \/><\/figure>\n\n\n\n<p><gwmw style=\"display:none;\"><\/gwmw><gwmw style=\"display:none;\"><\/gwmw><\/p>\n\n\n\n<p>To link tables, navigate to the &#8220;Links&#8221; section found in the Advanced tab.<\/p>\n\n\n\n<p>Input the index key of the other table to establish a link between tables. For example, as shown in the image above, we&#8217;ve linked the PREQUIS table with the ATEXTRA table. This process streamlines data connectivity and facilitates seamless interaction between tables.<\/p>\n\n\n\n<p><strong><u>The data used for linking tables.<\/u><\/strong><\/p>\n\n\n\n<p><strong>Index key of ATEXTRA table :<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>[F:AXX]AXX0 = CODFIC + ZONE + LAN + IDENT1 + IDENT2<\/li>\n<\/ul>\n\n\n\n<p><strong>Value which we have passed :<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>[F:AXX]AXX0 = &#8216;ITMMASTER&#8217; ; &#8216;DES1AXX&#8217; ; &#8216;ENG&#8217; ; [F:PSD]ITMREF ; &#8221;<\/li>\n<\/ul>\n\n\n\n[F:AXX]AXX0&nbsp; = Index key of ATEXTRA table.<\/p>\n\n\n\n<p>ITMMASTER&nbsp;&nbsp; = It will display the data in which ITMMASTER is present in the field of CODFIC<\/p>\n\n\n\n<p>DES1AXX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = It will display the data in which DES1AXX is present in the field of ZONE<\/p>\n\n\n\n<p>ENG &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= It will display the data in which ENG is present in the field of LAN<\/p>\n\n\n\n<p>IDENT1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = It will display the data in which IDENT1 is present in the field of IDENT1<\/p>\n\n\n\n<p>IDENT2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = It will display the data in which IDENT2 is present in the field of IDENT2<\/p>\n\n\n\n<p>To link tables, use the index keys as demonstrated in the image.<\/p>\n\n\n\n<p>After inputting the index key details to link the tables, you should save and validate the query tool. If the linking is correct, no errors will be displayed. However, if there&#8217;s an issue, an error message indicating &#8220;Links not possible&#8221; will appear. This step ensures the integrity of the linking process and identifies any potential errors for resolution.<\/p>\n\n\n\n<p>Once you&#8217;ve successfully validated the query tool without encountering any errors, log out of Sage X3 and then log back in. Upon logging in again, you&#8217;ll find the required fields that you added from another table through linking data with index keys. This process ensures that the modifications made to the data display are properly reflected after re-logging into the system.<\/p>\n\n\n\n<p>Now, you can view the necessary data from another table that you added to the fields of the query tool. You have successfully accessed the fields and data you needed.<gwmw style=\"display:none;\"><\/gwmw><\/p>\n\n\n\n<p><gwmw style=\"display:none;\"><\/gwmw><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Retrieving data from a single table for the Sage X3 dashboard is straightforward. However, if you require data from multiple tables or linked tables, attempting to add a field from those tables triggers an error message: &#8220;Standard Query &#8216;QUERY_CODE&#8217;: Links not possible.&#8221; In our recent blog post, we&#8217;ve provided a clear solution to address this\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/05\/22\/how-to-make-use-of-sage-x3s-dashboard-to-display-data-from-other-tables\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3,4,5,3162,7,8,3642,9,10,2796,11],"tags":[496,497,4089,4167,1822,1839,3211,1943,2233,3735],"class_list":["post-29103","post","type-post","status-publish","format-standard","hentry","category-configuration","category-debug","category-faq","category-features","category-greytrix","category-miscellaneous-tables","category-sage-erp-x3","category-sage-x3","category-sage-x3-consulting","category-standard","category-technical","category-tips","tag-dashboard","tag-data","tag-display","tag-other","tag-sage-x3","tag-sage-x3-blogs","tag-sage-x3-functional-blog","tag-sage-x3-technical-blog","tag-tables","tag-x3-blogs"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/29103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/comments?post=29103"}],"version-history":[{"count":3,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/29103\/revisions"}],"predecessor-version":[{"id":29111,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/29103\/revisions\/29111"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=29103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=29103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=29103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}