Higher Price Restriction on Purchase Order

By | April 27, 2023

In Purchase Order, the user can enter the price manually in Lines for any product in Sage X3. But sometimes we use price lists to declare the prices of the products for particular suppliers in the Purchase module. Those price list prices will be valid for the mentioned date range.

By using this feature, client wants to have restriction on the Gross Price field of the Purchase Order screen by restricting users to enter the price (at the purchase order line) less than or equal to the price value defined in the price list screen with a combination of particular supplier and product as mentioned in the below screenshot:

New Stuff: Creation of Bar Charts and adding it to Dashboard

[Fig 1. Purchase Price List screen]
[Fig 1. Purchase Price List screen]

You can see in the above screenshot, the price amount 125.00 is defined for the Supplier “SD0001” and for a particular product for a particular date range in the Purchase Price List screen. Now while punching the purchase order for supplier “SD0001” and the product “RMNB011000_001”, price which is defined above gets flow in the Gross Price field automatically. Refer below screenshot.

[Fig 2. Gross Price field in Purchase Order Screen]
[Fig 2. Gross Price field in Purchase Order Screen]

Now here, users have the option to edit the price value which is already flown from the price list screen. So, here we have done the customization and have added a validation when user tries to enter the price amount which should not exceed 125.00.

E.g. Suppose, we have saved price “X” in the price list and if a user is trying to modify the price, then it will work on the basis of the below conditions:

1st Condition: If (Entered Gross Price <= X) then allow user to save or create the record.

2nd Condition: If (Entered Gross Price > X) then restrict user to save or create the record.

For example, price ‘125’ has been flown in the Purchase Order screen as explained above. Now, if user tried to modify ‘125’ by entering a value less than or equal to 125 then it will allow user to save or create the entry.

But if user tries to enter a Gross price greater than ‘125’ then it will restrict users to save or create the entry.

[Fig 3. Gross Price greater than price list value]
[Fig 3. Gross Price greater than price list value]

As shown in the above screenshot, if user is trying to enter ‘126’ in the Gross Price which is greater than ‘125’. Then the system is generating an error pop-up message “Gross Price value is greater than the price list value: 126” restricts users to create or save the entry.

[Fig 4. Pop-up message on Gross Price field]
[Fig 4. Pop-up message on Gross Price field]

Please note that, this restriction will work only if the prices are entered in the ”T20” transaction type of the Price List. It will not work for the other transaction types of the Price List.

In this way, we can restrict the user from entering Higher Price in the Purchase Order for particular Supplier and Product on the basis of Price List values.

About Us

Greytrix – 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.

Greytrix has some unique integration solutions developed for Sage CRM with Sage ERPs namely Sage X3Sage IntacctSage 100Sage 500, and Sage 300. We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users, and Sage PSG worldwide. Greytrix helps in the migration of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes addons like  Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature, Sage CRM CTI Framework.

Greytrix is a recognized Sage Champion Partner for GUMU™ Sage X3 – Sage CRM integration listed on Sage Marketplace and Sage CRM – Sage Intacct integration listed on Sage Intacct Marketplace. The GUMU™ Cloud framework 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.

For more information on our integration solutions, please contact us at sage@greytrix.com. We will be glad to assist you.