pohEntity.OrderDate = pohViewModel.OrderDate.Value.Date; whole dates in PO