Settling DP storages take forever to finish because of Cost Adjustments

Issue No: IC-6854
Created 2/21/2019 5:14:55 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Issue: When settling DP storages, uspAPPostBillData calls the cost adjustment scripts from IC and upon checking, it takes forever to complete the looping in getting all the transactions related to the item.   The loop just goes back and forth on these scripts *uspICPostCostDAdjustmentEscalate* and *uspICPostCostAdjustmentRetroactiveAvg*