Source BatchId:
select s.stockingId, s.cdr_recordId, s.skuId, s.stockingStatus, s.lastUpdated, s.lastUpdatedBy, s.sourceId, s.sourceType, s.volumetime, s.volumeqty, s.createDate, s.lastUpdateSource from tbl_CDR_Stocking s with (nolock) where ownerType = and ownerId = and lastUpdateSource = 'New Stocking Update Batch#_sourceBatchId#'