generate stocktaking added