private void BtnGenerateSalesOrder_OnClick(object sender, RoutedEventArgs e) { // _viewModel.SelectedPoToLink = _viewModel.SelectedDetailRow; _viewModel.GenerateSalesOrderFromSample(); }