{"id":28295,"date":"2024-02-12T11:23:49","date_gmt":"2024-02-12T11:23:49","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagex3\/?p=28295"},"modified":"2024-02-12T11:24:51","modified_gmt":"2024-02-12T11:24:51","slug":"how-to-execute-global-scripts-with-parameters-in-sei","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/02\/12\/how-to-execute-global-scripts-with-parameters-in-sei\/","title":{"rendered":"How to execute Global Scripts with parameters in SEI"},"content":{"rendered":"\n<p>In the last blog, we learned how to make global scripts. This blog will teach us how to make and use parameters.<\/p>\n\n\n\n<p><strong>Parameters:<\/strong><\/p>\n\n\n\n<p>The &#8220;Parameters&#8221; option shows all the parameters that are set up and can be used from the global scripts.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"244\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\"  src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-1024x244.png\" alt=\"\" class=\"wp-image-28296\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-1024x244.png 1024w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-300x71.png 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-768x183.png 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-1536x365.png 1536w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-660x157.png 660w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters.png 1618w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Fig.1 Parameters<\/figcaption><\/figure>\n\n\n\n<p><strong>Steps To create a new script parameter:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>In the upper left hand corner, click <img decoding=\"async\" width=\"22\" height=\"25\" src=\"\">\u00a0Create New Parameter.<\/li><li>Enter a unique Parameter Name and Description.<\/li><li>Click <img decoding=\"async\" width=\"21\" height=\"19\" src=\"\">\u00a0Create to finish. The new script parameter will appear in the first line of the list.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"244\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\"  src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-1-1024x244.png\" alt=\"\" class=\"wp-image-28297\" srcset=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-1-1024x244.png 1024w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-1-300x71.png 300w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-1-768x183.png 768w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-1-1536x365.png 1536w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-1-660x157.png 660w, https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2024\/02\/Fig.1-Parameters-1.png 1618w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Fig. 2 New Script Parameter<\/figcaption><\/figure>\n\n\n\n<p><strong>Steps To execute a script:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to <img loading=\"lazy\" decoding=\"async\" width=\"25\" height=\"22\" src=\"\">&nbsp;Env. &amp; Data Sources.<\/li><li>Follow the instructions to add a new environment to match the global script you just created.<\/li><li>Click <img loading=\"lazy\" decoding=\"async\" width=\"30\" height=\"26\" src=\"\">&nbsp;Execute Scripts.<\/li><li>Click Run to execute the script.<\/li><\/ul>\n\n\n\n<p><strong> <\/strong>In conclusion, executing Global Scripts with parameters in SEI is a powerful and flexible way to enhance the functionality of the Data Model Designer. It allows for more precise control and manipulation of data models, enabling users to tailor their operations to specific needs. The ability to define and apply parameters from global scripts further extends this flexibility, making SEI a robust tool for data management. As we continue to explore and understand its capabilities, we can leverage this feature to optimize our data handling tasks and improve efficiency.<\/p>\n\n\n\n<p><strong>About Us<\/strong><br><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>&nbsp;\u2013 a globally recognized Premier Sage Gold Development Partner is a one-stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development and implementation expertise.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>&nbsp;caters to a wide range of Sage Enterprise Management (Sage X3) offerings \u2013 a Sage Business Cloud Solution. Our&nbsp;unique GUMU&#x2122; integrations include&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-crm\/gumu-sage-x3-integration\">Sage Enterprise Management (Sage X3) for Sage CRM<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Salesforce.com<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/magento-sage-integrations\/sage-x3-magento\">Magento eCommerce<\/a>&nbsp;along with Implementation and Technical Support worldwide for&nbsp;<a href=\"https:\/\/www.greytrix.com\/africa\/product\/consulting\/implementation-planning\">Sage Enterprise Management (Sage X3)<\/a>. Currently we are&nbsp;<a href=\"https:\/\/www.greytrix.com\/africa\">Sage Enterprise Management Implementation Partner<\/a>&nbsp;in East Africa, Middles East, Australia, Asia.&nbsp;We also offer best-in-class&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\">Sage X3 customization and development services<\/a>,&nbsp;integrated applications such as&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/pos-system\">POS<\/a>&nbsp;|&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/warehouse-management-system\">WMS<\/a>&nbsp;|&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/payment-gateway\">Payment Gateway<\/a>&nbsp;|&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/shipping-system\">Shipping System<\/a>&nbsp;|&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/business-intelligence\">Business Intelligence<\/a>&nbsp;|&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/ecommerce-magento-integration\">eCommerce<\/a>&nbsp;and have developed add-ons such as&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-add-ons\/catch-weight\">Catch \u2013 Weight&nbsp;<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-add-ons\/letter-of-credit\">Letter of Credit<\/a>&nbsp;for Sage Enterprise Management to Sage business partners, end users and Sage PSG worldwide.<\/p>\n\n\n\n<p>Greytrix is a recognized&nbsp;<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2017\/07\/26\/greytrix-on-boards-sage-global-rockstar-isv-program-with-gumu-for-sage-crm-sage-x3-solution\/\">Sage Rockstar ISV Partner<\/a>&nbsp;for GUMU&#x2122; Sage Enterprise Management \u2013 Sage CRM integration also listed on&nbsp;<a href=\"https:\/\/www.sage.com\/marketplace\/asb_ListingDetail?listingId=a1h24000007PC3aAAG\" target=\"_blank\" rel=\"noreferrer noopener\">Sage Marketplace<\/a>; GUMU&#x2122; integration for Sage Enterprise Management \u2013 Salesforce is a 5-star app listed on&nbsp;<a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noreferrer noopener\">Salesforce AppExchange<\/a>.<\/p>\n\n\n\n<p>For more information on Sage X3 Integration and Services, please contact us at&nbsp;<a href=\"mailto:x3@greytrix.com\">x3@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the last blog, we learned how to make global scripts. This blog will teach us how to make and use parameters. Parameters: The &#8220;Parameters&#8221; option shows all the parameters that are set up and can be used from the global scripts. Steps To create a new script parameter: In the upper left hand corner,\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2024\/02\/12\/how-to-execute-global-scripts-with-parameters-in-sei\/\">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,5,3162,6,13,8,3642,9,10,2796,11],"tags":[3982,3981,3980],"class_list":["post-28295","post","type-post","status-publish","format-standard","hentry","category-configuration","category-features","category-greytrix","category-installation","category-integration","category-sage-erp-x3","category-sage-x3","category-sage-x3-consulting","category-standard","category-technical","category-tips","tag-executing-scripts-with-parameter-in-sei","tag-global-scripts-in-sei","tag-parameter-in-sei"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/28295","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=28295"}],"version-history":[{"count":5,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/28295\/revisions"}],"predecessor-version":[{"id":28349,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/28295\/revisions\/28349"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=28295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=28295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=28295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}