select b.bidId, b.bidName, bl.dateCreated, imp.* from tbl_IMPORT_BidSpec imp with (nolock) inner join tbl_BID_BidLines bl with (nolock) on bl.ownerId = imp.ownerId and bl.ownerType = imp.ownerType and bl.bidLineId = imp.bidLineId inner join tbl_BID_Bids b with (nolock) on b.ownerId = bl.ownerId and b.ownerType = bl.ownerType and b.bidId = bl.bidId where imp.eai_batchId = order by b.bidId select bidLineSortNumber, bidLineNumber, bidLineDescription, bidLineQtyAmt, bidLineQtyUM, newSpecification, brandRequirements, nutritionalsRequired, shipDirect, confidentialComment, grade, sampleDeliveryDateTime, sampleRequired, sampleUnits, sampleMarkings, sampleComments from tbl_BID_BidLines with (nolock) where bidLineId =
#bidName# (#bidId#)
#_col#
#qmd_restoreBidLine[ _col ][ qmd_restoreBidLine.currentRow ]# Unavailable. This line was created on #dateFormat( dateCreated, 'mm/dd/yyyy' )#