When generating the tasks for the lines of a purchase order, where the selected warehouse has a front-end configuration defined with its Default Confirmed Quantity field unchecked, the tasks generated in the front-end appear with the confirmed quantity equal to the expected quantity, when they should be shown with zero value. (Confirmed-Qty-Incorrect.png)
If the tasks are generated with the front-end configuration at the routing level, the confirmed quantity is displayed correctly.
(Confirmed-Qty-Correct.png)

Steps To Reproduce

1) Create a Purchase Order (Make sure to select a warehouse with Front-End configuration where the Default Confirmed Quantity field is unchecked
(Front-End-Configuration.png)
2) Create Order Lines with Operative Quantity different from zero.
3) Process the Order
4) Generate reception tasks
4) Go to front-end and check the value of the confirmed quantity, it appears equal to the expected quantity

Fixed issue 39475: Load configurations which are not being used at IR level

Because of a bug, configurations which are not defined at IR level are not being loaded. It can result in a configuration selected by default for the warehouse which is not used in any IR so it is not loaded in the FE side. It causes that configuration is not applied.

- Add a new query to load those configurations not referenced by any IR
- Adapat query properties file. now 2 queries are executed
- Add indexes to improve the query performance
- Add some comments in the client side code to better understanding

Fixed issue 39475: Load configurations which are not being used at IR level

Because of a bug, configurations which are not defined at IR level are not being loaded. It can result in a configuration selected by default for the warehouse which is not used in any IR so it is not loaded in the FE side. It causes that configuration is not applied.

- Add a new query to load those configurations not referenced by any IR
- Adapat query properties file. now 2 queries are executed
- Add indexes to improve the query performance
- Add some comments in the client side code to better understanding