How to assigns a default format to each type of field

By | March 26, 2018

In this blog, we will look how to assign a default format to each type of field and allows you to modify them. Adxfmt is an Adonix system variable of the table of 8 Char of 255 characters, which provides a default format according to the type of field of the file managed.

Syntax:  [S]adxfmt(255)(8)Char

Example: #Replace it with floating digits

[S]adxfmt(5) = “15F”

Below are the various indexes of asxfmt and the default value to initialize.

Index Field Type Value
0 Description ##
1 Short Integer 5#
2 Long Integer 10#
3 Decimal 9.2
4 Floating 5.2
5 Dual Precision 9.2
6 Alphanumeric X
7 Date DD2

Note:

adxfm is usually set by one of the processes called  “APL” that is launched when you start up the application. Otherwise, the default values will be saved.

About Us

Greytrix is a one stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix has some unique solutions of Sage X3 integration with Sage CRMSalesforce.com and Magento eCommerce along with Sage X3 migration from Sage 50 US, Sage Pro and QuickBooks.  We also offer best-in-class Sage X3 customization and development services to Sage business partners, end users and Sage PSG worldwide.

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