update #temp_Or_GetPendingOrdersList set ApprovedOn = dbo._UD_GetDate(dbo._UD_ConvertToCompanyTime(@HHA,#temp_Or_GetPendingOrdersList.ApprovedDate,#tem