Sage X3 is enterprise resource planning (ERP) product which help organization to manage all the operation of organization and database into a single software solution. Sage X3 contains list of modules like sales, purchase, inventory, project, financial and many more.
At times, users encounter an issue where they input comments in the comment section exceeding 250 characters, but the full value does not get printed in the report because Crystal Reports only accepts 250 characters for the RTF text
We have taken a sales invoice screen as an example, where a user entered comments, as shown in the picture below
New Stuff: Fixing Date Defaults: Date field default year 1930 Instead of 2030

The output is as shown in the below picture :

To overcome this issue, we have found a solution that allows the full data present on the screen to be printed in the reports as well
To print the full comment data in the report, there is no built-in function in Crystal Reports to fulfill this requirement. Therefore, we created a new query-based sub-report where we used the SUBSTRING and REPLACE functions, as shown in the picture below. The CLOB_0 field in the ACLOB table contains the comment data in RTF text format. We replaced the spaces (“ ”) with tildes (“~”) and used the SUBSTRING function to trim the string into 250-character segments.

Additionally, in Crystal Reports, we created a formula and placed it in the report to replace the tildes (“~”) with spaces (“ ”) and sum all the command fields used in the SQL query, as shown in the picture below:

After completing all the steps, we get an output where the comments are the same as those entered in the Sales Invoice screen’s comments field as shown in the below picture :

By following the above steps, we can print comments data longer than 250 characters on Crystal Reports at once in Sage X3.
About Us
Greytrix – 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.
Greytrix has some unique integration solutions developed for Sage CRM with Sage ERPs namely Sage X3, Sage Intacct, Sage 100, Sage 500, and Sage 300. We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users, and Sage PSG worldwide. Greytrix helps in the migration of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes addons like Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature, Sage CRM CTI Framework.
Greytrix is a recognized Sage Champion Partner for GUMU™ Sage X3 – Sage CRM integration listed on Sage Marketplace and Sage CRM – Sage Intacct integration listed on Sage Intacct Marketplace. The GUMU™ Cloud framework 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.
For more information on our integration solutions, please contact us at sage@greytrix.com. We will be glad to assist you.