{"id":25293,"date":"2022-10-28T09:58:33","date_gmt":"2022-10-28T09:58:33","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagex3\/?p=25293"},"modified":"2022-10-28T12:10:30","modified_gmt":"2022-10-28T12:10:30","slug":"refreshing-the-left-list-data-for-misc-windows-using-4gl-scripting-in-sage-x3","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2022\/10\/28\/refreshing-the-left-list-data-for-misc-windows-using-4gl-scripting-in-sage-x3\/","title":{"rendered":"Refreshing the Left-List data for misc. windows using 4GL scripting in Sage X3"},"content":{"rendered":"\n<p>In <a href=\"https:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\" rel=\"noreferrer noopener\">Sage X3<\/a>, one of the client\u2019s requirements was to get a left-list browser on a custom miscellaneous type window from where we were creating transactions in an unique way.<br>Since we know for left-lists an object needs to be linked in the browser tab of the window under development window, and the object requires a linked data table. However a miscellaneous type window doesn\u2019t flow the standard screen actions that of an object type window so all the standard object actions for refreshing the left-list\u2019s data don\u2019t work automatically here.<\/p>\n\n\n\n<p><strong>New Stuff:<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2022\/10\/11\/reorder-plan-function\/\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2022\/10\/11\/reorder-plan-function\/\" rel=\"noreferrer noopener\">Reorder Plan function<\/a><\/p>\n\n\n\n<p>We\u2019ll be referencing the following screen from Sage X3 for this:<\/p>\n\n\n\n<p>Script Editor: All &gt; Development &gt; Script Dictionary &gt; Scripts &gt; Script Editor (ADOTRT)<\/p>\n\n\n\n<p>Refer the screenshots for reference:<\/p>\n\n\n\n<p>Note: Below process is shown for an miscellaneous type window, for an object type window this is being automatically handled by Sage standard scripts.<\/p>\n\n\n\n<p>Step 1: Make sure that the linked table in the browser object is open within the screen. If not, then you\u2019ll have to open the table\/file first using the following snippet under the given Action event.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/10\/Code-snippet-for-Opening-file-table.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/10\/Code-snippet-for-Opening-file-table.png\" alt=\"Code snippet for Opening file (table)\"><\/a><\/center>\n<font size=\"2\"><center>Code snippet for Opening file (table)<\/center><\/font>\n\n\n\n<p>Syntax: If !Clalev( [F:{Table abbreviation}] ) : Local File {Table name} [ {Table abbreviation} ] : Endif<\/p>\n\n\n\n<p>Step 2: Next when the required table has been opened, we need to declare the below two label Action events. Refer the below code snippet for the reference:<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/10\/Code-snippet-for-Refreshing-the-Left-list-browser.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/10\/Code-snippet-for-Refreshing-the-Left-list-browser.png\" alt=\"Code snippet for Refreshing the Left-list browser\"><\/a><\/center>\n<font size=\"2\"><center>Code snippet for Refreshing the Left-list browser<\/center><\/font>\n\n\n\n<p>Here change the following things as per requirement:<br>[ZMVK] = Object linked table abbreviation<br>[ZSTKM] = Mask\/screen abbreviation<br>ZMVK0 = Table index<\/p>\n\n\n\n<p>Step 3: Calling the $REMPBOX label from anywhere within the code will result in refreshing the left-list browser.<\/p>\n\n\n\n<p>After following all the above steps, we\u2019ll be able to get our left-list browser refreshing done whenever using 4GL scripting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>About Us<\/strong><\/h2>\n\n\n\n<p>Greytrix \u2013 a globally recognized and one of the oldest Sage Development Partners is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience and expertise, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development, and implementation competence.<\/p>\n\n\n\n<p id=\"block-28013e99-0882-44c6-b705-7b16c85053b2\">Greytrix&nbsp;has some unique integration solutions developed for&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-crm\/\">Sage CRM<\/a>&nbsp;with Sage ERPs&nbsp;namely&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/\">Sage X3<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-intacct\/\">Sage Intacct<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-100-erp\/\">Sage 100<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-500-erp\/\">Sage 500<\/a>,&nbsp;and&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-300-erp\/\">Sage 300<\/a>. We also offer best-in-class&nbsp;Sage ERP&nbsp;and&nbsp;Sage CRM&nbsp;customization and development services&nbsp;to&nbsp;Business&nbsp;Partners,&nbsp;End&nbsp;Users, and Sage PSG worldwide. Greytrix&nbsp;helps in&nbsp;the migration of Sage CRM from&nbsp;Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes&nbsp;addons like&nbsp;&nbsp;Greytrix Business Manager,&nbsp;Sage CRM Project Manager,&nbsp;Sage CRM Resource Planner,&nbsp;Sage CRM Contract Manager,&nbsp;Sage CRM Event Manager,&nbsp;Sage CRM Budget Planner,&nbsp;Gmail Integration,&nbsp;Sage CRM Mobile Service Signature,&nbsp;Sage CRM CTI Framework.<\/p>\n\n\n\n<p id=\"block-4bc42a09-fb13-4598-8137-ce5f7b91ce28\">Greytrix is a recognized&nbsp;Sage Champion Partner&nbsp;for GUMU&#x2122; Sage X3 \u2013 Sage CRM integration listed on&nbsp;<a href=\"https:\/\/www.sage.com\/marketplace\/asb_ListingDetail?listingId=a1h24000007PC3aAAG\" target=\"_blank\" rel=\"noreferrer noopener\">Sage Marketplace<\/a>&nbsp;and Sage CRM \u2013 Sage Intacct integration listed on&nbsp;<a href=\"https:\/\/marketplace.intacct.com\/MPListing?lid=a2D0H000007kiHyUAI\" target=\"_blank\" rel=\"noreferrer noopener\">Sage Intacct Marketplace<\/a>. The&nbsp;<a href=\"https:\/\/www.greytrix.com\/gumu\/\" target=\"_blank\" rel=\"noreferrer noopener\">GUMU&#x2122; Cloud framework<\/a>&nbsp;by Greytrix forms the backbone of cloud integrations that are managed in real-time for the processing and execution of application programs at the click of a button.<\/p>\n\n\n\n<p id=\"block-76376301-1c3e-4250-8a09-727595a606f0\">For more information on our integration solutions, please contact us at&nbsp;<a href=\"mailto:sage@greytrix.com\">sage@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Sage X3, one of the client\u2019s requirements was to get a left-list browser on a custom miscellaneous type window from where we were creating transactions in an unique way.Since we know for left-lists an object needs to be linked in the browser tab of the window under development window, and the object requires a\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2022\/10\/28\/refreshing-the-left-list-data-for-misc-windows-using-4gl-scripting-in-sage-x3\/\">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":[20,2729,3644,3265,3643],"class_list":["post-25293","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","category-integration","tag-4gl","tag-code-snippet","tag-refreshing","tag-sagex3","tag-scripting"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/25293","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=25293"}],"version-history":[{"count":9,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/25293\/revisions"}],"predecessor-version":[{"id":25347,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/25293\/revisions\/25347"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=25293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=25293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=25293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}