New data type – UUID in Sage ERP X3 Version 7

By | December 31, 2014

SAFE X3 engine has introduced a new data type called UUID. UUID is an acronym for Universally Unique IDentifier. The aim of UUIDs is to allow unique identifiers to be assigned without conflict in distributed systems.A UUID is stored in 128 bits (16 bytes). A canonical printable form represents them as 32 hexadecimal digits, displayed in five groups separated by hyphens. The format is 8-4-4-4-12 which makes 36 characters including 32 digits and 4 hyphens.There are approximately 3*10^38 possible UUIDs. All the operating systems provide a function to generate UUIDs. The algorithm usually combines the current time, a unique number assigned to the computer and a random number. The generation algorithm makes it unique in the whole digital universe, (or at least unique with a probability less than 10 power minus 88).

New Stuff: Link tables in Sage ERP X3 through coding.

The SAFE X3 engine includes a set of instructions and functions to support UUIDs:

Uuident to declare a UUID variable.

Nulluuid to manage a null (not assigned) UUID.

Touuid to transform a canonical form to a UUID.

Getuuid to generate a UUID.

By default, a UUID column is now present on every Sage ERP X3 table.

When grids are managed by Sage ERP X3, client lines are identified by UUIDs. This makes it very easy to identify array lines in insertion, deletion and sort operations.

Thus it identifies a unique piece of data and is used by Sage ERP X3 engine, classes and the Web client for all the exchanges with the engine in order to make a clear distinction between new and modified information.

In the Sage ERP X3 tables managed by the Web technology, the name of the column storing the UUID is AUUID.

Kindly refer below snippet of code to generate UUID.



About Us
Greytrix – a globally recognized Premier Sage Gold Development Partner is a one-stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development and implementation expertise.

Greytrix caters to a wide range of Sage Enterprise Management (Sage X3) offerings – a Sage Business Cloud Solution. Our unique GUMU™ integrations include Sage Enterprise Management (Sage X3) for Sage and Magento eCommerce along with Implementation and Technical Support worldwide for Sage Enterprise Management (Sage X3). Currently we are Sage Enterprise Management Implementation Partner in East Africa, Middles East, Australia, Asia. We also offer best-in-class Sage X3 customization and development services, integrated applications such as POS | WMS | Payment Gateway | Shipping System | Business Intelligence | eCommerce and have developed add-ons such as Catch – Weight  and Letter of Credit for Sage Enterprise Management to Sage business partners, end users and Sage PSG worldwide.

Greytrix is a recognized Sage Rockstar ISV Partner for GUMU™ Sage Enterprise Management – Sage CRM integration also listed on Sage Marketplace; GUMU™ integration for Sage Enterprise Management – Salesforce is a 5-star app listed on Salesforce AppExchange.

For more information on Sage X3 Integration and Services, please contact us at We will be glad to assist you.