SELECT 
	  [Id]
      ,[ReleaseNumber]
      ,[CustomerReleaseNumber]
      ,[ReleaseState]
      ,[LineItemId]
      ,[BlanketOrderId]
      ,[DeliveryState]
      ,[ReleaseConfirmationState]
      ,[PlanningState]
      ,[OrderDate]
      ,cast([DeliveryDate] as datetime2) as DeliveryDate
      ,[LoadingDate]
      ,[Quantity]
      ,[DeliveredQuantity]
      ,[DeliveredQuantityTradeUnits]
      ,[DeliveredQuantityLoadingUnits]
      ,[PackagingId]
      ,[PackagingHumanReadableId]
      ,[PackagingDescription]
      ,[MainMaterialId]
      ,[MainMaterialHumanReadableId]
      ,[MainMaterialDescription]
      ,[AdditionalInformation1] -- we will use this to reference as the first check
      ,[AdditionalInformation2]
      ,[D365SupplierLot]
      ,[TradeUnits]
      ,[LoadingUnits]
      ,[Trucks]
      ,[LoadingToleranceType]
      ,[UnderdeliveryDeviation]
      ,[OverdeliveryDeviation]
      ,[ArticleAccountRequirements_ArticleExact]
      ,[ArticleAccountRequirements_CustomerExact]
      ,[ArticleAccountRequirements_PackagingExact]
      ,[ArticleAccountRequirements_MainMaterialExact]
      ,[PriceLogicType]
      ,[AllowProductionLotMixing]
      ,[EnforceStrictPicking]
      ,[SalesPrice]
      ,[Currency]
      ,[QuantityUnit]
      ,[SalesPriceRemark]
      ,[DeliveryConditionId]
      ,[DeliveryConditionHumanReadableId]
      ,[DeliveryConditionDescription]
      ,[PaymentTermsId]
      ,[PaymentTermsHumanReadableId]
      ,[PaymentTermsDescription]
      ,[Remark] 
      ,[DeliveryAddressId]
      ,[DeliveryAddressHumanReadableId] --use this to validate with the new drop or live check
      ,[DeliveryAddressDescription]
      ,[DeliveryStreetName]
      ,[DeliveryAddressZip]
      ,[DeliveryCity]
      ,[DeliveryCountry]
      ,[ReleaseDiscount]
      ,[CustomerArtNo]
      ,[LineItemHumanReadableId]
      ,[LineItemArticle]
      ,[LineItemArticleWeight]
      ,[LineItemQuantityType]
      ,[TotalPrice]
      ,[Add_User]
      ,[Add_Date]
      ,[Upd_User]
      ,cast([Upd_Date] as dateTime) as Upd_Date
      ,[VatRate]
      ,[ArticleAlias]
  FROM [test1_AlplaPROD2.0_Reporting].[reporting_order].[Release] (nolock)
  where format([Upd_Date], 'yyyy-MM-dd HH:mm:ss') > [dateCheck]