Changes to get attributes working for batch items on Dynamic Stocktake.
Date applied: December 23, 2021