{"id":9211,"date":"2016-08-23T11:03:46","date_gmt":"2016-08-23T11:03:46","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=9211"},"modified":"2016-08-23T11:03:46","modified_gmt":"2016-08-23T11:03:46","slug":"was-web-service","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/08\/23\/was-web-service\/","title":{"rendered":"WAS Web service in Sage Enterprise Management"},"content":{"rendered":"<p style=\"text-align: justify;\">In Sage X3, sometimes we need to expand the functionality of the core Sage X3 solution with the required customizations to reach the desired goal. These customized new products are known as Add-ons. WAS web service is an add-on, which comes with a number of extra features, other than the normal web services.<\/p>\n<p><span style=\"color: #c71d22; font-size: 13pt;\"><strong>Key Points<\/strong><\/span><\/p>\n<ul>\n<li>Broadly, an interface is mainly used for &#8220;Generated access to Table&#8221; and &#8220;Generated access to view&#8221; type.<\/li>\n<li>It gives us the ability to sort the desired fields, which is not possible in the normal web services.<\/li>\n<li>The filter can be applied to the resulted columns of the web service.<\/li>\n<li>Here we get the total number of records.<\/li>\n<\/ul>\n<p><em>\u00a0<\/em>To create a WAS web service, perform the following steps:<\/p>\n<ol>\n<li><span style=\"text-decoration: underline;\"><strong>Creation of Website:<\/strong><\/span><\/li>\n<\/ol>\n<p>The first step is to create a new website for the particular web service. To do so, navigate to:<\/p>\n<p>DEVELOPMENT-&gt; SAFE X3 WAS -&gt; WEBSITES-&gt; WEBSITES<\/p>\n<p><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/08\/Creatie-Website.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-9212\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/08\/Creatie-Website.png\" alt=\"Creatie Website\" width=\"531\" height=\"246\" \/><\/a><\/p>\n<p><strong>NOTE:<\/strong> You can also use an existing website if required.<\/p>\n<p>To select the desired website, navigate to:<\/p>\n<p>DEVELOPMENT-&gt; SAFE X3 WAS -&gt; WEBSITES-&gt; SELECT<\/p>\n<p><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/08\/WAS.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-9213\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/08\/WAS.png\" alt=\"WAS\" width=\"168\" height=\"113\" \/><\/a><\/p>\n<ol start=\"2\">\n<li><span style=\"text-decoration: underline;\"><strong>Creation of Interface.<\/strong><\/span><\/li>\n<\/ol>\n<ul>\n<li>Create an interface, and enter the name in the <strong>Interface Code<\/strong> field.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/08\/WAS-interface.png\"><img decoding=\"async\" class=\"aligncenter wp-image-9214\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/08\/WAS-interface.png\" alt=\"WAS interface\" width=\"531\" height=\"387\" \/><\/a><\/p>\n<ul>\n<li>Choose the type of interface from the selection <strong>Interface type<\/strong>.<\/li>\n<li>Fill the <strong>Table Code<\/strong> field as per the interface type selected. Since we have used <strong>Generated access to Table<\/strong> in the above example, we have entered the table required in the Table Code field.<\/li>\n<li>In the <strong>SUB <\/strong>Program section, the <strong>Processing<\/strong> and <strong>Sub-program<\/strong> fields will automatically be populated based on the entries.<\/li>\n<li>Publication name field in the <strong>PUBLICATION<\/strong> section is editable, and this will be the name of your web server.<\/li>\n<li>On creation, the <strong>Generate access<\/strong> button gets enabled.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/08\/generate-web-service.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9215\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2016\/08\/generate-web-service.png\" alt=\"generate web service\" width=\"531\" height=\"390\" \/><\/a><br \/>\nIt gets access to set max no of lines. (NOTE: cannot exceed 9999)<\/p>\n<ul>\n<li>The interface column now displays a list of the fields. These fields are based on the table fields entered by you earlier. You can choose the ones for which you want the outcome of the web services.<\/li>\n<li>Validate the interface<\/li>\n<\/ul>\n<p><strong><em>Go to the respective web service:<\/em><\/strong><\/p>\n<ol>\n<li>Go to mapping tab, there we will find 10 new fields other than the ones we have selected in the Interface.<\/li>\n<\/ol>\n<p>Fields with their descriptions are given below:<\/p>\n<table style=\"border: 1px solid black; height: 282px;\" width=\"368\">\n<tbody>\n<tr>\n<td style=\"border: 1px solid black; text-align: center;\">SETUP<\/td>\n<td style=\"border: 1px solid black; text-align: center;\">GROUP<\/td>\n<td style=\"border: 1px solid black; text-align: center;\">DESCRIPTION<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">AXPARCOD<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">AX_PAR<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">X3 context variable code<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">AXPARVAL<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">AX_PAR<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">X3 context variable value<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">AXWHRLFTBRK<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">AX_WHR<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">Level of opening brackets<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">AXWHRCOD<\/td>\n<td style=\"border: 1px solid black;\">AX_WHR<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">Name of the selection criteria<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">AXWHROPE<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">AX_WHR<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">Comparison operator<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">AXWHRCODVAL<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">AX_WHR<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">Value of the selection criteria<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">AXWHRRGTBRK<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">AX_WHR<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">Level of closing brackets<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">AXWHRANDOR<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">AX_WHR<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">Sequence logical operator<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">AXORDCOD<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">AX_ORD<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">Name of the sort criteria<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">AXORDTYP<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">AX_ORD<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">Value of the sort criteria<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">FIELD1<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">RES<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">Fields for the recordings returned by the web service<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid black; text-align: left;\">FIELD2<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">RES<\/td>\n<td style=\"border: 1px solid black; text-align: left;\">Fields for the recordings returned by the web service<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Now once we have done the creation, WAS web service is ready to be tested.<\/p>\n<p>Hope this blog helps!<\/p>\n<p><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span><br \/>\nGreytrix is a one-stop solution provider for Sage ERP and Sage CRM needs. We provide 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<p><a href=\"http:\/\/www.greytrix.com\/\">Greytrix<\/a>\u00a0has some unique solutions of\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/sage-crm\/gumu-sage-x3-integration\">Sage X3 integration with Sage CRM<\/a>,\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Salesforce.com<\/a>, and\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/magento-sage-integrations\/sage-x3-magento\">Magento eCommerce<\/a>\u00a0along with Sage X3 migration from Sage 50 US, Sage Pro, and QuickBooks. \u00a0We also offer best-in-class\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\">Sage X3 customization and development services<\/a>\u00a0to Sage business partners, end users, and Sage PSG worldwide.<\/p>\n<p>For more information on Sage X3 Integration and Services, please contact us at\u00a0<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 Sage X3, sometimes we need to expand the functionality of the core Sage X3 solution with the required customizations to reach the desired goal. These customized new products are known as Add-ons. WAS web service is an add-on, which comes with a number of extra features, other than the normal web services. Key Points\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2016\/08\/23\/was-web-service\/\">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":[8],"tags":[924,1824,1839,1942,1945,1947,2395],"class_list":["post-9211","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","tag-greytrix-blogs","tag-sage-x3-add-ons","tag-sage-x3-blogs","tag-sage-x3-technical-assistance","tag-sage-x3-technical-blogs","tag-sage-x3-technical-issues","tag-was-web-service"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/9211","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=9211"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/9211\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=9211"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=9211"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=9211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}