{"id":24305,"date":"2021-12-30T10:25:32","date_gmt":"2021-12-30T10:25:32","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=24305"},"modified":"2021-12-30T10:28:39","modified_gmt":"2021-12-30T10:28:39","slug":"special-fields-in-crystal-report-prints-in-different-language","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2021\/12\/30\/special-fields-in-crystal-report-prints-in-different-language\/","title":{"rendered":"Special Fields in Crystal Report prints in different language"},"content":{"rendered":"\n<p>In the <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>, you have various standard reports for almost every screen which are developed in Crystal Report. Also you can develop your own crystal report as per client need. After printing report, the content in the report gets printed depending on the language setup done in the Sage X3 for the login user. But you might have notice that irrespective of the language setup done in Sage X3 application, there are Crystal \u2018Special fields\u2018 which behaves differently.<\/p>\n\n\n\n<p>In simple words, Crystal Report prints all the formulas and database fields as per the language setting done in Sage X3 folder for logged in user but Crystal reports \u201cSpecial fields\u201c like \u2018Page Number\u2018, \u2018Print date\u2018 etc. Prints as per the Windows server region setup\/language setup done on the server.<\/p>\n\n\n\n<p>Recently we came across a situation where we wanted to develop Crystal report for one of the client which is based in India and server is hosted in Spain . So the Sage X3 language setup done in English language for India Users but windows application server is login with Spanish Language. In Crystal report, we want to use Special field &#8220;Page N of M&#8221; so that it will print page number at the page footer section. But whenever we prints the report, reports gets print in English language except for that special field \u2018Page N of M\u2018 which gets print in Spanish as &#8220;P\u00e1gina 1 de 1&#8221; instead of &#8220;Page 1 of 1&#8221; in the English.<\/p>\n\n\n\n<p><strong>New Stuff: <\/strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2021\/12\/30\/enable-comment-section-for-specific-transaction-type-in-sales-invoice-screen\/\" data-type=\"URL\" data-id=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2021\/12\/30\/enable-comment-section-for-specific-transaction-type-in-sales-invoice-screen\/\" target=\"_blank\">Enable Comment section for specific transaction type in sales invoice screen<\/a><\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2021\/12\/other-lang.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\/2021\/12\/other-lang.png\" alt=\"\" page=\"\" n=\"\" of=\"\" m\"=\"\" in=\"\" the=\"\" spanish=\"\" language\"=\"\"><\/a><\/center>\n<font size=\"2\"><center>&#8220;Page N of M&#8221; in the Spanish language<\/center><\/font>\n\n\n\n<p>So we search on various forums and found that SAP Crystal standard dll behaves in that fassion only and we do not have control over it. So to overcome that situation, we build the formula that will print page number in English language.<\/p>\n\n\n\n<p>Please see the below steps:<\/p>\n\n\n\n<p><strong>Step 1:<\/strong> Create a formula in the crystal report as &#8220;page_no&#8221;<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2021\/12\/formula-name.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\/2021\/12\/formula-name.png\" alt=\"Formula name\"><\/a><\/center>\n<font size=\"2\"><center>Formula name<\/center><\/font>\n\n\n\n<p><strong>Step 2:<\/strong> After creating formula add below lines of code in that formula.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2021\/12\/formula.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\/2021\/12\/formula.png\" alt=\"Formula\"><\/a><\/center>\n<font size=\"2\"><center>Formula<\/center><\/font>\n\n\n\n<p><strong>Step 3:<\/strong> After creating the formula, place the formula in footer section of the report.<\/p>\n\n\n\n<p><strong>Step 4:<\/strong> Save the report and then print .<\/p>\n\n\n\n<p>Please refer below screen shot. <\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2021\/12\/output.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\/2021\/12\/output.png\" alt=\"\" page=\"\" n=\"\" of=\"\" the=\"\" m\"=\"\" in=\"\" english=\"\" language\"=\"\"><\/a><\/center>\n<font size=\"2\"><center>&#8220;Page N of the M&#8221; in the English language<\/center><\/font>\n\n\n\n<p>You have noticed the report gets printed in English language even if the windows server setup is done in Spanish language as it takes the Sage X3 language setup done on that folder for the India User. <\/p>\n\n\n\n<p>In this way, you can display &#8220;Page N of M&#8221; in the English or any other required language irrespective of the client&#8217;s server regional language.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-color has-link-color wp-elements-c5e1638fe0db781fd132d689b469078c\" style=\"color:#c71d22\"><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 the Sage X3, you have various standard reports for almost every screen which are developed in Crystal Report. Also you can develop your own crystal report as per client need. After printing report, the content in the report gets printed depending on the language setup done in the Sage X3 for the login user.\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2021\/12\/30\/special-fields-in-crystal-report-prints-in-different-language\/\">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":[461,3516,3517,3514,3515,3518],"class_list":["post-24305","post","type-post","status-publish","format-standard","hentry","category-integration","category-sage-erp-x3","tag-crystal-report","tag-different-language","tag-formula","tag-page-n-of-m","tag-page-no","tag-special-fields"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/24305","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=24305"}],"version-history":[{"count":19,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/24305\/revisions"}],"predecessor-version":[{"id":24343,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/24305\/revisions\/24343"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=24305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=24305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=24305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}