{"id":24620,"date":"2022-01-31T13:37:03","date_gmt":"2022-01-31T13:37:03","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=24620"},"modified":"2022-01-31T13:37:06","modified_gmt":"2022-01-31T13:37:06","slug":"product-code-and-description-automation","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2022\/01\/31\/product-code-and-description-automation\/","title":{"rendered":"Product Code and Description Automation"},"content":{"rendered":"\n<p>In <a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\" data-type=\"URL\" data-id=\"https:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\" target=\"_blank\">Sage X3<\/a>, we recently had a requirement to generate custom product code based on the product category, specifications selected by the user, and to generate product description based on the product code.<\/p>\n\n\n\n<p>Screen path:<br>Miscellaneous tables:<br>Development &#8211; &gt; Miscellaneous tables &#8211; &gt; Definition<br>Development &#8211; &gt; Miscellaneous tables &#8211; &gt; Data<br>Window:<br>Development -&gt; Script Dictionary-&gt; Windows -&gt;OITM<\/p>\n\n\n\n<p>Based on the product categories we had several specifications for each product which users capture in other details tab on Product master. Using these specification we need to generate Product code and descriptions. For which we first created Miscellaneous table definition and in the Miscellaneous Data of each table we created the category code and the specifications related to that category.<\/p>\n\n\n\n<p><strong>New Stuff:<\/strong> <a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2022\/01\/31\/how-to-repeat-group-header-on-each-page-in-crystal-reports\/\" data-type=\"URL\" data-id=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2022\/01\/31\/how-to-repeat-group-header-on-each-page-in-crystal-reports\/\" target=\"_blank\">How to repeat group header on each page in Crystal Reports<\/a><\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/01\/Other-Details-in-product-screen-1024x453.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/01\/Other-Details-in-product-screen-1024x453.png\" alt=\"Other Details in product screen\"><\/a><\/center>\n<font size=\"2\"><center>Other Details in product screen<\/center><\/font>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/01\/Miscellaneous-table-Data-1024x450.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/01\/Miscellaneous-table-Data-1024x450.png\" alt=\"Miscellaneous table Data\"><\/a><\/center>\n<font size=\"2\"><center>Miscellaneous table Data<\/center><\/font>\n\n\n\n<p>Once we created miscellaneous tables for all the specifications, we created a custom screen \u201cOther details\u201d which has all the fields of the specifications with the type as ADI.<\/p>\n\n\n\n<p>Once all the specification is selected from the \u201cOther Details\u201d tab in the Product screen, on creation, the Product code and description gets generated. To get the code we will use the \u201cShort description\u201d column and for the description we will use the \u201cDescription\u201d column present in the Miscellaneous table for each of that specification.<\/p>\n\n\n\n<p>Once the code and description are fetched, we programmatically concatenate the code and description. For example, in the \u201cOther Details\u201d tab we have selected the specifications as per the below image.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/01\/Other-Details-Output-after-selection-1024x252.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/01\/Other-Details-Output-after-selection-1024x252.png\" alt=\"Other Details Output after selection\"><\/a><\/center>\n<font size=\"2\"><center>Other Details Output after selection<\/center><\/font>\n\n\n\n<p>Based on the specification selected we will get the Product Code and the Product Description<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/01\/Generated-Product-Code-and-Product-Descriprion.-1024x296.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; align: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2022\/01\/Generated-Product-Code-and-Product-Descriprion.-1024x296.png\" alt=\"Generated Product Code and Product Description\"><\/a><\/center>\n<font size=\"2\"><center>Generated Product Code and Product Description<\/center><\/font>\n\n\n\n<p>This way we generated Product code and description using Miscellaneous tables.<\/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","protected":false},"excerpt":{"rendered":"<p>In Sage X3, we recently had a requirement to generate custom product code based on the product category, specifications selected by the user, and to generate product description based on the product code. Screen path:Miscellaneous tables:Development &#8211; &gt; Miscellaneous tables &#8211; &gt; DefinitionDevelopment &#8211; &gt; Miscellaneous tables &#8211; &gt; DataWindow:Development -&gt; Script Dictionary-&gt; Windows -&gt;OITM\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2022\/01\/31\/product-code-and-description-automation\/\">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":[13,8],"tags":[3556,1288,3554,3555,1822],"class_list":["post-24620","post","type-post","status-publish","format-standard","hentry","category-integration","category-sage-erp-x3","tag-automation","tag-miscellaneous-tables","tag-product-code","tag-product-description","tag-sage-x3"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/24620","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=24620"}],"version-history":[{"count":8,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/24620\/revisions"}],"predecessor-version":[{"id":24628,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/24620\/revisions\/24628"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=24620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=24620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=24620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}