{"id":19686,"date":"2020-01-29T12:44:43","date_gmt":"2020-01-29T12:44:43","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagex3\/?p=19686"},"modified":"2020-01-29T12:46:33","modified_gmt":"2020-01-29T12:46:33","slug":"how-to-solve-the-error-calculation-capacity-exceeded","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2020\/01\/29\/how-to-solve-the-error-calculation-capacity-exceeded\/","title":{"rendered":"How to solve the error \u201cCalculation capacity exceeded\u201d"},"content":{"rendered":"\n<p><p style=\"text-align: justify\">In Sage X3, most of the times, we need to perform some\noperations on fields like amount, tax etc. or any other cusomized numeric\nfield.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify\">As we know, there are number of data types avaliable for decimals in X3 with different length and varying number of digits after decimals. For example, data type DCB supports length 9.2 allowing 2 digits after decimal while data type MD5 supports length 11.4 allowing 4 digits after decimal.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify\">Generally, we choose the data type based on the values\nbeing used to perform numeric operations and their result. But sometimes, it\nmay happen that resulting value extends the maximum value that standard\nsupports for a particular data type.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify\">Let us consider below example where multiplication is performed on two variables of data type DCB and the resulting value will be stored in table field YAMT having data type as DCB.<\/p><\/p>\n\n\n\n<p style=\"text-align:center\"> <a rel=\"noopener noreferrer\" href=\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2019\/10\/3-1.jpg\" target=\"_blank\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2020\/01\/Multiplication.png\" alt=\"Multiplication\"><\/a><\/p>\n\n\n\n<p><p style=\"text-align: justify\">Here, the multiplication of X and Y is 2099020,10,495.1 and the program execution will cause below error. <\/p><\/p>\n\n\n\n<p style=\"text-align:center\"> <a rel=\"noopener noreferrer\" href=\"https:\/\/www.greytrix.com\/blogs\/sageaccpacerp\/wp-content\/uploads\/2019\/10\/3-1.jpg\" target=\"_blank\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2020\/01\/Error.png\" alt=\"Error\"><\/a><\/p>\n\n\n\n<p><p style=\"text-align: justify\">Since, YAMT field is of DCB type supporting length 9.2, the capacity got exceeded for value 2099020,10,495.1. In such scenarios we need to change the data type which supports greater length i.e. 13.2 or we can change the length values for existing data type to 13.2 to accommodate the operation result.<\/p><\/p>\n\n\n\n<p><p style=\"text-align: justify\">Thus, we can overcome \u201ccalculation capacity exceeded\u201d error by simply increasing the length of data type.<\/p><\/p>\n\n\n\n<h2 class=\"wp-block-heading has-text-color has-link-color wp-elements-c5e1638fe0db781fd132d689b469078c\" style=\"color:#c71d22\"><strong>About Us<\/strong><\/h2>\n\n\n\n<p>Greytrix \u2013 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.<\/p>\n\n\n\n<p id=\"block-28013e99-0882-44c6-b705-7b16c85053b2\">Greytrix&nbsp;has some unique integration solutions developed for&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-crm\/\">Sage CRM<\/a>&nbsp;with Sage ERPs&nbsp;namely&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/\">Sage X3<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-intacct\/\">Sage Intacct<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-100-erp\/\">Sage 100<\/a>,&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-500-erp\/\">Sage 500<\/a>,&nbsp;and&nbsp;<a href=\"https:\/\/www.greytrix.com\/sage-300-erp\/\">Sage 300<\/a>. We also offer best-in-class&nbsp;Sage ERP&nbsp;and&nbsp;Sage CRM&nbsp;customization and development services&nbsp;to&nbsp;Business&nbsp;Partners,&nbsp;End&nbsp;Users, and Sage PSG worldwide. Greytrix&nbsp;helps in&nbsp;the migration of Sage CRM from&nbsp;Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes&nbsp;addons like&nbsp;&nbsp;Greytrix Business Manager,&nbsp;Sage CRM Project Manager,&nbsp;Sage CRM Resource Planner,&nbsp;Sage CRM Contract Manager,&nbsp;Sage CRM Event Manager,&nbsp;Sage CRM Budget Planner,&nbsp;Gmail Integration,&nbsp;Sage CRM Mobile Service Signature,&nbsp;Sage CRM CTI Framework.<\/p>\n\n\n\n<p id=\"block-4bc42a09-fb13-4598-8137-ce5f7b91ce28\">Greytrix is a recognized&nbsp;Sage Champion Partner&nbsp;for GUMU&#x2122; Sage X3 \u2013 Sage CRM integration listed on&nbsp;<a href=\"https:\/\/www.sage.com\/marketplace\/asb_ListingDetail?listingId=a1h24000007PC3aAAG\" target=\"_blank\" rel=\"noreferrer noopener\">Sage Marketplace<\/a>&nbsp;and Sage CRM \u2013 Sage Intacct integration listed on&nbsp;<a href=\"https:\/\/marketplace.intacct.com\/MPListing?lid=a2D0H000007kiHyUAI\" target=\"_blank\" rel=\"noreferrer noopener\">Sage Intacct Marketplace<\/a>. The&nbsp;<a href=\"https:\/\/www.greytrix.com\/gumu\/\" target=\"_blank\" rel=\"noreferrer noopener\">GUMU&#x2122; Cloud framework<\/a>&nbsp;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.<\/p>\n\n\n\n<p id=\"block-76376301-1c3e-4250-8a09-727595a606f0\">For more information on our integration solutions, please contact us at&nbsp;<a href=\"mailto:sage@greytrix.com\">sage@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Sage X3, most of the times, we need to perform some operations on fields like amount, tax etc. or any other cusomized numeric field. As we know, there are number of data types avaliable for decimals in X3 with different length and varying number of digits after decimals. For example, data type DCB supports\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2020\/01\/29\/how-to-solve-the-error-calculation-capacity-exceeded\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,13,8,2796],"tags":[245,2931,732,1822],"class_list":["post-19686","post","type-post","status-publish","format-standard","hentry","category-faq","category-integration","category-sage-erp-x3","category-technical","tag-calculation","tag-calculation-capacity-exceeded","tag-error","tag-sage-x3"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/19686","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/comments?post=19686"}],"version-history":[{"count":2,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/19686\/revisions"}],"predecessor-version":[{"id":19703,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/19686\/revisions\/19703"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=19686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=19686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=19686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}