Discount warning message on Sales Order based on the “Allowed Discount” field

By | October 29, 2021

As seen in our previous blog, we discussed about warning message validation on credit note as per the financial year. Today we are going to discuss another customization on the Sales Order screen which is very useful to users in their business process for customer transactions.

One of our client has requested to have some warning alerts for users when discount defined at customer master does not matched with the discount given during sales order creation. So to achieve this, we have added new customized field name as “Allowed Discount” on customer master. Please refer below screen shot:

New Stuff: Duplicate PAN Number Validation on Customer Master in Sage X3

[Allowed Discount field in Customer Master]
[Allowed Discount field in Customer Master]

Let say suppose, user has added ‘Allowed discount’ amount 10 in the customer master. In this case, user can enter discount value either 0 or 10 during Sales order creation. If user enter discount other than that then warning message will get pop-up. Lets see by doing the sales order transaction.

In above screenshot, user has added allowed discount as 10 for customer C01010001. Now when user tries to create sales order and enter discount amount as 8, customization checks the discount value defined at customer master which is 10 and does not match with it so warning message get pop up “User has provided discount, hence the order requires approval. Kindly review and approve the same to proceed.”

[Discount field in Sales Order]
[Discount field in Sales Order]
[Warning message]
[Warning message]

So even if Sales order with multiple products will work in similar fashion. Suppose sales order has 5 different products and user has given same discount at each line, then order will get created without any warning but if any one of the line has different discount value then warning message will appear as shown in the above screen shot. But please note that, it will not restrict users to create sales order as warning message is just for user information.

By using this customization, users can identify whether discount given at sales order is correct or not.

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, 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 Sales Commission App for Sage X3 simplifies commission calculations and postings on sales transactions.

The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.

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, We would like to hear from you.