10.2.500 -> 2021.2

Version 10.2.500 → 2021.2

This topic covers tips, tricks and known issues for making the jump between the two above sessions.

Tips:

  • If you are using SQL DB replication you need to turn it off / remove articles or the upgrade will fail.

Known Issues:

  • If you are using reflection to invoke BAQDataView refresh in your customizations, epicor changed the casing on the word “invokeExecute”
private void RefreshBAQDataView(BAQDataView iBaqView)
    {
		// Changed the casing on invokeExecute from version 10.2.500 -> 2021.2 
		// MethodInfo mi = iBaqView.GetType().GetMethod("invokeExecute", BindingFlags.Instance | BindingFlags.NonPublic);
        MethodInfo mi = iBaqView.GetType().GetMethod("InvokeExecute", BindingFlags.Instance | BindingFlags.NonPublic);
        mi.Invoke(iBaqView, new object[]{ true });
    }
  • If you are refreshing BAQs via Handlebroadcast the same issue applies the casing was changed.
private void RefreshBAQDataViewWithPrompts(Control iTrackerControl, BAQDataView iBAQDataView)
    {    

		// handleBroadcast casing changed during upgrade 10.2.500 -> 2021.2
		//iBAQDataView.GetType().GetMethod("handleBroadcast", BindingFlags.Instance | BindingFlags.NonPublic).Invoke(iBAQDataView, null);
		iBAQDataView.GetType().GetMethod("HandleBroadcast", BindingFlags.Instance | BindingFlags.NonPublic).Invoke(iBAQDataView, null);
    }
6 Likes