{"id":1639,"date":"2012-10-23T06:14:39","date_gmt":"2012-10-23T06:14:39","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=1639"},"modified":"2018-09-11T06:32:21","modified_gmt":"2018-09-11T06:32:21","slug":"create-sales-orders-using-web-services-in-sage-x3","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2012\/10\/23\/create-sales-orders-using-web-services-in-sage-x3\/","title":{"rendered":"Create Sales Orders using Web services in Sage Enterprise Management"},"content":{"rendered":"<p>In our last blog, we had an overview of <a title=\"Access Sage X3 data from external applications through Web services\" href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2012\/10\/20\/access-sage-x3-data-from-external-applications-through-web-services\/\" target=\"_blank\" rel=\"noopener\">Web services in Sage X3<\/a>. Now we are going to dive in further into this topic and will see in detail, how we can create transactions like Purchase Order, Sales order, invoice etc. in Sage X3.<\/p>\n<p>To start with you must have all the pre-requisites as mentioned in our last blog. Once the systems and configuration are in place, we can start the process.<\/p>\n<p>First, we will have to create and publish the web service for Sales Order from \u201c<strong><em>Development <\/em><\/strong><strong><em>-&gt;<\/em><\/strong><strong><em> Processes <\/em><\/strong><strong><em>-&gt;<\/em><\/strong><strong><em> Processes <\/em><\/strong><strong><em>-&gt;<\/em><\/strong><strong><em> Web services<\/em><\/strong>\u201d<\/p>\n<p><strong><em>Check Product<\/em><\/strong>:\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\">Sage Enterprise Management Development Services<\/a><\/p>\n<p>Following is the brief on the fields on this screen:<br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2012\/10\/img_1.bmp\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-1641\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2012\/10\/img_1.bmp\" alt=\"\" \/><\/a><\/p>\n<ol>\n<li><strong>Publication name<\/strong>: This is the name of the web service that would be used to invoke this web service.<\/li>\n<li><strong>Type of Web service<\/strong>:<br \/>\n<strong>Object<\/strong>: A set of methods to create, modify or delete an X3 object record and also to execute buttons or menus linked to those objects, with certain conditions:<br \/>\nSales Orders, Customers, Products etc.<br \/>\n<strong>Subprogram<\/strong>: A method for calling an X3 subprogram (X3 code) declared in the Subprogram Dictionary, for example: Get a price list for a product\/customer combination or Get a product picture.<\/li>\n<li><strong><span style=\"text-decoration: underline;\">Definitions tab<\/span><\/strong>\n<ul>\n<li><strong>Object:\u00a0<\/strong>If the type of the web service is object then <em>Object <\/em>of the transaction or master needs to be specified.<\/li>\n<li><strong>Transaction:\u00a0<\/strong>Choice of the transaction for this object, which facilitates access of fields and action.<\/li>\n<li><strong>Invisible Fields:\u00a0<\/strong>Certain fields that do not appear on the screen but can be accessed through web services.<\/li>\n<li><strong>Processing:\u00a0<\/strong>If the object type is subprogram, then the processing for the subprogram is specified over here.<\/li>\n<li><strong>Subprogram:\u00a0<\/strong>Name of the subprogram (in the processing) to be accessed.<\/li>\n<\/ul>\n<\/li>\n<li><strong><span style=\"text-decoration: underline;\">Mapping tab:<\/span><\/strong><br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2012\/10\/img_2.bmp\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-1642\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2012\/10\/img_2.bmp\" alt=\"\" width=\"661\" height=\"665\" \/><\/a><br \/>\nThe mapping tab shows all the fields for the transaction or master that can be accessed through web service. You can select or deselect the fields to be made accessible.<\/li>\n<li><strong><span style=\"text-decoration: underline;\">Buttons:<\/span><\/strong><br \/>\n<strong>Publication:\u00a0<\/strong>This button is used to publish the web service. Make sure that the web service is published every time it is altered.<br \/>\nNow, let us create a Sales Order using the Web servers\u2019 web service tester:<br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2012\/10\/img_3.bmp\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-1640\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2012\/10\/img_3.bmp\" alt=\"\" \/><\/a><br \/>\n1. Put in the Web service name i.e. ORDER.<br \/>\n2.\u00a0Then enter the order number in the first key box. Click \u2018<strong><em>Read\u2019<\/em><\/strong>. You would get the result in the <strong><em>Reply<\/em><\/strong> box.<br \/>\n3. Copy the content of reply and paste it the <strong><em>Parameters <\/em><\/strong>box. Replace &lt;RESULT&gt; &lt;\/RESULT&gt; tag with &lt;PARAM&gt;&lt;\/PARAM&gt; tag.<br \/>\n4. Remove the Order number. Click on <strong><em>Create<\/em><\/strong>.<\/li>\n<\/ol>\n<p>You would get the details of the newly created order.<\/p>\n<p>I hope this blog was helpful in getting you started with the web services. Stay with us while do more interesting stuff using web services.<\/p>\n<p><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span><br \/>\n<a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a> \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<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>\u00a0caters to a wide range of Sage Enterprise Management (Sage X3) offerings \u2013 a Sage Business Cloud Solution. Our\u00a0unique GUMU&#x2122; integrations include <a href=\"https:\/\/www.greytrix.com\/product\/sage-crm\/gumu-sage-x3-integration\">Sage Enterprise Management (Sage X3) for Sage CRM<\/a>,\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Salesforce.com<\/a> and\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/magento-sage-integrations\/sage-x3-magento\">Magento eCommerce<\/a>\u00a0along with Implementation and Technical Support worldwide for <a href=\"https:\/\/www.greytrix.com\/africa\/product\/consulting\/implementation-planning\">Sage Enterprise Management (Sage X3)<\/a>. Currently we are <a href=\"https:\/\/www.greytrix.com\/africa\">Sage Enterprise Management Implementation Partner<\/a> in East Africa, Middles East, Australia, Asia.\u00a0We also offer best-in-class\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\">Sage X3 customization and development services<\/a>,\u00a0integrated applications such as <a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/pos-system\">POS<\/a> | <a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/warehouse-management-system\">WMS<\/a> | <a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/payment-gateway\">Payment Gateway<\/a> | <a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/shipping-system\">Shipping System<\/a> | <a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-integration-services\/business-intelligence\">Business Intelligence<\/a> | <a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/ecommerce-magento-integration\">eCommerce<\/a> and have developed add-ons such as <a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-add-ons\/catch-weight\">Catch \u2013 Weight <\/a>\u00a0and <a href=\"https:\/\/www.greytrix.com\/product\/sage-enterprise-management-add-ons\/letter-of-credit\">Letter of Credit<\/a> for Sage Enterprise Management to Sage business partners, end users and Sage PSG worldwide.<\/p>\n<p>Greytrix is a recognized <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> for GUMU&#x2122; Sage Enterprise Management \u2013 Sage CRM integration also listed on <a href=\"https:\/\/www.sage.com\/marketplace\/asb_ListingDetail?listingId=a1h24000007PC3aAAG\" target=\"_blank\" rel=\"noopener\">Sage Marketplace<\/a>; GUMU&#x2122; integration for Sage Enterprise Management \u2013 Salesforce is a 5-star app listed on <a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<\/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 our last blog, we had an overview of Web services in Sage X3. Now we are going to dive in further into this topic and will see in detail, how we can create transactions like Purchase Order, Sales order, invoice etc. in Sage X3. To start with you must have all the pre-requisites as\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2012\/10\/23\/create-sales-orders-using-web-services-in-sage-x3\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,11],"tags":[1102,1400,1562,2524,1839,1942,1964,1977,2523,2410],"class_list":["post-1639","post","type-post","status-publish","format-standard","hentry","category-sage-erp-x3","category-tips","tag-invoice","tag-order","tag-purchase","tag-sage-enterprise-management-technical-assistance","tag-sage-x3-blogs","tag-sage-x3-technical-assistance","tag-sage-x3-web-service","tag-sales","tag-web-services-in-sage-enterprise-management","tag-webservices"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/1639","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=1639"}],"version-history":[{"count":4,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/1639\/revisions"}],"predecessor-version":[{"id":15629,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/1639\/revisions\/15629"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=1639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=1639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=1639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}