Where possible getStockHistory now returns the following related properties: stockId, packingSlipId, invoiceId, receiptId or correctionNumber.
getStockHistory
stockId
packingSlipId
invoiceId
receiptId
correctionNumber