{"id":29411,"date":"2024-06-28T07:16:34","date_gmt":"2024-06-28T07:16:34","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagex3\/?p=29411"},"modified":"2024-06-28T07:16:34","modified_gmt":"2024-06-28T07:16:34","slug":"how-can-we-add-new-fields-to-the-inquiries-screen-without-using-standard-lecture-code","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/06\/28\/how-can-we-add-new-fields-to-the-inquiries-screen-without-using-standard-lecture-code\/","title":{"rendered":"How can we add new fields to the Inquiries screen without using standard lecture code"},"content":{"rendered":"\n<p>In Sage X3, the inquiries screen refers to a user interface where users can view and analyze data stored in the system. This screen typically provides a way for users to query and retrieve information about various aspects of the business, such as sales orders, purchase orders, inventory levels, customer information, supplier information, and financial data. The inquiries screen often includes search filters, customizable columns, and options to drill down into details for deeper analysis. It serves as a central hub for accessing critical business data and gaining insights into different operations within the organization.<\/p>\n\n\n\n<p>Here&#8217;s a step-by-step description of how we can add new fields to the Inquiries screens, such as Stock by site, Stock by product, Stock by lot, Detailed stock, Obsolete stock, Available stock, Dedicated location, Stock to count, etc., without using standard lecture code in Sage X3 :<\/p>\n\n\n\n<p><strong>STEP-1<\/strong><\/p>\n\n\n\n<p>As shown in the screenshot below, we have added the field &#8216;Description 4&#8217; on the stock to count inquiry screen. First, we need to add the field on the stock to count screen. Go to Development &gt;&gt; Screen &gt;&gt; Enter new field &gt;&gt; Save &gt;&gt; Validate the screen. Refer to the screenshot below as Fig. 1.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"446\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\"  src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig1.-Screen-dictionary-1024x446.png\" alt=\"\" class=\"wp-image-29412\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig1.-Screen-dictionary-1024x446.png 1024w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig1.-Screen-dictionary-300x131.png 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig1.-Screen-dictionary-768x334.png 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig1.-Screen-dictionary-660x287.png 660w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig1.-Screen-dictionary.png 1202w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\"><strong>\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Fig1. Screen dictionary<\/strong><\/p>\n\n\n\n<p><strong>STEP-2<\/strong><\/p>\n\n\n\n<p>As shown in the screenshot below, open the window management screen of stock to count and jump to the Inquiry screen. Go to Development &#8212;&gt;&gt; Window &#8212;&gt;&gt; Jump to the Inquiry. Refer to the screenshot below as Fig. 2.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"918\" height=\"539\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\"  src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig2.-Window-management.png\" alt=\"\" class=\"wp-image-29413\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig2.-Window-management.png 918w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig2.-Window-management-300x176.png 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig2.-Window-management-768x451.png 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig2.-Window-management-660x388.png 660w\" sizes=\"(max-width: 918px) 100vw, 918px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><strong>\u00a0 Fig2. Window management<\/strong><\/p>\n\n\n\n<p><strong>STEP-3<\/strong><\/p>\n\n\n\n<p>As shown in the screenshot below, The inquiries screen is open . We need to jum to the defauly screen code, its a standard screen . Refer to the screenshot below as Fig. 3.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"920\" height=\"550\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\"  src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig3.-Inquiries-screen.png\" alt=\"\" class=\"wp-image-29414\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig3.-Inquiries-screen.png 920w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig3.-Inquiries-screen-300x179.png 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig3.-Inquiries-screen-768x459.png 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig3.-Inquiries-screen-660x395.png 660w\" sizes=\"(max-width: 920px) 100vw, 920px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><strong>\u00a0 Fig3. Inquiries screen<\/strong><\/p>\n\n\n\n<p><strong>STEP-4<\/strong><\/p>\n\n\n\n<p>As shown in the screenshot below, we need to set the sequence number of description 4 filed. We set the order number where we want to be set on the stock to count screen. Here we set the order number of description 4 field . Refer to the screenshot below as Fig. 4.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"549\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\"  src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig4.-Default-STD-Screen.png\" alt=\"\" class=\"wp-image-29415\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig4.-Default-STD-Screen.png 900w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig4.-Default-STD-Screen-300x183.png 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig4.-Default-STD-Screen-768x468.png 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig4.-Default-STD-Screen-660x403.png 660w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Fig4. Default STD Screen<\/strong><\/p>\n\n\n\n<p>When all the process is completed. Validate the inquiries screen, Defualt screen, and stock to count window.<\/p>\n\n\n\n<p><strong>STEP-5<\/strong><\/p>\n\n\n\n<p>As shown in the screenshot below. After that we follow the all the steps are step by step , the successfully added the new fields Description 4 on the stock to count inquiry screen .<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"455\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\"  src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/field-added-1024x455.png\" alt=\"\" class=\"wp-image-29416\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/field-added-1024x455.png 1024w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/field-added-300x133.png 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/field-added-768x341.png 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/field-added-660x293.png 660w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/field-added.png 1190w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p class=\"has-text-align-center\"><strong> Fig5.Field added<\/strong><\/p>\n\n\n\n<p><strong>STEP-6<\/strong><\/p>\n\n\n\n<p>As shown in the screenshot below, open the stock to count inquiries script file, such as &#8216;CNSSIISPE&#8217;, which is a standard script file. We need to write the code to display the product description 4 on the screen when the user selects the product site, from product, to product, and clicks on the search button. All the data regarding the product with the newly added Description 4 field will be displayed. We need to use the AV_AFFICHE action to display the data on the newly added field. Refer to the screenshots below as Fig. 6. The AV_AFFICHE action is used to display the data on the newly added field.<\/p>\n\n\n\n<p>The data display code is written in the inquiry script file such as &#8216;CNSSIISPE&#8217;, which is the stock to count inquiry script file name.<\/p>\n\n\n\n<p>&lt;&lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&gt;&gt;<\/p>\n\n\n\n<p>$ACTION<\/p>\n\n\n\n<p>&nbsp;Case ACTION<\/p>\n\n\n\n<p>&nbsp; When &#8220;AV_AFFICHE&#8221; :Gosub AV_AFFICHE<\/p>\n\n\n\n<p>&nbsp;Endcase<\/p>\n\n\n\n<p>Return<\/p>\n\n\n\n<p>$AV_AFFICHE<\/p>\n\n\n\n<p>##Here&nbsp; we can write the code to display Product Description 4 on the grid.<\/p>\n\n\n\n<p>Return<\/p>\n\n\n\n<p>&lt;&lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&gt;&gt;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"472\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\"  src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig6.-Stock-to-count-1024x472.png\" alt=\"\" class=\"wp-image-29417\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig6.-Stock-to-count-1024x472.png 1024w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig6.-Stock-to-count-300x138.png 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig6.-Stock-to-count-768x354.png 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig6.-Stock-to-count-660x304.png 660w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/06\/Fig6.-Stock-to-count.png 1212w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-text-align-center\"><strong>\u00a0Fig6. Stock to count<\/strong><\/p>\n\n\n\n<p>This blog helps us understand how to add the new fileds on the all the inquiries screen such as a Stock by site,stock by product,stock by lot , detailed stock,obsolete stock, available stock.dedicated location , stock to count etc. Sage X3.<\/p>\n\n\n\n<p> .<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Sage X3, the inquiries screen refers to a user interface where users can view and analyze data stored in the system. This screen typically provides a way for users to query and retrieve information about various aspects of the business, such as sales orders, purchase orders, inventory levels, customer information, supplier information, and financial\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/06\/28\/how-can-we-add-new-fields-to-the-inquiries-screen-without-using-standard-lecture-code\/\">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,4,5,3162,13,7,8,3642,9,10,2796,11],"tags":[48,4237,4235,1073,1780,1822,1839,2871,1942,1945,2020,4236,2413],"class_list":["post-29411","post","type-post","status-publish","format-standard","hentry","category-configuration","category-faq","category-features","category-greytrix","category-integration","category-miscellaneous-tables","category-sage-erp-x3","category-sage-x3","category-sage-x3-consulting","category-standard","category-technical","category-tips","tag-action","tag-av_affiche","tag-inquiries","tag-inquiry","tag-sage-erp-x3","tag-sage-x3","tag-sage-x3-blogs","tag-sage-x3-functional-blogs","tag-sage-x3-technical-assistance","tag-sage-x3-technical-blogs","tag-screen","tag-stcok-to-count","tag-window"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/29411","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=29411"}],"version-history":[{"count":2,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/29411\/revisions"}],"predecessor-version":[{"id":29419,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/29411\/revisions\/29419"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=29411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=29411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=29411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}