Bulk Load of Price Lists
There is a server side setting which can impact the speed at which price lists get processed:
<backgroundWorkers> Â Â <bulkloadPricelists>true</bulkloadPricelists> </backgroundWorkers>
This setting can help in case of large price lists for which the processing logic is extremely fast. It impacts the way the calculated data is written back to the database. By default this setting is set to false.
Note: When using this setting, be careful if you also use api.abortCalculation()
in your logic. This can cause inconsistencies in the resulting Price List stored in the DB.
Internally, if bulkloadPricelists is set to true, a CSV will be created. The 1st result of the Price List determines the fields/columns of that CSV that are then also used for all subsequent results. If the first item of the Price List is aborted without visiting all the elements, then the CSV will not be complete and only a partial PL will be stored and sent to the DB.
Found an issue in documentation? Write to us.
Â