{"id":30328,"date":"2024-11-29T05:50:58","date_gmt":"2024-11-29T05:50:58","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagex3\/?p=30328"},"modified":"2024-11-29T06:06:10","modified_gmt":"2024-11-29T06:06:10","slug":"adjusting-the-number-of-displayed-lines-in-the-view-queries-screen","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/11\/29\/adjusting-the-number-of-displayed-lines-in-the-view-queries-screen\/","title":{"rendered":"Adjusting the Number of Displayed Lines in the View Queries Screen"},"content":{"rendered":"\n<p>In the Reports module of <a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/sage-x3-erp\/\" rel=\"noreferrer noopener\">Sage X3<\/a>, there is a View Queries screen that enables users to search predefined data collections on screen. This functionality utilizes a graphical query tool designer, which is responsible for designing queries based on the SQL language.<\/p>\n\n\n\n<p>The graphical query tool designer includes a function to create screens that display the results of queries run on the database. It operates by temporarily extracting data from a table and presenting it on the screen.<\/p>\n\n\n\n<p>In sage recently a concern was raised by one of our client who reported an issue with fetching all lines in the report on the screen level. Despite transactions being visible on the main transaction screen, they were not displaying on the screen report.<\/p>\n\n\n\n<p>Path: All -&gt; Reports -&gt; Reports -&gt; View Queries<\/p>\n\n\n\n<p><strong>New Stuff:<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/11\/28\/manufacturing-dashboard-to-get-empty-location-details\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/11\/28\/manufacturing-dashboard-to-get-empty-location-details\/\" rel=\"noreferrer noopener\">Manufacturing Dashboard to get empty location details<\/a><\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/11\/Figure-1-View-Query-screen-1024x455.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/11\/Figure-1-View-Query-screen-1024x455.jpg\" alt=\"Figure 1 View Query screen\"><\/a><\/center>\n<font size=\"2\"><center>Figure 1 View Query screen<\/center><\/font>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/11\/Figure-2-Incomplete-output-of-query.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/11\/Figure-2-Incomplete-output-of-query.jpg\" alt=\"Figure 2 Incomplete output of query\"><\/a><\/center>\n<font size=\"2\"><center>Figure 2 Incomplete output of query<\/center><\/font>\n\n\n\n<p>As shown in Figure 1 and Figure 2, the on-screen report ZPTK001 has a total of 392 lines. However, only 100 lines are visible on the screen.<\/p>\n\n\n\n<p>To solve the above concern we have performed the below mentioned steps.<\/p>\n\n\n\n<p>Step 1: Navigate to Graphical query tool as the query is developed using it.<\/p>\n\n\n\n<p>Path: All -&gt;Setup -&gt;Usage -&gt; Reports -&gt; Graphical query tool<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/11\/Figure-3-Graphical-Query-tool-screen.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/11\/Figure-3-Graphical-Query-tool-screen.jpg\" alt=\"Figure 3 Graphical Query tool screen\"><\/a><\/center>\n<font size=\"2\"><center>Figure 3 Graphical Query tool screen<\/center><\/font>\n\n\n\n<p>On this screen, we have the &#8220;Number of Lines&#8221; field in the Advanced Tab, which is used to limit the number of records displayed in the output area. By default, this field is blank, which actually limits the output to 100, even if the query results contain more rows. This is done to help reduce the chance of performance issues.<\/p>\n\n\n\n<p>Step 2: To specify the desired value, enter it in the &#8220;Number of Lines&#8221; field in the Advanced Tab.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/11\/Figure-4-Increased-the-number-of-lines.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/11\/Figure-4-Increased-the-number-of-lines.jpg\" alt=\"Figure 4 Increased the number of lines\"><\/a><\/center>\n<font size=\"2\"><center>Figure 4 Increased the number of lines<\/center><\/font>\n\n\n\n<p>Here we\u2019ve change the Number of Lines field to value to 9999(max value that can be used) then validate the screen.<\/p>\n\n\n\n<p>Step 3: To navigate to view queries screen and again verify the output.<\/p>\n\n\n\n<p>Path: All -&gt; Reports -&gt; Reports -&gt; View Queries<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/11\/Figure-5-Complete-output-of-query.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/11\/Figure-5-Complete-output-of-query.jpg\" alt=\"Figure 5 Complete output of query\"><\/a><\/center>\n<font size=\"2\"><center>Figure 5 Complete output of query<\/center><\/font>\n\n\n\n<p>After increasing the number of lines, as depicted in Figure 5, we have successfully addressed the concern. Now, all 392 rows specified by the query are visible on the screen.<\/p>\n\n\n\n<p>Here we increase the number of lines as per requirement similarly, you can decrease the number of lines on the screen. By following these two simple steps, you can effortlessly adjust the number of lines displayed in the grid on screens.<\/p>\n\n\n[about_us_blog_common]\n","protected":false},"excerpt":{"rendered":"<p>In the Reports module of Sage X3, there is a View Queries screen that enables users to search predefined data collections on screen. This functionality utilizes a graphical query tool designer, which is responsible for designing queries based on the SQL language. The graphical query tool designer includes a function to create screens that display\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/11\/29\/adjusting-the-number-of-displayed-lines-in-the-view-queries-screen\/\">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":[8,13],"tags":[913,933,4318,3692,4316,4317],"class_list":["post-30328","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","category-integration","tag-graphical-query-tool","tag-grid","tag-increase","tag-issue","tag-number-of-lines","tag-view-queries"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/30328","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=30328"}],"version-history":[{"count":8,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/30328\/revisions"}],"predecessor-version":[{"id":30342,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/30328\/revisions\/30342"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=30328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=30328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=30328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}