General Description of the Feature
When an admin user rebuilds Lucene using the UpdateStockWhenChangesExists, a new field called "UpdatesOnly" is added to the request payload. This field can be set to true or false, and its value is controlled by a setup key.
If the setup key is true, the rebuild process only updates Lucene, and the "UpdatesOnly" field in the payload will be set to "True".
If the setup key is false, the rebuild process completely rebuilds the entire list, and the "UpdatesOnly" field in the payload doesn't displayed.
If user rebuild using "/Catalogue/RebuildStock?param=true," it means the entire catalog will be rebuilt. This will happen without checking the setup key and without filling the "UpdatesOnly" property.
Business Benefit
With this feature, the admin user can use the setup key to decide if the rebuild will include only updates or the entire list.
Configuration
Setup Keys
UpdateStockWhenChangesExists: Values true of false
When this key is true, the stock locator call to ODIL, will return results only if any update in stock exists
Additional Information
This feature has implemented in 2025.0.0 version and patched in 3.0.0-AWT
0 Comments