For any transaction in Sage X3, user can enter price manually as per his/her requirement. But one of our client requested to add validation on the price field in Miscellaneous Receipt Transaction.
To achieve this requirement, we have added “Tolerance Percentage” field in the Product master as shown in the below screenshot. In which user can define tolerance percentage for calculation of the Price range of that particular product at the time of creating Miscellaneous Receipt Transaction using the same product.
New Stuff: PAN No Field Validation in Sage X3
![[Product Master]](http://www.greytrix.com/blogs/sagex3/wp-content/uploads/2021/01/Product-Master-1024x556.jpg)
We have defined ‘10’ tolerance percentage for Product “030011” in the Product Master.
Now, we will check the costing method and Cost of the Product “030011” in the Product Site.
![[Product Site - Costing Method]](http://www.greytrix.com/blogs/sagex3/wp-content/uploads/2021/01/Product-Site-Method-1024x364.jpg)
As you can see, costing method for Product “030011” is STD i.e. Standard. So we will take Standard cost value in the calculation. If costing method is AVC i.e. Average cost then we have to consider Average cost value in calculation.
![[Product Site - Standard Cost]](http://www.greytrix.com/blogs/sagex3/wp-content/uploads/2021/01/Product-Site-Standard-Cost-1024x345.jpg)
As shown in the above screenshot, standard cost for product “030011” is 98.3509. Now, we will calculate 10%(tolerance percentage already defined in product master) on this standard cost value and 10% of 98.3509 is 9.83509.
Now, we will add 10 % value in the standard cost and subtract 10% value from the standard cost for calculating the price range for that product “030011”.
By adding 10% in the standard cost we will get: 98.3509 + 9.83509 = 108.1859
By subtracting 10% from the standard cost we will get: 98.3509 – 9.83509 = 88.5159
So the price range which will be considered for Product “030011” is from 108.1859 to 88.5159. User can enter any value from this particular range while creating Miscellaneous Receipt Transaction for that particular product.
![[Miscellaneous Receipt Example - 1]](http://www.greytrix.com/blogs/sagex3/wp-content/uploads/2021/01/Miscellaneous-Receipt-1-1024x538.jpg)
We have entered 98.3509 in the price field for product “030011” which is between the calculated range. Therefore it has accepted the price and entry will be created successfully. But if user tries to enter any other value which is not from the given range then it will not allow to create Miscellaneous Receipt Transaction and will give you an error “Price is not as per tolerance percentage” as shown in the below screenshot.
![[Miscellaneous Receipt Example - 2]](http://www.greytrix.com/blogs/sagex3/wp-content/uploads/2021/01/Miscellaneous-Receipt-2-1024x533.jpg)
Hence by defining tolerance percentage in the Product master, user can restrict miscellaneous receipt creation for any product if price entered is not between the calculated range as per the tolerance percentage.
About Us
Greytrix – a globally recognized and one of the oldest Sage Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged 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 competence.
Greytrix caters to a wide range of Sage X3, a Sage Business Cloud Solution, offerings. Our unique GUMU integrations include Sage X3 for Sage CRM, Salesforce.com, Dynamics 365 CRM and Magento eCommerce along with Implementation and Technical Support worldwide for Sage X3. Currently we are Sage X3 Implementation Partner in East Africa, Middle East, Australia, Asia, US, UK. 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 and India Legislation for Sage X3 to Sage business partners, end users and Sage PSG worldwide.
Greytrix is a recognized Sage champion ISV Partner for GUMU Sage X3 – Sage CRM integration also listed on Sage Marketplace; GUMU
integration for Sage X3 – Salesforce is a 5-star rated app listed on Salesforce AppExchange and GUMU
integration for Dynamics 365 CRM – Sage ERP listed on Microsoft AppSource.
For more information on Sage X3 Integration and Services, please contact us at x3@greytrix.com, We will like to hear from you.