{"id":22566,"date":"2021-05-28T09:46:22","date_gmt":"2021-05-28T09:46:22","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=22566"},"modified":"2021-05-28T09:46:24","modified_gmt":"2021-05-28T09:46:24","slug":"how-to-save-data-in-custom-fields-using-classes-concept-in-sage-x3","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2021\/05\/28\/how-to-save-data-in-custom-fields-using-classes-concept-in-sage-x3\/","title":{"rendered":"How to save data in custom fields using Classes Concept in Sage X3"},"content":{"rendered":"\n<p>Whenever we add a new field in any screen of the <a 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\" rel=\"noreferrer noopener\">Sage X3<\/a>, we should keep in mind that the data entered in the field should be saved in the backend, if data is not getting saved in the backend then generally we handle this situation by adding lines of code into the script, but for order pre-receipt screen the scenario is different.<\/p>\n\n\n\n<p>If you have added a field in order pre-receipt screen and the data entered in the field is not getting saved in the database then we can handle this scenario by following the below mentioned steps.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Navigate to All -&gt; Development -&gt; Data and parameters -&gt; Tables<\/li><\/ol>\n\n\n\n<p><strong>New Stuff:<\/strong> <a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2021\/05\/28\/quarantine-label-in-sage-x3\/\" data-type=\"URL\" data-id=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2021\/05\/28\/quarantine-label-in-sage-x3\/\" target=\"_blank\">Quarantine Label in Sage X3<\/a><\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2021\/05\/Table-Dictionary-1024x357.jpg\" 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\/2021\/05\/Table-Dictionary-1024x357.jpg\" alt=\"Table Dictionary\"><\/a><\/center>\n<font size=\"2\"><center>Table Dictionary<\/center><\/font>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Navigate to All -> Development -> Script dictionary -> Screens<br>We will add these two fields in the Order pre-receipt screen and validate the screen.<\/li><\/ol>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2021\/05\/Screen-Dictionary-1024x419.jpg\" 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\/2021\/05\/Screen-Dictionary-1024x419.jpg\" alt=\"Screen Dictionary\"><\/a><\/center>\n<font size=\"2\"><center>Screen Dictionary<\/center><\/font>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Navigate to All -&gt; Development -&gt; Script dictionary -&gt; Windows. Validate the window. After Global validation, Navigate to Development -&gt; Data and parameters -&gt; Classes<\/li><\/ol>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2021\/05\/Path-for-Classes.jpg\" 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\/2021\/05\/Path-for-Classes.jpg\" alt=\"Path for Classes\"><\/a><\/center>\n<font size=\"2\"><center>Path for Classes<\/center><\/font>\n\n\n\n<p>The class code will be the name of table where you have added the fields .<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Now add ZLRD and ZVECN field in the property tab of classes.<br>Then validate the same.<\/li><\/ol>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2021\/05\/Classes-1024x294.jpg\" 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\/2021\/05\/Classes-1024x294.jpg\" alt=\"Classes\"><\/a><\/center>\n<font size=\"2\"><center>Classes<\/center><\/font>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>After this, navigate to Purchasing -> Receipt -> order pre-receipt<br>Enter data into the Vehicle No and LR Date Field and save. You can see, now data is getting saved properly. <\/li><\/ol>\n\n\n\n<p>In this way, we can handle the issue if the data entered in any field is not getting saved in the order -re-receipt screen using classes concept.<\/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>Whenever we add a new field in any screen of the Sage X3, we should keep in mind that the data entered in the field should be saved in the backend, if data is not getting saved in the backend then generally we handle this situation by adding lines of code into the script, but\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2021\/05\/28\/how-to-save-data-in-custom-fields-using-classes-concept-in-sage-x3\/\">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":[2616,3188,3317],"class_list":["post-22566","post","type-post","status-publish","format-standard","hentry","category-integration","category-sage-erp-x3","tag-database","tag-field-addition","tag-order-pre-receipt"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/22566","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=22566"}],"version-history":[{"count":8,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/22566\/revisions"}],"predecessor-version":[{"id":22574,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/22566\/revisions\/22574"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=22566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=22566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=22566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}