{"id":8604,"date":"2016-04-29T09:03:40","date_gmt":"2016-04-29T09:03:40","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=8604"},"modified":"2021-08-04T07:32:42","modified_gmt":"2021-08-04T07:32:42","slug":"how-to-use-local-menu-message-through-coding","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/04\/29\/how-to-use-local-menu-message-through-coding\/","title":{"rendered":"How to use Local Menu Message through Coding?"},"content":{"rendered":"<p style=\"text-align: justify;\">In Sage X3, we may have to display a particular message for several times based on the certain condition. We can define such frequently used messages in a local menu and can access them through coding.<\/p>\n<p style=\"text-align: justify;\">To access the message defined in a local menu in coding, Sage X3 provides an inbuilt function:<\/p>\n<p style=\"text-align: justify;\"><strong><em>mess(exp_num, exp_chap, exp_lan)<\/em><\/strong><\/p>\n<p style=\"text-align: justify;\">where,<\/p>\n<p style=\"text-align: justify;\"><strong><em>exp_num<\/em><\/strong>: Number of the message in the section.<\/p>\n<p style=\"text-align: justify;\"><strong><em>exp_chap<\/em><\/strong>: Integer expression giving the number of the message section.<\/p>\n<p style=\"text-align: justify;\"><strong><em>exp_lan<\/em><\/strong>: Integer expression indicating which message file should be used.<\/p>\n<p style=\"text-align: justify;\"><strong><em>mess:<\/em><\/strong> Gives access to Adonix service messages or those which may have been specifically defined for the application. Message files are arranged in sections with a group of messages for each chapter.<\/p>\n<p style=\"text-align: justify;\">&#8211; The value 0 will be given to exp_lan to access the Adonix message file and value 1 otherwise; this argument is optional and is set 0 by default. The text of the message depends on the language used.<\/p>\n<p style=\"text-align: justify;\">&#8211; The result is a Char type.<\/p>\n<p style=\"text-align: justify;\">For e.g,<\/p>\n<ol style=\"text-align: justify;\">\n<li>Display message &#8216;Please wait, printing in progress&#8217;<br><strong><em>Infbox mess (24, 2)<\/em><\/strong><\/li>\n<\/ol>\n<p style=\"text-align: justify;\">It will display title of the second section, defined in the file.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/04\/Local-Menu-Display-Message.png\"><img target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;class=\" aligncenter=\"\" wp-image-8605\"=\"\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/04\/Local-Menu-Display-Message.png\" alt=\"Local Menu Display Message\" width=\"315\" height=\"113\"><\/a><\/p>\n<ol style=\"text-align: justify;\" start=\"2\">\n<li>Application message (for a set of texts this will be the list of input characters)<br><strong><em>Infbox mess<\/em><\/strong> <strong><em>(2, 0, 1)<\/em><\/strong><\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/04\/Local-Menu-Application-message.png\"><img target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;class=\" aligncenter=\"\" wp-image-8606\"=\"\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/04\/Local-Menu-Application-message.png\" alt=\"Local Menu Application message\" width=\"315\" height=\"125\"><\/a><\/p>\n<p><\/p>\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","protected":false},"excerpt":{"rendered":"<p>In Sage X3, we may have to display a particular message for several times based on the certain condition. We can define such frequently used messages in a local menu and can access them through coding. To access the message defined in a local menu in coding, Sage X3 provides an inbuilt function: mess(exp_num, exp_chap,\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/04\/29\/how-to-use-local-menu-message-through-coding\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,8,10],"tags":[1822,1905,1942,1945,1947],"class_list":["post-8604","post","type-post","status-publish","format-standard","hentry","category-features","category-sage-erp-x3","category-standard","tag-sage-x3","tag-sage-x3-local-menu-message","tag-sage-x3-technical-assistance","tag-sage-x3-technical-blogs","tag-sage-x3-technical-issues"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/8604","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/comments?post=8604"}],"version-history":[{"count":1,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/8604\/revisions"}],"predecessor-version":[{"id":23002,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/8604\/revisions\/23002"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=8604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=8604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=8604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}