{"id":30636,"date":"2025-01-31T06:00:46","date_gmt":"2025-01-31T06:00:46","guid":{"rendered":"https:\/\/www.greytrix.com\/blogs\/sagex3\/?p=30636"},"modified":"2025-01-31T06:00:46","modified_gmt":"2025-01-31T06:00:46","slug":"quantity-tolerance-limits-for-enhanced-transaction-accuracy","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagex3\/2025\/01\/31\/quantity-tolerance-limits-for-enhanced-transaction-accuracy\/","title":{"rendered":"Quantity Tolerance Limits for Enhanced Transaction Accuracy"},"content":{"rendered":"\n<p>In <a href=\"https:\/\/www.greytrix.com\/sage-x3-erp\/development-services\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/sage-x3-erp\/development-services\/\" rel=\"noreferrer noopener\">Sage X3<\/a>, transactions for sales and purchases can be created either independently or as part of a structured flow. For sales, the process typically follows the sequence: Sales Quotation \u2192 Sales Order \u2192 Sales Delivery \u2192 Sales Invoice, while for purchases, the sequence is: Purchase Request \u2192 Purchase Order \u2192 Purchase Receipt \u2192 Purchase Invoice. Throughout these transactions, the quantity entered in first transaction seamlessly carries forward to the other transactions across the workflow.<\/p>\n\n\n\n<p>In some cases, users have the flexibility to enter a quantity that is either less than or greater than the quantity specified in the previous transaction. This allows partial deliveries, over-shipments, or other real-world scenarios.<\/p>\n\n\n\n<p>One of our clients has requested a validation for quantities of Purchase Receipt transaction to ensure better control and accuracy in receipt transactions. Specifically, they want the system to allow only a certain percentage of extra or reduced quantity compared to the previous transaction i.e., Purchase Order. This validation will help maintain consistency while accommodating minor variations as per their business requirements.<\/p>\n\n\n\n<p>To achieve this requirement, we have added 3 additional fields in the Purchase Order transaction:<br>1.% or Qty drop-down: To select whether the tolerance will be calculated with % or direct quantity<br>2.Tolerance(+): To enter numbers for tolerance calculation on the basis of % or quantity selection<br>Tolerance(-): To enter numbers for tolerance calculation on the basis of % or quantity selection.<\/p>\n\n\n\n<p><strong>New Stuff:-<\/strong> <a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2025\/01\/30\/how-to-hide-the-button-in-line-level-of-grid-in-sage-x3\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2025\/01\/30\/how-to-hide-the-button-in-line-level-of-grid-in-sage-x3\/\" rel=\"noreferrer noopener\">How to hide the button in line level of grid in sage X3<\/a><\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-1.-Tolerance-additional-fields-on-Purchase-Order-screen.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-1.-Tolerance-additional-fields-on-Purchase-Order-screen.jpg\" alt=\"Fig 1. Tolerance additional fields on Purchase Order screen\"><\/a><\/center>\n<font size=\"2\"><center>Fig 1. Tolerance additional fields on Purchase Order screen<\/center><\/font>\n\n\n\n<p>Now we will check how the calculations will be done.<\/p>\n\n\n\n<p>As shown in the below screenshot Fig 2, we have created Purchase Order &#8211; BLR102501POH0001 and \u201cQty\u201d option have been selected in the drop-down menu. By using this option, tolerance will be calculated in numbers now.<\/p>\n\n\n\n<p>Formula for Maximum Limit in case of \u201cQty\u201d option: Ordered Qty + Tolerance(+)<br>Here, ordered qty is 10 and in Tolerance(+) field, 5 is entered. So, Maximum limit 10 + 5 =15 which means maximum qty 15 is allowed in Purchase Receipt against this Purchase Order.<\/p>\n\n\n\n<p>Formula for Minimum Limit in case of \u201cQty\u201d option: Ordered Qty &#8211; Tolerance(-)<br>Again, ordered qty is 10 and in Tolerance(+) field, 5 is entered. So, Minimum limit is 10-5= 5 which means minimum qty 5 is allowed in Purchase Receipt against this Purchase Order.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-2.-Qty-option-for-tolerance.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-2.-Qty-option-for-tolerance.jpg\" alt=\"Fig 2. Qty option for tolerance\"><\/a><\/center>\n<font size=\"2\"><center>Fig 2. Qty option for tolerance<\/center><\/font>\n\n\n\n<p>If we are trying to enter quantity greater than the maximum limit, then system will throw an error and not allow to create receipt entry against that order.<\/p>\n\n\n\n<p>Refer below screenshot Fig 3, in which we have entered 16 quantity which is greater than the maximum limit. Because of which we are getting error that \u201cThe quantity exceeds the tolerance limit\u201d. And system is not allowing to create receipt entry against Purchase Order &#8211; BLR102501POH0001.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-3.-Error-on-Receipt-if-quantity-exceeds-for-Qty-option.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-3.-Error-on-Receipt-if-quantity-exceeds-for-Qty-option.jpg\" alt=\"Fig 3. Error on Receipt if quantity exceeds for \u201cQty\u201d option\"><\/a><\/center>\n<font size=\"2\"><center>Fig 3. Error on Receipt if quantity exceeds for \u201cQty\u201d option<\/center><\/font>\n\n\n\n<p>If we are trying to enter quantity less than the minimum limit, then system will throw an error but allow to create receipt entry against that order.<\/p>\n\n\n\n<p>Refer below screenshot Fig 4, in which we have entered 4 quantity which is less than the minimum limit. Because of which we are getting error that \u201cThe quantity is less than the tolerance limit\u201d.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-4.-Error-on-Receipt-if-quantity-is-less-than-minimum-limit-for-Qty-option.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-4.-Error-on-Receipt-if-quantity-is-less-than-minimum-limit-for-Qty-option.jpg\" alt=\"Fig 4. Error on Receipt if quantity is less than minimum limit for \u201cQty\u201d option\"><\/a><\/center>\n<font size=\"2\"><center>Fig 4. Error on Receipt if quantity is less than minimum limit for \u201cQty\u201d option<\/center><\/font>\n\n\n\n<p>As shown in the below screenshot Fig 5, we have created second Purchase Order -BLR102501POH0002 and \u201c%\u201d option have been selected in the drop-down menu. By using this option, tolerance will be calculated by considering percentage now.<\/p>\n\n\n\n<p>Formula for Maximum Limit in case of \u201c%\u201d option: Ordered Qty + (Ordered Qty * Tolerance(+)\/100)<br>Here, ordered qty is 120 and in Tolerance(+), 5 is entered. So, Maximum limit is 120+(120 * 5\/100 =6) = 126 which means maximum qty 126 is allowed in Purchase Receipt against this Purchase Order.<\/p>\n\n\n\n<p>Formula for Minimum Limit in case of \u201c%\u201d option: Ordered Qty + (Ordered Qty * Tolerance(-)\/100)<br>Again, ordered qty is 120 and in Tolerance(-) field, 5 is entered. So, Minimum limit is 120-(120 * 5\/100 =114) = 114 which means minimum qty 114 is allowed in Purchase Receipt against this Purchase Order.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-5.-option-for-Tolerance.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-5.-option-for-Tolerance.jpg\" alt=\"Fig 5. \u201c%\u201d option for Tolerance\"><\/a><\/center>\n<font size=\"2\"><center>Fig 5. \u201c%\u201d option for Tolerance<\/center><\/font>\n\n\n\n<p>Refer below screenshot Fig 6, in which we have entered 127 quantity which is greater than the maximum limit. Because of which we are getting error and system is not allowing to create receipt entry against Purchase Order -BLR102501POH0002.<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-6.-Error-on-Receipt-if-quantity-exceeds-for-option.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-6.-Error-on-Receipt-if-quantity-exceeds-for-option.jpg\" alt=\"Fig 6. Error on Receipt if quantity exceeds for \u201c%\u201d option\"><\/a><\/center>\n<font size=\"2\"><center>Fig 6. Error on Receipt if quantity exceeds for \u201c%\u201d option<\/center><\/font>\n\n\n\n<p>Refer below screenshot Fig 7, in which we have entered 113 quantity which is less than the minimum limit. Because of which we are getting error that \u201cThe quantity is less than the tolerance limit\u201d<\/p>\n\n\n\n<center><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-7.-Error-on-Receipt-if-quantity-is-less-than-minimum-limit-for-option.jpg\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" class=\"size-full\" style=\"border: 1px solid #A9A9A9; padding: 2px; margin: 2px; \nalign: center;\" src=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-content\/uploads\/2025\/01\/Fig-7.-Error-on-Receipt-if-quantity-is-less-than-minimum-limit-for-option.jpg\" alt=\"Fig 7. Error on Receipt if quantity is less than minimum limit for \u201c%\u201d option\"><\/a><\/center>\n<font size=\"2\"><center>Fig 7. Error on Receipt if quantity is less than minimum limit for \u201c%\u201d option<\/center><\/font>\n\n\n\n<p>In this way, we have added validation on quantity field of Purchase Receipt by using additional tolerance fields of Purchase Order.<\/p>\n\n\n[about_us_blog_common]\n","protected":false},"excerpt":{"rendered":"<p>In Sage X3, transactions for sales and purchases can be created either independently or as part of a structured flow. For sales, the process typically follows the sequence: Sales Quotation \u2192 Sales Order \u2192 Sales Delivery \u2192 Sales Invoice, while for purchases, the sequence is: Purchase Request \u2192 Purchase Order \u2192 Purchase Receipt \u2192 Purchase\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagex3\/2025\/01\/31\/quantity-tolerance-limits-for-enhanced-transaction-accuracy\/\">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":[13,8],"tags":[3580,1565,1590,3918,1822],"class_list":["post-30636","post","type-post","status-publish","format-standard","hentry","category-integration","category-sage-erp-x3","tag-grn","tag-purchase-order","tag-quantity","tag-raw-material","tag-sage-x3"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/30636","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=30636"}],"version-history":[{"count":11,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/30636\/revisions"}],"predecessor-version":[{"id":30647,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/posts\/30636\/revisions\/30647"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/media?parent=30636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/categories?post=30636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagex3\/wp-json\/wp\/v2\/tags?post=30636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}