{"id":12246,"date":"2018-03-26T12:07:52","date_gmt":"2018-03-26T12:07:52","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=12246"},"modified":"2018-03-26T12:07:52","modified_gmt":"2018-03-26T12:07:52","slug":"how-to-assigns-a-default-format-to-each-type-of-field","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2018\/03\/26\/how-to-assigns-a-default-format-to-each-type-of-field\/","title":{"rendered":"How to assigns a default format to each type of field"},"content":{"rendered":"<p>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.<\/p>\n<p><strong>Syntax:<\/strong>\u00a0 [S]adxfmt(255)(8)Char<\/p>\n<p><strong>Example:<\/strong> #Replace it with floating digits<\/p>\n[S]adxfmt(5) = &#8220;15F&#8221;<\/p>\n<p style=\"text-align: left;\">Below are the various indexes of <strong>asxfmt<\/strong> and the default value to initialize.<\/p>\n<table style=\"border: 1px solid #CCCCCC;\">\n<tbody>\n<tr>\n<td style=\"border: 1px solid #CCCCCC;\"><strong>Index<\/strong><\/td>\n<td style=\"border: 1px solid #CCCCCC;\"><strong>Field Type<\/strong><\/td>\n<td style=\"border: 1px solid #CCCCCC;\"><strong>Value<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #CCCCCC;\">0<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">Description<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">##<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #CCCCCC;\">1<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">Short Integer<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">5#<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #CCCCCC;\">2<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">Long Integer<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">10#<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #CCCCCC;\">3<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">Decimal<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">9.2<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #CCCCCC;\">4<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">Floating<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">5.2<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #CCCCCC;\">5<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">Dual Precision<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">9.2<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #CCCCCC;\">6<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">Alphanumeric<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">X<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #CCCCCC;\">7<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">Date<\/td>\n<td style=\"border: 1px solid #CCCCCC;\">DD2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Note: <\/strong><\/p>\n<p><strong>adxfm <\/strong>is usually set by one of the processes called\u00a0 \u201cAPL\u201d that is launched when you start up the application. Otherwise, the default values will be saved.<\/p>\n<p><strong>About Us<\/strong><\/p>\n<p>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.<\/p>\n<p><a href=\"http:\/\/www.greytrix.com\/\">Greytrix<\/a>\u00a0has some unique solutions of\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/sage-crm\/gumu-sage-x3-integration\">Sage X3 integration with Sage CRM<\/a>,\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Salesforce.com<\/a>\u00a0and\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/magento-sage-integrations\/sage-x3-magento\">Magento eCommerce<\/a> along with Sage X3 migration from Sage 50 US, Sage Pro and QuickBooks. \u00a0We also offer best-in-class\u00a0<a href=\"http:\/\/www.greytrix.com\/product\/erp-development\/sage-x3\">Sage X3 customization and development services<\/a>\u00a0to Sage business partners, end users and Sage PSG worldwide.<\/p>\n<p>For more information on Sage X3 Integration and Services, please contact us at\u00a0<a href=\"mailto:x3@greytrix.com\">x3@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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:\u00a0 [S]adxfmt(255)(8)Char\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2018\/03\/26\/how-to-assigns-a-default-format-to-each-type-of-field\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,8],"tags":[86,92,153,531,1871,1942],"class_list":["post-12246","post","type-post","status-publish","format-standard","hentry","category-features","category-sage-erp-x3","tag-adonix-system-variable","tag-adxfm","tag-assigns-a-default-format","tag-default-format-to-field","tag-sage-x3-features","tag-sage-x3-technical-assistance"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/12246","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/comments?post=12246"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/12246\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=12246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=12246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=12246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}