PO Quantity Validation on Order Pre-receipt screen

By | June 30, 2021

In Sage X3, Order pre-receipt transaction is made before we received the goods and make the GRN. During Order Pre-Receipt transaction, user select the respective Purchase Order number from the left list and data gets populated in the lines tab with the Order number and their respective details on the screen.

Recently, we got the requirement for adding the validation on the Order pre-receipt screen, that the order pre-receipt quantity should not exceed the PO quantity. Thus we have added the validation if the Order pre-receipt quantity entered is greater than the Purchase Order quantity, and then it should not allow the transaction to proceed further.

New Stuff: How to get total transaction amount of supplier for current fiscal year

[Purchase Order screen]
[Purchase Order screen]

In the above screenshot, we have purchase order with the Supplier code “SCED0196” having quantity 20 in it.

[Order pre-receipt screen]
[Order pre-receipt screen]

In the above screenshot, we have selected the same Purchase order from the left list and pre-received quantity 20 is flown in the detail line. But we have added the validation on Order pre- receipt quantity that it should not be greater than the Purchase order quantity which is 20. So here will try to enter the quantity greater than 20 and check if it gives the validation error.

[Order pre-receipt screen – Validation error message]
[Order pre-receipt screen – Validation error message]

As you can see in the above screenshot, we have entered the pre received quantity as 25. So we are getting the validation error message that “Order Pre-Receipt quantity cannot exceed PO Quantity”. Thus it will not allow to proceed further unless the quantity entered is either less than or equal to the PO quantity.

[Order pre-receipt quantity screen]
[Order pre-receipt quantity screen]

As you can see in the above screenshot, the pre received quantity is now entered as 10 and it has accepted the quantity as it is less than the actual PO quantity (10 < 20).
Hence the validation on Order pre-receipt is done successfully as the Order pre-receipt quantity should not be greater than the PO quantity.