SG-3759 Purchase Orders | Parts - Error at adding PO line when calculated Requested Qty has more than one decimal |
Description |
|
When adding a PO line for a part, specifying a combination of _Purchase Qty._ and _Qty. Per UOP_ which results in a number with more than one decimal digit, the system generates the error: “_The Purchase Qty. and Requested Qty. specified do not match the Qty. per UOP (conversion factor). Requested Qty. must equal Purchase Qty. * Qty. per UOP._“ *Steps to reproduce:* # On Materials | Parts screen, create a new part with a specific UOM, for example km # On the Suppliers tab, add a supplier record and set UOP to another UOM # On the Stores tab add a store record # On the Purchasing | Purchase Orders screen create a new PO for the Store of step 3 and the supplier of step 2 # On the Parts tab, add the part code created at step 1, and enter a Purchase Qty (that will have by default the same UOP defined on step 2). that can either be with or without decimals. For easiness, let’s use 1. # Specify a Qty. per UOP in a way that the product with Purchase Qty results in a number with two decimal digits. Example, 0,01, then tab off this field. # At this stage Requested Qty. will be calculated and set to 0,01 # enter a Price value if requested # Save the record *Expected result:* The PO line should be created *Actual result:* The PO line is not created, and the user receives error: “The Purchase Qty. and Requested Qty. specified do not match the Qty. per UOP (conversion factor). Requested Qty. must equal Purchase Qty. * Qty. per UOP.“ |