How to store more than 250 char in sage X3 table

By | January 31, 2024

In the Sage X3 application, one of our clients is facing difficulties in storing strings of 250+ characters in Sage X3 tables. The standard for alphanumeric datatype in Sage X3 tables support only a length of 250 characters, and our client wanted to store strings exceeding this limit.

To solve this problem, we discovered and tried the AC0 datatype.

The ‘AC0’ datatype is used to store alphanumeric information exceeding 250 characters, and in the database, it is stored as a CLOB datatype.

CLOB (Character Large Objects) fields contain rich text or plain text data and are stored directly in the database.

How to add an AC0 field in a Sage X3 table:

Step1: Create a new table.

Step2: Add a new column (for example, I have added a new ‘ZTEST’ column).


Step 3: After adding the column, select the data type ‘AC0,’ specify the length, and fill in all other details.

New Stuff: Error: “@X3.TRTGCONSULT$adx (1557) Error 24 Sequential File Management Error ST” in Sage X3

Table Columns
Table Columns

How can we display AC0 field data in a Sage X3 screen?

Go to the screen and add the ‘AC0’ field with a graphical object, such as multi-line text.

Screen Fields 1
Screen Fields 1
Screen Fields 2
Screen Fields 2

So by using AC0 datatype and following these simple steps, we can increase the length of Sage X3 tables more than 250 characters.

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 X3Sage IntacctSage 100Sage 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.